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

Unified Diff: build/gyp_chromium.py

Issue 1952033002: [Android] Disable build/gyp_chromium hook. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gyp_chromium.py
diff --git a/build/gyp_chromium.py b/build/gyp_chromium.py
index fe06bc1bf562140c603db2f0956ba8c6ac7cbd1f..96d6a7beaf404b94b526c2730f9470bbf52eb3e1 100644
--- a/build/gyp_chromium.py
+++ b/build/gyp_chromium.py
@@ -326,7 +326,8 @@ def main():
running_as_hook = '--running-as-hook'
if (running_as_hook in args and
os.environ.get('GYP_CHROMIUM_NO_ACTION', None) != '0' and
- (sys.platform.startswith('linux') and not gyp_vars_dict)):
+ ((sys.platform.startswith('linux') and not gyp_vars_dict)) or
+ (gyp_vars_dict.get('OS') == 'android')):
print 'GYP is now disabled in this configuration by default in runhooks.\n'
print 'If you really want to run this, either run '
print '`python build/gyp_chromium.py` explicitly by hand'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698