flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-falcon] [refs/heads/dual] - use AUTO for platform defines
Date Sun, 19 Feb 2017 16:27:19 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/dual 2863e767e -> 9ecd95aec


use AUTO for platform defines


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

Branch: refs/heads/dual
Commit: 9ecd95aeccc3969804f09efbd441383e69de7836
Parents: 2863e76
Author: Alex Harui <aharui@apache.org>
Authored: Sun Feb 19 08:26:43 2017 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Sun Feb 19 08:26:43 2017 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/flex/maven/flexjs/CompileAppMojo.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9ecd95ae/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileAppMojo.java
----------------------------------------------------------------------
diff --git a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileAppMojo.java
b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileAppMojo.java
index c7e9dbe..be86832 100644
--- a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileAppMojo.java
+++ b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileAppMojo.java
@@ -177,8 +177,8 @@ public class CompileAppMojo
     @Override
     protected List<Define> getDefines() throws MojoExecutionException {
         List<Define> defines = super.getDefines();
-        defines.add(new Define("COMPILE::JS", "false"));
-        defines.add(new Define("COMPILE::SWF", "true"));
+        defines.add(new Define("COMPILE::JS", "AUTO"));
+        defines.add(new Define("COMPILE::SWF", "AUTO"));
         return defines;
     }
 


Mime
View raw message