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

Unified Diff: build/java.gypi

Issue 18653002: [Android] Add a gyp option to disable generating v14 resources script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: newt's comments Created 7 years, 5 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
Index: build/java.gypi
diff --git a/build/java.gypi b/build/java.gypi
index 3fd642965f1bad79836687bdbc8c7d27363e3b59..e7ade99b771e9a73fee6b0780f2db86fadd2c388 100644
--- a/build/java.gypi
+++ b/build/java.gypi
@@ -185,6 +185,17 @@
{
'action_name': 'generate_api_14_resources_<(_target_name)',
'message': 'Generating Android API 14 resources <(_target_name)',
+ 'variables' : {
+ 'res_v14_verify_only%': 0,
newt (away) 2013/07/09 00:52:49 res_v14_verify_only should probably go at the top
Kibeom Kim (inactive) 2013/07/09 02:10:21 Done.
+ 'res_v14_additional_options': [],
+ },
+ 'conditions': [
+ ['res_v14_verify_only == 1', {
+ 'variables': {
+ 'res_v14_additional_options': ['--verify-only']
+ },
+ }],
+ ],
'inputs': [
'<(DEPTH)/build/android/gyp/util/build_utils.py',
'<(DEPTH)/build/android/gyp/generate_v14_compatible_resources.py',
@@ -198,6 +209,7 @@
'--res-dir=<(res_dir)',
'--res-v14-compatibility-dir=<(res_v14_compatibility_dir)',
'--stamp', '<(res_v14_compatibility_stamp)',
+ '<@(res_v14_additional_options)',
]
},
],

Powered by Google App Engine
This is Rietveld 408576698