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

Unified Diff: tools/build.py

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
Index: tools/build.py
diff --git a/tools/build.py b/tools/build.py
index 91d68640c215ecf3fa58912598fefae131c9f4f7..6831ca2fb27bdb7625b76e147ff7a615736b57d6 100755
--- a/tools/build.py
+++ b/tools/build.py
@@ -48,7 +48,7 @@ def BuildOptions():
result = optparse.OptionParser(usage=usage)
result.add_option("-m", "--mode",
help='Build variants (comma-separated).',
- metavar='[all,debug,release]',
+ metavar='[all,debug,release,product]',
default='debug')
result.add_option("-v", "--verbose",
help='Verbose output.',
@@ -97,7 +97,7 @@ def ProcessOptions(options, args):
options.arch = options.arch.split(',')
options.os = options.os.split(',')
for mode in options.mode:
- if not mode in ['debug', 'release']:
+ if not mode in ['debug', 'release', 'product']:
print "Unknown mode %s" % mode
return False
for arch in options.arch:

Powered by Google App Engine
This is Rietveld 408576698