add conditional compile flags to compile targets

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

Branch: refs/heads/tlf
Commit: 9f21c8956253a35f31b14adc571898cb14262b4c
Parents: 244cd2f
Author: Alex Harui <[email protected]>
Authored: Fri May 5 08:15:27 2017 -0700
Committer: Alex Harui <[email protected]>
Committed: Mon May 8 11:59:00 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9f21c895/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index befe655..350da9b 100644
--- a/build.xml
+++ b/build.xml
@@ -1870,6 +1870,8 @@
         <mxmlc fork="true" debug="true"
             file="${file}">
             <jvmarg line="${mxmlc.jvm.args}"/>
+            <arg value="-define=COMPILE::SWF,true" />
+            <arg value="-define=COMPILE::JS,false" />
         </mxmlc>
     </target>
     

Reply via email to