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

Unified Diff: build/android/process_resources.py

Issue 13334003: Push native libraries separately when gyp manages install (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@apkinstall
Patch Set: Created 7 years, 9 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/gyp/push_libraries.py ('k') | build/android/pylib/build_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/process_resources.py
diff --git a/build/android/process_resources.py b/build/android/process_resources.py
index 541fb56063ed8fd523cfd8e9b6786a79f8140b2c..a39ac1a8393ab13c75b800abd7e42a68426dc741 100755
--- a/build/android/process_resources.py
+++ b/build/android/process_resources.py
@@ -45,9 +45,7 @@ def ParseArgs():
# Check that required options have been provided.
required_options = ('android_sdk', 'android_sdk_tools', 'R_dir', 'res_dirs',
'crunch_input_dir', 'crunch_output_dir')
- for option_name in required_options:
- if not getattr(options, option_name):
- parser.error('--%s is required' % option_name.replace('_', '-'))
+ build_utils.CheckOptions(options, parser, required=required_options)
return options
« no previous file with comments | « build/android/gyp/push_libraries.py ('k') | build/android/pylib/build_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698