flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [07/13] git commit: Added advanced-telemetry as a valid option
Date Fri, 12 Apr 2013 08:29:22 GMT
Added advanced-telemetry as a valid option


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/822b3b2a
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/822b3b2a
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/822b3b2a

Branch: refs/heads/develop
Commit: 822b3b2a16627eb52f65df4088e8242c324475ce
Parents: 88bfdfb
Author: Justin Mclean <jmclean@apache.org>
Authored: Fri Apr 12 18:16:38 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Fri Apr 12 18:16:38 2013 +1000

----------------------------------------------------------------------
 .../src/java/flex2/linker/LinkerConfiguration.java |    1 +
 .../src/java/flex2/linker/SimpleMovie.java         |    7 ++++++-
 2 files changed, 7 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/822b3b2a/modules/compiler/src/java/flex2/linker/LinkerConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/linker/LinkerConfiguration.java b/modules/compiler/src/java/flex2/linker/LinkerConfiguration.java
index 5e37e97..97bbefe 100644
--- a/modules/compiler/src/java/flex2/linker/LinkerConfiguration.java
+++ b/modules/compiler/src/java/flex2/linker/LinkerConfiguration.java
@@ -203,4 +203,5 @@ public interface LinkerConfiguration
 	  */
 	 boolean getIncludeInheritanceDependenciesOnly();
 	 
+	 boolean getAdvancedTelemetry();
 }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/822b3b2a/modules/compiler/src/java/flex2/linker/SimpleMovie.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/linker/SimpleMovie.java b/modules/compiler/src/java/flex2/linker/SimpleMovie.java
index 0beeced..1f34011 100644
--- a/modules/compiler/src/java/flex2/linker/SimpleMovie.java
+++ b/modules/compiler/src/java/flex2/linker/SimpleMovie.java
@@ -121,7 +121,8 @@ public class SimpleMovie extends Movie
         if (version >= 8)
         {
             fileAttributes = new FileAttributes();
-            fileAttributes.actionScript3 = (version >= 9);
+            enableTelemetry = new EnableTelemetry();
+            fileAttributes.actionScript3 = (version >= 9);    
 
             if (configuration.useNetwork())
             {
@@ -129,6 +130,10 @@ public class SimpleMovie extends Movie
 	            fileAttributes.actionScript3 = (version >= 9);
             }
             
+            if (configuration.getAdvancedTelemetry()) {
+            	enableTelemetry.enabled = true;
+            }
+            
             fileAttributes.useDirectBlit = configuration.getUseDirectBlit();
             fileAttributes.useGPU = configuration.getUseGpu();
             


Mime
View raw message