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

Unified Diff: testing/scripts/gn_bootstrap.py

Issue 1149413005: Add GN bootstrap step to continuous integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clang Created 5 years, 7 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 | « testing/buildbot/tryserver.chromium.linux.json ('k') | tools/gn/bootstrap/bootstrap.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/scripts/gn_bootstrap.py
diff --git a/testing/scripts/webview_licenses.py b/testing/scripts/gn_bootstrap.py
similarity index 62%
copy from testing/scripts/webview_licenses.py
copy to testing/scripts/gn_bootstrap.py
index 255c62e993111f82f0d47d2445ed89312ea28c16..86a986702d30b2a867a4321330d1ce30c61e1e5e 100755
--- a/testing/scripts/webview_licenses.py
+++ b/testing/scripts/gn_bootstrap.py
@@ -14,18 +14,22 @@ import common
def main_run(args):
with common.temporary_file() as tempfile_path:
rc = common.run_command([
- os.path.join(common.SRC_DIR, 'android_webview', 'tools',
- 'webview_licenses.py'),
- 'scan',
+ os.path.join(common.SRC_DIR, 'tools', 'gn',
+ 'bootstrap', 'bootstrap.py'),
+ # Do not interfere with "mainline" build directory.
+ '--temp-build-dir',
+ # Bots are still using Ubuntu Precise and gcc 4.6. We need
+ # C++11 support provided by bundled clang.
+ '--use-bundled-clang',
'--json', tempfile_path
])
with open(tempfile_path) as f:
- results = json.load(f)
+ bootstrap_results = json.load(f)
json.dump({
'valid': True,
- 'failures': results,
+ 'failures': bootstrap_results,
}, args.output)
return rc
« no previous file with comments | « testing/buildbot/tryserver.chromium.linux.json ('k') | tools/gn/bootstrap/bootstrap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698