diff --git a/gyp_chromium b/gyp_chromium index d2d94625c..e316adfd6 100755 --- a/gyp_chromium +++ b/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()