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

Issue 847863004: mojob.py: explicitly select CPU architecture. (Closed)

Created:
5 years, 11 months ago by Nick Bray (chromium)
Modified:
5 years, 11 months ago
Reviewers:
viettrungluu
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

mojob.py: explicitly select CPU architecture. NaCl tests will need to know the target architecture, so explicitly select it in mojob.py rather than letting GN select it implicitly. Allow the architecture to be overridden on the command line. BUG=https://code.google.com/p/chromium/issues/detail?id=401761 R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/f93c0fa98da80e0c25f3e835af2a2d20e8e2c7aa

Patch Set 1 #

Patch Set 2 : Edit #

Total comments: 4

Patch Set 3 : Nits #

Total comments: 4

Patch Set 4 : Quotes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -7 lines) Patch
M mojo/tools/mojob.py View 1 2 6 chunks +17 lines, -5 lines 0 comments Download
M mojo/tools/mopy/config.py View 1 2 3 6 chunks +30 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Nick Bray (chromium)
5 years, 11 months ago (2015-01-12 22:22:54 UTC) #2
viettrungluu
Add a target_arch field to mopy/config.py.
5 years, 11 months ago (2015-01-12 22:32:44 UTC) #3
Nick Bray (chromium)
PTAL
5 years, 11 months ago (2015-01-12 23:08:41 UTC) #4
viettrungluu
https://codereview.chromium.org/847863004/diff/20001/mojo/tools/mojob.py File mojo/tools/mojob.py (right): https://codereview.chromium.org/847863004/diff/20001/mojo/tools/mojob.py#newcode119 mojo/tools/mojob.py:119: gn_args.append(r'''cpu_arch=\"%s\"''' % config.target_arch) nit: add blank line below https://codereview.chromium.org/847863004/diff/20001/mojo/tools/mojob.py#newcode220 ...
5 years, 11 months ago (2015-01-12 23:26:41 UTC) #5
Nick Bray (chromium)
PTAL https://codereview.chromium.org/847863004/diff/20001/mojo/tools/mojob.py File mojo/tools/mojob.py (right): https://codereview.chromium.org/847863004/diff/20001/mojo/tools/mojob.py#newcode119 mojo/tools/mojob.py:119: gn_args.append(r'''cpu_arch=\"%s\"''' % config.target_arch) On 2015/01/12 23:26:40, viettrungluu wrote: ...
5 years, 11 months ago (2015-01-13 00:05:20 UTC) #6
viettrungluu
LGTM w/nits https://codereview.chromium.org/847863004/diff/40001/mojo/tools/mopy/config.py File mojo/tools/mopy/config.py (right): https://codereview.chromium.org/847863004/diff/40001/mojo/tools/mopy/config.py#newcode82 mojo/tools/mopy/config.py:82: if machine in ('x86', 'x86-32', 'x86_32', 'x8632', ...
5 years, 11 months ago (2015-01-13 21:04:04 UTC) #7
Nick Bray (chromium)
https://codereview.chromium.org/847863004/diff/40001/mojo/tools/mopy/config.py File mojo/tools/mopy/config.py (right): https://codereview.chromium.org/847863004/diff/40001/mojo/tools/mopy/config.py#newcode82 mojo/tools/mopy/config.py:82: if machine in ('x86', 'x86-32', 'x86_32', 'x8632', 'i386', 'i686', ...
5 years, 11 months ago (2015-01-13 21:39:57 UTC) #8
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 11 months ago (2015-01-13 21:44:51 UTC) #11
Nick Bray (chromium)
5 years, 11 months ago (2015-01-13 22:03:09 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
f93c0fa98da80e0c25f3e835af2a2d20e8e2c7aa (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698