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

Issue 7685042: Switching IRT to be built inside the chrome build. (Closed)

Created:
9 years, 4 months ago by bradn
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Switching NaCl IRT to be built inside the chrome build. Third attempt: Switching IRT to be built inside the chrome build. Dropping the IRT download step from the DEPS. Step3 of a many step plan to switch where ppapi + irt are built. Dropping download_nacl_irt because we no longer rely on a prebuilt copy. Dropping irt download drop source tarball (assume people using it will have to download / build their own nacl toolchain). Old Review URL: http://codereview.chromium.org/7669058 R=noelallen@google.com BUG=http://code.google.com/p/chromium/issues/detail?id=93520 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97943

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 12

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -257 lines) Patch
MM DEPS View 1 2 4 chunks +9 lines, -22 lines 0 comments Download
D build/download_nacl_irt.py View 1 2 3 4 5 1 chunk +0 lines, -205 lines 0 comments Download
A + chrome/build_nacl_irt.py View 1 2 3 4 3 chunks +23 lines, -1 line 0 comments Download
MM chrome/nacl.gypi View 1 2 2 chunks +54 lines, -18 lines 0 comments Download
M tools/export_tarball/export_tarball.py View 1 2 3 4 5 6 1 chunk +0 lines, -11 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bradn
9 years, 4 months ago (2011-08-23 21:24:07 UTC) #1
noelallen_use_chromium
Please also add BUG# http://codereview.chromium.org/7685042/diff/5002/chrome/build_nacl_irt.py File chrome/build_nacl_irt.py (right): http://codereview.chromium.org/7685042/diff/5002/chrome/build_nacl_irt.py#newcode5 chrome/build_nacl_irt.py:5: Clean out plz.
9 years, 4 months ago (2011-08-23 21:42:05 UTC) #2
noelallen_use_chromium
LGTM after nits.
9 years, 4 months ago (2011-08-23 21:42:15 UTC) #3
Mark Seaborn
http://codereview.chromium.org/7685042/diff/5002/DEPS File DEPS (right): http://codereview.chromium.org/7685042/diff/5002/DEPS#newcode27 DEPS:27: "nacl_toolchain_revision": "6494", Do I need to update nacl_deps_bump.py to ...
9 years, 4 months ago (2011-08-23 21:42:21 UTC) #4
bradn
9 years, 4 months ago (2011-08-23 21:53:48 UTC) #5
PTAL

http://codereview.chromium.org/7685042/diff/5002/DEPS
File DEPS (right):

http://codereview.chromium.org/7685042/diff/5002/DEPS#newcode27
DEPS:27: "nacl_toolchain_revision": "6494",
On 2011/08/23 21:42:21, Mark Seaborn wrote:
> Do I need to update nacl_deps_bump.py to update this?

Ideally yes, perhaps, though once we move where the ppapi stuff comes from,
presumably we might not always bump the toolchain? dunno.

http://codereview.chromium.org/7685042/diff/5002/chrome/build_nacl_irt.py
File chrome/build_nacl_irt.py (right):

http://codereview.chromium.org/7685042/diff/5002/chrome/build_nacl_irt.py#new...
chrome/build_nacl_irt.py:5: 
On 2011/08/23 21:42:05, noelallen wrote:
> Clean out plz.

Done.

http://codereview.chromium.org/7685042/diff/5002/chrome/build_nacl_irt.py#new...
chrome/build_nacl_irt.py:6: #import sys
On 2011/08/23 21:42:21, Mark Seaborn wrote:
> Don't forget to remove this.

Done.

http://codereview.chromium.org/7685042/diff/5002/chrome/build_nacl_irt.py#new...
chrome/build_nacl_irt.py:134: # a process is not the primary owner of a terminal
on OSX.
On 2011/08/23 21:42:21, Mark Seaborn wrote:
> "not a member of a foreground job on a tty"?
> 
> e.g. On a Mac:
> 
> hydric:test mseaborn$ python -c 'import readline' &
> [1] 67058
> hydric:test mseaborn$ 
> [1]+  Stopped                 python -c 'import readline'
> 
> i.e. the process receives a stop signal when it's a background job.

Done.

http://codereview.chromium.org/7685042/diff/5002/chrome/build_nacl_irt.py#new...
chrome/build_nacl_irt.py:136: devnull = open(os.devnull, 'rb').fileno()
On 2011/08/23 21:42:21, Mark Seaborn wrote:
> open(os.devnull, 'rb').fileno() is wrong: the file object will probably get
GC'd
> and the file will be closed.
> 
> open(os.devnull, 'rb') will work: subprocess accepts file objects.
> 
> No need for the 'b' flag on Unix.

Done.

http://codereview.chromium.org/7685042/diff/5002/chrome/build_nacl_irt.py#new...
chrome/build_nacl_irt.py:139: p = subprocess.Popen(cmd, cwd=NACL_DIR,
stdin=devnull)
On 2011/08/23 21:42:21, Mark Seaborn wrote:
> Use either cwd= or chdir() but not both?

Done.

Powered by Google App Engine
This is Rietveld 408576698