add conditional compile flags to TLFJS build
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1459d80b Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1459d80b Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1459d80b Branch: refs/heads/tlf Commit: 1459d80bb56a08df22c54d3336d4fb728e9915ce Parents: 9f21c89 Author: Alex Harui <[email protected]> Authored: Fri May 5 08:16:25 2017 -0700 Committer: Alex Harui <[email protected]> Committed: Mon May 8 11:59:00 2017 -0700 ---------------------------------------------------------------------- frameworks/js/FlexJS/projects/TLFJS/build.xml | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1459d80b/frameworks/js/FlexJS/projects/TLFJS/build.xml ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/projects/TLFJS/build.xml b/frameworks/js/FlexJS/projects/TLFJS/build.xml index d0603cf..ba0400d 100644 --- a/frameworks/js/FlexJS/projects/TLFJS/build.xml +++ b/frameworks/js/FlexJS/projects/TLFJS/build.xml @@ -72,6 +72,8 @@ <arg value="-load-config+=${basedir}/src/main/config/compile-js-config.xml" /> <arg value="-define=CONFIG::debug,${dbg}" /> <arg value="-define=CONFIG::release,${rel}" /> + <arg value="-define=COMPILE::SWF,false" /> + <arg value="-define=COMPILE::JS,true" /> </java> </target> @@ -88,6 +90,8 @@ <arg value="-compiler.strict-xml=true" /> <define name="CONFIG::debug" value="${dbg}"/> <define name="CONFIG::release" value="${rel}"/> + <arg value="-define=COMPILE::SWF,false" /> + <arg value="-define=COMPILE::JS,true" /> <load-config filename="${FLEX_HOME}/frameworks/js-config.xml" /> <load-config filename="src/main/config/compile-js-config.xml" /> </compc>
