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

Unified Diff: tools/build.py

Issue 2797303005: [infra] Fixes for cross-toolchains (Closed)
Patch Set: Roll boringssl_gen and remove bad assert Created 3 years, 8 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 | « third_party/tcmalloc/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/build.py
diff --git a/tools/build.py b/tools/build.py
index 48062b34597240cec45a3f30a7ad9d1c22d46257..90dfcd7e9f241d970f545b941251bf6c5e2dfe39 100755
--- a/tools/build.py
+++ b/tools/build.py
@@ -107,6 +107,10 @@ def ProcessOptions(options, args):
options.mode = options.mode.split(',')
options.arch = options.arch.split(',')
options.os = options.os.split(',')
+ if not options.gyp and options.toolchain != None:
+ print "The --toolchain flag is only supported by the gyp build."
+ print "When using the GN build, set the toolchain and sysroot using gn.py."
+ return False
for mode in options.mode:
if not mode in ['debug', 'release', 'product']:
print "Unknown mode %s" % mode
« no previous file with comments | « third_party/tcmalloc/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698