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

Unified Diff: gyp_libyuv

Issue 1874653003: Skip running GYP if GYP_CHROMIUM_NO_ACTION is set in environment (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 4 years, 8 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: gyp_libyuv
diff --git a/gyp_libyuv b/gyp_libyuv
index 645d3ad45ca6a684a1583c3ed8dc5a0dec64d8c0..445b924f16b0a814f626eccebb1a2b02e04922ff 100755
--- a/gyp_libyuv
+++ b/gyp_libyuv
@@ -37,6 +37,10 @@ def GetSupplementalFiles():
if __name__ == '__main__':
args = sys.argv[1:]
+ if int(os.environ.get('GYP_CHROMIUM_NO_ACTION', 0)):
+ print 'Skipping gyp_libyuv due to GYP_CHROMIUM_NO_ACTION env var.'
+ sys.exit(0)
+
# This could give false positives since it doesn't actually do real option
# parsing. Oh well.
gyp_file_specified = False
« 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