This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch ReleaseModules
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit bda06f83e892bd6da1da3e2ec17f6bb241834d0d
Author: Alex Harui <[email protected]>
AuthorDate: Tue Jan 11 01:03:06 2022 -0800

    update configs to use new option to prevent renaming of certain object keys
---
 .../ModuleExample/MainApp/src/main/config/compile-app-config.xml  | 8 ++++----
 .../ModuleExample/Module/src/main/config/compile-app-config.xml   | 7 +++----
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git 
a/examples/royale/ModuleExample/MainApp/src/main/config/compile-app-config.xml 
b/examples/royale/ModuleExample/MainApp/src/main/config/compile-app-config.xml
index 814389f..26464b4 100644
--- 
a/examples/royale/ModuleExample/MainApp/src/main/config/compile-app-config.xml
+++ 
b/examples/royale/ModuleExample/MainApp/src/main/config/compile-app-config.xml
@@ -17,8 +17,8 @@
 
 -->
 <royale-config>
-    <js-compiler-option>
-        <option>--variable_map_output_file gccvars.txt</option>
-        <option>--property_map_output_file gccprops.txt</option>
-    </js-compiler-option>
+    <export-public-symbols>true</export-public-symbols>
+    <externs-report>../../../appexterns.js</externs-report>
+    <link-report>../../../applinkreport.xml</link-report>
+    
<prevent-rename-object-keys>cssData,_bindings,ROYALE_CLASS_INFO,superClass_,qName</prevent-rename-object-keys>
 </royale-config>
diff --git 
a/examples/royale/ModuleExample/Module/src/main/config/compile-app-config.xml 
b/examples/royale/ModuleExample/Module/src/main/config/compile-app-config.xml
index f7986ce..3267dec 100644
--- 
a/examples/royale/ModuleExample/Module/src/main/config/compile-app-config.xml
+++ 
b/examples/royale/ModuleExample/Module/src/main/config/compile-app-config.xml
@@ -17,10 +17,9 @@
 
 -->
 <royale-config>
+    <load-externs>../../../../MainApp/applinkreport-js.xml</load-externs>
     <js-compiler-option>
-        <option>--variable_map_input_file 
../../../MainApp/bin/js-release/gccvars.txt</option>
-        <option>--property_map_input_file 
../../../MainApp/bin/js-release/gccprops.txt</option>
-        <option>--variable_map_output_file modgccvars.txt</option>
-        <option>--property_map_output_file modgccprops.txt</option>
+        <option>--externs 
/Users/aharui/git/royale/ant/royale-asjs/examples/royale/ModuleExample/MainApp/appexterns.js</option>
     </js-compiler-option>
+    
<prevent-rename-object-keys>cssData,_bindings,ROYALE_CLASS_INFO,superClass_,qName</prevent-rename-object-keys>
 </royale-config>

Reply via email to