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

Unified Diff: build/android/pylib/test_options_parser.py

Issue 10831381: Change Android build configurations (step 3). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 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 | « build/android/gdb_apk ('k') | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/test_options_parser.py
diff --git a/build/android/pylib/test_options_parser.py b/build/android/pylib/test_options_parser.py
index 43900a787410666b4fd5ae66140d27935794d4bf..b1f65691915a4a35d3219f6d332ffa26436ac3c2 100644
--- a/build/android/pylib/test_options_parser.py
+++ b/build/android/pylib/test_options_parser.py
@@ -12,16 +12,17 @@ _SDK_OUT_DIR = os.path.join(constants.CHROME_DIR, 'out')
def AddBuildTypeOption(option_parser):
- # TODO(wangxianzhu): Change to Debug when we build Debug by default.
- default_build_type = 'Release'
+ default_build_type = 'Debug'
if 'BUILDTYPE' in os.environ:
default_build_type = os.environ['BUILDTYPE']
option_parser.add_option('--debug', action='store_const', const='Debug',
dest='build_type', default=default_build_type,
- help='If set, run test suites under out/Debug.')
+ help='If set, run test suites under out/Debug. '
+ 'Default is env var BUILDTYPE or Debug')
option_parser.add_option('--release', action='store_const', const='Release',
dest='build_type',
- help='If set, run test suites under out/Release.')
+ help='If set, run test suites under out/Release. '
+ 'Default is env var BUILDTYPE or Debug.')
def CreateTestRunnerOptionParser(usage=None, default_timeout=60):
« no previous file with comments | « build/android/gdb_apk ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698