flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [16/24] git commit: [flex-falcon] [refs/heads/JsToAs] - add GCL to build
Date Tue, 22 Sep 2015 17:34:54 GMT
add GCL to build


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

Branch: refs/heads/JsToAs
Commit: 6b33923710cb614a72378ef69824fe46984d6aaf
Parents: bd81f5a
Author: Alex Harui <aharui@apache.org>
Authored: Tue Sep 22 09:02:56 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Sep 22 10:35:16 2015 -0700

----------------------------------------------------------------------
 build.xml | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6b339237/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 61aa7c1..44db986 100644
--- a/build.xml
+++ b/build.xml
@@ -550,8 +550,8 @@
         
     </target>
     
-    <target name="extern.swcs" depends="externc.js.swc, externc.jquery.swc, externc.jasmine.swc"
/>
-    <target name="extern.swcs.clean" depends="externc.js.swc.clean, externc.jquery.swc.clean,
externc.jasmine.swc.clean" />
+    <target name="extern.swcs" depends="externc.js.swc, externc.jquery.swc, externc.jasmine.swc,
externc.GCL.swc" />
+    <target name="extern.swcs.clean" depends="externc.js.swc.clean, externc.jquery.swc.clean,
externc.jasmine.swc.clean, externc.GCL.swc.clean" />
     <target name="extern.swcs.wipe" depends="extern.swcs.clean" >
         <delete failonerror="false" includeEmptyDirs="true" >
             <fileset dir="${basedir}/externs/js">
@@ -569,6 +569,12 @@
                 <include name="**/*.js"/>
             </fileset>
         </delete>
+        <!-- GCL externs are hand modified so are in Git
+        <delete failonerror="false" includeEmptyDirs="true" >
+            <fileset dir="${basedir}/externs/GCL">
+                <include name="**/*.js"/>
+            </fileset>
+        </delete>-->
     </target>
     
     <target name="externc.js.swc.clean" >
@@ -580,6 +586,9 @@
     <target name="externc.jasmine.swc.clean" >
         <delete dir="${basedir}/externs/jasmine/out" failonerror="false" includeEmptyDirs="true"/>
     </target>
+    <target name="externc.GCL.swc.clean" >
+        <delete dir="${basedir}/externs/GCL/out" failonerror="false" includeEmptyDirs="true"/>
+    </target>
     
     <target name="externc.js.swc" >
         <echo>${env.ASJS_HOME}</echo>
@@ -632,6 +641,23 @@
         </java>
     </target>
     
+    <target name="externc.GCL.swc" >
+        <echo>${env.ASJS_HOME}</echo>
+        <java jar="${basedir}/compiler.jx/lib/externc.jar" fork="true"
+            failonerror="false">
+            <arg value="+flexlib=${env.ASJS_HOME}/frameworks" />
+            <arg value="-debug" />
+            <arg value="-load-config=${basedir}/externs/GCL/GCL-compile-config.xml" />
+        </java>
+        <java jar="${basedir}/compiler/generated/dist/sdk/lib/falcon-compc.jar" fork="true"
+            failonerror="true">
+            <arg value="+flexlib=${env.ASJS_HOME}/frameworks" />
+            <arg value="-debug" />
+            <arg value="-load-config=${basedir}/externs/GCL/compile-config.xml" />
+            <arg value="-output=${basedir}/externs/GCL/out/bin/GCL.swc" />
+        </java>
+    </target>
+    
     <target name="binary-package"
         description="Package binary files in zip and tar-gzip file.">
         


Mime
View raw message