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

Unified Diff: mojo/tools/mojob.py

Issue 952893003: Update from https://crrev.com/317530 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix gn for nacl Created 5 years, 10 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 | « mojo/tools/get_test_list.py ('k') | mojo/tools/mopy/config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mojob.py
diff --git a/mojo/tools/mojob.py b/mojo/tools/mojob.py
index 645171abdef18de5bd0cbbc8f38b2cc8d081a558..fb9e1441ea52ef93b67b792814fc9d62b3e2caec 100755
--- a/mojo/tools/mojob.py
+++ b/mojo/tools/mojob.py
@@ -25,7 +25,7 @@ def _args_to_config(args):
elif args.chromeos:
target_os = Config.OS_CHROMEOS
- target_arch = args.target_arch
+ target_cpu = args.target_cpu
additional_args = {}
@@ -64,7 +64,7 @@ def _args_to_config(args):
if 'test_results_server' in args:
additional_args['test_results_server'] = args.test_results_server
- return Config(target_os=target_os, target_arch=target_arch,
+ return Config(target_os=target_os, target_cpu=target_cpu,
is_debug=args.debug, dcheck_always_on=args.dcheck_always_on,
**additional_args)
@@ -191,7 +191,7 @@ def main():
os_group.add_argument('--chromeos', help='Build for ChromeOS',
action='store_true')
- parent_parser.add_argument('--target-arch',
+ parent_parser.add_argument('--target-cpu',
help='CPU architecture to build for.',
choices=['x64', 'x86', 'arm'])
« no previous file with comments | « mojo/tools/get_test_list.py ('k') | mojo/tools/mopy/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698