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

Unified Diff: trychange.py

Issue 155032: Add --target support to trychange.py. (Closed)
Patch Set: Created 11 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trychange.py
diff --git a/trychange.py b/trychange.py
index 7d79690ae6c129e08b8f511aa3ed5b68edf768f2..88bbad4398215b30d489c2803d491bf44e3e646b 100755
--- a/trychange.py
+++ b/trychange.py
@@ -24,7 +24,7 @@ import gcl
import gclient
import upload
-__version__ = '1.1'
+__version__ = '1.1.1'
# Constants
@@ -253,6 +253,8 @@ def _ParseSendChangeOptions(options):
values['issue'] = options.issue
if options.patchset:
values['patchset'] = options.patchset
+ if options.target:
+ values['target'] = options.target
return values
@@ -423,6 +425,10 @@ def TryChange(argv,
group.add_option("-c", "--clobber", action="store_true",
help="Force a clobber before building; e.g. don't do an "
"incremental build")
+ # TODO(maruel): help="Select a specific configuration, usually 'debug' or "
+ # "'release'"
+ group.add_option("--target", help=optparse.SUPPRESS_HELP)
+
# Override the list of tests to run, use multiple times to list many tests
# (or comma separated)
group.add_option("-t", "--tests", action="append",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698