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

Unified Diff: build/android/gyp/proguard.py

Issue 1435193002: Reland of GN: Enable proguard for apks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix diffbase Created 5 years, 1 month 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/gyp/apk_obfuscate.py ('k') | build/android/gyp/util/proguard_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/proguard.py
diff --git a/build/android/gyp/proguard.py b/build/android/gyp/proguard.py
index 5997f6125c50e4ec9ecc43201588ec5449c9057e..24843544d9fdcc340962aeafc9ae9fdaedf64b5a 100755
--- a/build/android/gyp/proguard.py
+++ b/build/android/gyp/proguard.py
@@ -26,6 +26,8 @@ def _ParseOptions(args):
parser.add_option('--is-test', action='store_true',
help='If true, extra proguard options for instrumentation tests will be '
'added.')
+ parser.add_option('--tested-apk-info', help='Path to the proguard .info file '
+ 'for the tested apk')
parser.add_option('--classpath', action='append',
help='Classpath for proguard.')
parser.add_option('--stamp', help='Path to touch on success.')
@@ -52,8 +54,8 @@ def main(args):
if options.mapping:
proguard.mapping(options.mapping)
- if options.is_test:
- proguard.is_test(True)
+ if options.tested_apk_info:
+ proguard.tested_apk_info(options.tested_apk_info)
classpath = list(set(options.classpath))
proguard.libraryjars(classpath)
« no previous file with comments | « build/android/gyp/apk_obfuscate.py ('k') | build/android/gyp/util/proguard_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698