add conditional flags and remove-circulars to js builds
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/abc3c037 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/abc3c037 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/abc3c037 Branch: refs/heads/tlf Commit: abc3c037642a64ae663d67cc36a63d62091521f9 Parents: 6548262 Author: Alex Harui <[email protected]> Authored: Sun May 7 19:01:26 2017 -0700 Committer: Alex Harui <[email protected]> Committed: Mon May 8 11:59:02 2017 -0700 ---------------------------------------------------------------------- build.xml | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/abc3c037/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index 350da9b..3052861 100644 --- a/build.xml +++ b/build.xml @@ -1885,8 +1885,12 @@ <arg value="-debug" /> <arg value="+playerglobal.version=${playerglobal.version}" /> <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" /> + <arg value="-external-library-path=${FLEXJS_HOME}/js/libs/js.swc" /> <arg value="-js-output-type=FLEXJS" /> <arg value="-closure-lib=${GOOG_HOME}" /> + <arg value="-remove-circulars" /> + <arg value="-define=COMPILE::SWF,false" /> + <arg value="-define=COMPILE::JS,true" /> <arg value="${file}" /> </java> </target> @@ -1900,8 +1904,12 @@ <arg value="+flexlib=${FLEXJS_HOME}/frameworks" /> <arg value="+playerglobal.version=${playerglobal.version}" /> <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" /> + <arg value="-external-library-path=${FLEXJS_HOME}/js/libs/js.swc" /> <arg value="-js-output-type=FLEXJS" /> <arg value="-closure-lib=${GOOG_HOME}" /> + <arg value="-remove-circulars" /> + <arg value="-define=COMPILE::SWF,false" /> + <arg value="-define=COMPILE::JS,true" /> <arg value="${file}" /> </java> </target>
