GCL externs swc
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/f9a10027 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/f9a10027 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/f9a10027 Branch: refs/heads/feature/maven-migration-test Commit: f9a100270ea773eb65f6db9412ecbd19dbeb8778 Parents: c4dfaba Author: Alex Harui <aha...@apache.org> Authored: Thu Apr 21 19:27:05 2016 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Fri Apr 22 09:02:58 2016 -0700 ---------------------------------------------------------------------- externs/GCL/build.xml | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/f9a10027/externs/GCL/build.xml ---------------------------------------------------------------------- diff --git a/externs/GCL/build.xml b/externs/GCL/build.xml new file mode 100644 index 0000000..bdf9429 --- /dev/null +++ b/externs/GCL/build.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" ?> + +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> + +<project name="GCL" default="main" basedir="."> + + <target name="main" depends="preprocess, externc, postprocess, compc" /> + + <!-- we need to insert a line near the beginning of the file to make the + compiler happy. --> + <target name="preprocess"> + </target> + + <target name="externc" > + </target> + + <target name="postprocess" > + </target> + + <target name="compc" > + <copy file="${basedir}/src/main/config/compile-as-config.xml" + todir="${basedir}/target" /> + <java jar="${basedir}/../../compiler/lib/falcon-compc.jar" fork="true" + failonerror="true"> + <arg value="+flexlib=externs/frameworks" /> + <arg value="-debug" /> + <arg value="-external-library-path+=${basedir}/../js/target/js.swc" /> + <arg value="-load-config=${basedir}/target/compile-as-config.xml" /> + <arg value="-output=${basedir}/target/GCL.swc" /> + </java> + </target> + + <target name="clean"> + <delete dir="${basedir}/target" failonerror="false" includeEmptyDirs="true"/> + </target> + + <target name="wipe"> + </target> +</project>