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

Unified Diff: testing/android/generate_native_test.py

Issue 10399126: Add APK targets for content_unittests and net_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 7 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 | « net/net.gyp ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/generate_native_test.py
diff --git a/testing/android/generate_native_test.py b/testing/android/generate_native_test.py
index 2062144bcd88f265302cba1907c61fdd34474363..bd7c136b68e5927d1bceda07be8c5312e200d017 100755
--- a/testing/android/generate_native_test.py
+++ b/testing/android/generate_native_test.py
@@ -168,8 +168,8 @@ def main(argv):
help='Be verbose')
parser.add_option('--native_library',
help='Full name of native shared library test bundle')
- parser.add_option('--jar', action='append',
- help='Include this jar; can be specified multiple times')
+ parser.add_option('--jars',
+ help='Space separated list of jars to be included')
parser.add_option('--output',
help='Output directory for generated files.')
parser.add_option('--ant-compile', action='store_true',
@@ -188,8 +188,12 @@ def main(argv):
if options.verbose:
logging.basicConfig(level=logging.DEBUG, format=' %(message)s')
+ # Remove all quotes from the jars string
+ jar_list = []
+ if options.jars:
+ jar_list = options.jars.replace('"', '').split()
ntag = NativeTestApkGenerator(native_library=options.native_library,
- jars=options.jar,
+ jars=jar_list,
output_directory=options.output)
ntag.CreateBundle()
if options.ant_compile:
« no previous file with comments | « net/net.gyp ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698