Index: build/java_apk.gypi |
diff --git a/build/java_apk.gypi b/build/java_apk.gypi |
index 2bc2a14788f586f8c81c05af4d6fcb31ab4ed98a..e8a161b042af06b094d4c7e62eaf429cd4fb1593 100644 |
--- a/build/java_apk.gypi |
+++ b/build/java_apk.gypi |
@@ -58,6 +58,10 @@ |
'native_libs_paths': [], |
'additional_src_dirs': [], |
'generated_src_dirs': [], |
+ 'app_manifest_version_name%': '<(android_app_version_name)', |
+ 'app_manifest_version_code%': '<(android_app_version_code)', |
+ 'proguard_enabled%': 'false', |
+ 'proguard_flags%': '' |
}, |
'actions': [ |
{ |
@@ -101,6 +105,10 @@ |
'-DINPUT_JARS_PATHS=>(input_jars_paths)', |
'-DPACKAGE_NAME=<(package_name)', |
'-DRESOURCE_DIR=<(resource_dir)', |
+ '-DAPP_MANIFEST_VERSION_NAME=<(app_manifest_version_name)', |
+ '-DAPP_MANIFEST_VERSION_CODE=<(app_manifest_version_code)', |
+ '-DPROGUARD_FLAGS=>(proguard_flags)', |
+ '-DPROGUARD_ENABLED=>(proguard_enabled)', |
'-Dbasedir=<(java_in_dir)', |
'-buildfile', |