flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [3/3] git commit: add Flex SWC target
Date Thu, 21 Mar 2013 21:03:05 GMT
add Flex SWC target


Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/d378e2f7
Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/d378e2f7
Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/d378e2f7

Branch: refs/heads/master
Commit: d378e2f76b6c75eade1908999c95b99e12032037
Parents: 8e321f4
Author: Alex Harui <aharui@apache.org>
Authored: Thu Mar 21 09:39:43 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Mar 21 09:39:43 2013 -0700

----------------------------------------------------------------------
 build.xml |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/d378e2f7/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index d529e31..7c1976c 100755
--- a/build.xml
+++ b/build.xml
@@ -17,10 +17,17 @@
 
 <project name="tlf" default="main" basedir=".">
 
+    <property file="${basedir}/env.properties"/>
+    <property environment="env"/>
+	<property file="${basedir}/build.properties"/>
+    <!-- Specify a FLEX_HOME in local.properties or
+         Override on cmd line with -D=FLEX_HOME=path. -->
+	<property file="${basedir}/local.properties"/>
     <!-- Default Flex SDK is the trunk.  Override on cmd line with -D=FLEX_HOME=path.
-->
-	<property name="FLEX_HOME" value="${basedir}/../../sdk/trunk"/>
+	<property name="FLEX_HOME" value="${basedir}/../flex-sdk"/>
 	<echo>FLEX_HOME is ${FLEX_HOME}</echo>
 	
+
 	<property name="flex.sdk.frameworks" value="${FLEX_HOME}/frameworks"/>
 	<property name="flex.locale" value="en_US"/>
 
@@ -85,6 +92,19 @@
 		</compc>
      </target>
 
+	<target name="textLayout_flex" description="Compiles textLayout.swc for Flex SDK">
+   		<compc fork="true"
+			   output="${output.dir}/textLayout.swc">
+			<jvmarg line="${compc.jvm.args}"/>
+            <load-config filename="compile-config.xml" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+            <arg value="+source.dir=textLayout" />
+			<define name="CONFIG::debug" value="${dbg}"/>
+			<define name="CONFIG::release" value="${rel}"/>
+		</compc>
+     </target>
+
 	<target name="documentation" depends="textLayout" description="Updates textLayout.swc
with ASDoc XML">
 		<condition property="asdoc.jvm.args" value="-Xmx384m">
 			<os family="windows"/>


Mime
View raw message