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 |