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

Unified Diff: build/gyp_chromium

Issue 705663002: Add GYP_INCLUDE_FIRST/LAST to chromium.gyp_env (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | build/gyp_helper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gyp_chromium
diff --git a/build/gyp_chromium b/build/gyp_chromium
index 326919c08cbe942e7b57e9a3ac88334841040122..b37e4ac21a1db39f5aca966d5416b38fa8603015 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -178,6 +178,10 @@ def additional_include_files(supplemental_files, args=[]):
if os.path.realpath(path) not in specified_includes:
result.append(path)
+ print "add first", os.environ.get('GYP_INCLUDE_FIRST')
Mark Mentovai 2014/11/04 22:28:23 Remove this line.
+ if os.environ.get('GYP_INCLUDE_FIRST') != None:
+ AddInclude(os.path.join(chrome_src, os.environ.get('GYP_INCLUDE_FIRST')))
+
# Always include common.gypi.
AddInclude(os.path.join(script_dir, 'common.gypi'))
@@ -185,6 +189,9 @@ def additional_include_files(supplemental_files, args=[]):
for supplement in supplemental_files:
AddInclude(supplement)
+ if os.environ.get('GYP_INCLUDE_LAST') != None:
+ AddInclude(os.path.join(chrome_src, os.environ.get('GYP_INCLUDE_LAST')))
+
return result
« no previous file with comments | « no previous file | build/gyp_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698