Skip to content

Commit

Permalink
[Android] Disable build/gyp_chromium hook.
Browse files Browse the repository at this point in the history
BUG=

Review-Url: https://codereview.chromium.org/1952033002
Cr-Commit-Position: refs/heads/master@{#391725}
  • Loading branch information
jbudorick authored and Commit bot committed May 5, 2016
1 parent e5a5bbf commit 4ec4a8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/gyp_chromium.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4ec4a8b

Please sign in to comment.