You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/05/01 03:47:42 UTC

[16/38] git commit: [flex-falcon] [refs/heads/develop] - use AUTO for platform defines

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/develop
Commit: 9ecd95aeccc3969804f09efbd441383e69de7836
Parents: 2863e76
Author: Alex Harui <ah...@apache.org>
Authored: Sun Feb 19 08:26:43 2017 -0800
Committer: Alex Harui <ah...@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;
     }