Index: build/gyp_chromium |
diff --git a/build/gyp_chromium b/build/gyp_chromium |
index d2d94625c931b050e8ca63d79b0eeefbd84f6b8c..e316adfd65107eb5fdf238b660a0e204926f98c2 100755 |
--- a/build/gyp_chromium |
+++ b/build/gyp_chromium |
@@ -303,14 +303,6 @@ if __name__ == '__main__': |
else: |
args.append(os.path.join(script_dir, 'all.gyp')) |
- supplemental_includes = GetSupplementalFiles() |
- |
- if not RunGN(supplemental_includes): |
- sys.exit(1) |
- |
- args.extend( |
- ['-I' + i for i in additional_include_files(supplemental_includes, args)]) |
- |
# There shouldn't be a circular dependency relationship between .gyp files, |
# but in Chromium's .gyp files, on non-Mac platforms, circular relationships |
# currently exist. The check for circular dependencies is currently |
@@ -377,6 +369,12 @@ if __name__ == '__main__': |
if syntax_check and int(syntax_check): |
args.append('--check') |
+ supplemental_includes = GetSupplementalFiles() |
+ if not RunGN(supplemental_includes): |
+ sys.exit(1) |
+ args.extend( |
+ ['-I' + i for i in additional_include_files(supplemental_includes, args)]) |
+ |
print 'Updating projects from gyp files...' |
sys.stdout.flush() |