Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: build/java_apk.gypi

Issue 11100002: Add Proguard option to gyp template. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/ant/chromium-apk.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « build/android/ant/chromium-apk.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698