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

Unified Diff: sky/tools/skypy/configuration.py

Issue 705623003: Fix test_sky in release builds (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/tools/skydb ('k') | sky/tools/skypy/paths.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/skypy/configuration.py
diff --git a/sky/tools/skypy/configuration.py b/sky/tools/skypy/configuration.py
new file mode 100644
index 0000000000000000000000000000000000000000..a361d360e88432bdd58b1d1a5b59e42f5e6bdf8e
--- /dev/null
+++ b/sky/tools/skypy/configuration.py
@@ -0,0 +1,15 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import optparse
+
+
+def add_arguments(parser):
+ parser.add_argument("-t", "--target", dest="configuration",
+ help="Specify the target configuration to use (Debug/Release)", default='Release')
+ parser.add_argument('--debug', action='store_const', const='Debug', dest="configuration",
+ help='Set the configuration to Debug')
+ parser.add_argument('--release', action='store_const', const='Release', dest="configuration",
+ help='Set the configuration to Release')
+
« no previous file with comments | « sky/tools/skydb ('k') | sky/tools/skypy/paths.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698