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

Issue 10871009: Make NaCl IPC-based PPAPI proxy build on ARM. (Closed)

Created:
8 years, 4 months ago by bbudge
Modified:
8 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, apatrick_chromium, brettw-cc_chromium.org
Visibility:
Public.

Description

Make NaCl IPC-based PPAPI proxy build on ARM. This change modifies the build to fix compile and link failures. It introduces a build/common_untrusted.gypi file, to add things that are needed by all untrusted targets that build Chrome code. BUG=116317 TEST=compiles native_client.gyp:nacl_ipc_irt target on ARM. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=153074

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -16 lines) Patch
M base/base_untrusted.gyp View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
A build/common_untrusted.gypi View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/nacl.gypi View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M gpu/command_buffer/command_buffer_untrusted.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gpu/gpu_untrusted.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_untrusted.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/native_client/native_client.gyp View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M ppapi/ppapi_ipc_proxy_untrusted.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/ppapi_shared_untrusted.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
bbudge
This doesn't yet work for all of the untrusted targets. Publishing to avoid duplicate work.
8 years, 4 months ago (2012-08-23 01:58:07 UTC) #1
bbudge
This now is enough to build all of our untrusted targets. PTAL
8 years, 4 months ago (2012-08-23 03:25:16 UTC) #2
brettw
http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi File build/common_untrusted.gypi (right): http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi#newcode20 build/common_untrusted.gypi:20: # Disable C++ 11 extensions. Chrome's OVERRIDE macro will ...
8 years, 4 months ago (2012-08-23 03:55:15 UTC) #3
bbudge
http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi File build/common_untrusted.gypi (right): http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi#newcode20 build/common_untrusted.gypi:20: # Disable C++ 11 extensions. Chrome's OVERRIDE macro will ...
8 years, 4 months ago (2012-08-23 12:29:30 UTC) #4
bbudge
On 2012/08/23 12:29:30, bbudge1 wrote: > http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi > File build/common_untrusted.gypi (right): > > http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi#newcode20 > ...
8 years, 4 months ago (2012-08-23 17:18:31 UTC) #5
dmichael (off chromium)
http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi File build/common_untrusted.gypi (right): http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi#newcode20 build/common_untrusted.gypi:20: # Disable C++ 11 extensions. Chrome's OVERRIDE macro will ...
8 years, 4 months ago (2012-08-23 17:46:32 UTC) #6
dmichael (off chromium)
http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi File build/common_untrusted.gypi (right): http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi#newcode5 build/common_untrusted.gypi:5: # This GYP file should be included in every ...
8 years, 4 months ago (2012-08-23 17:49:45 UTC) #7
DaleCurtis
http://codereview.chromium.org/10871009/diff/4005/base/base_untrusted.gyp File base/base_untrusted.gyp (right): http://codereview.chromium.org/10871009/diff/4005/base/base_untrusted.gyp#newcode36 base/base_untrusted.gyp:36: '__arm__', Since my patch to switch this out for ...
8 years, 4 months ago (2012-08-23 19:16:40 UTC) #8
bbudge
Waiting for cros_tegra2 try run. All comments addressed. http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi File build/common_untrusted.gypi (right): http://codereview.chromium.org/10871009/diff/9001/build/common_untrusted.gypi#newcode5 build/common_untrusted.gypi:5: # ...
8 years, 4 months ago (2012-08-23 20:32:29 UTC) #9
DaleCurtis
lgtm % q. http://codereview.chromium.org/10871009/diff/4005/base/base_untrusted.gyp File base/base_untrusted.gyp (right): http://codereview.chromium.org/10871009/diff/4005/base/base_untrusted.gyp#newcode36 base/base_untrusted.gyp:36: '__arm__', On 2012/08/23 20:32:30, bbudge1 wrote: ...
8 years, 4 months ago (2012-08-23 20:38:58 UTC) #10
dmichael (off chromium)
lgtm
8 years, 4 months ago (2012-08-23 20:40:55 UTC) #11
brettw
LGTM. Glad you found a solution to the override problem. Although the reason I was ...
8 years, 4 months ago (2012-08-23 20:55:07 UTC) #12
bbudge
8 years, 4 months ago (2012-08-23 21:16:37 UTC) #13
http://codereview.chromium.org/10871009/diff/4005/base/base_untrusted.gyp
File base/base_untrusted.gyp (right):

http://codereview.chromium.org/10871009/diff/4005/base/base_untrusted.gyp#new...
base/base_untrusted.gyp:36: '__arm__',
On 2012/08/23 20:38:58, DaleCurtis wrote:
> On 2012/08/23 20:32:30, bbudge1 wrote:
> > On 2012/08/23 19:16:40, DaleCurtis wrote:
> > > Since my patch to switch this out for __ARMEL__ failed for the same reason
> as
> > > without this, I suspect __ARMEL__ isn't defined either.  So you might
> consider
> > > adding __ARMEL__ too for everything in base that depends on
> > build/build_config.h
> > > (lots).
> > > 
> > >
> >
>
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=cros_tegra...
> > 
> > Done. I'm adding it to common_untrusted.gypi so it's defined for every
target.
> 
> It looks like there are #if checks inside the NaCl code base that use __arm__
> too, should this also be in common?
> 
>
https://cs.corp.google.com/#search/&q=package:%255Echrome%24%2520__arm__%2520...

I do see one untrusted (header) file that uses it, so I suppose we should. Done.

Powered by Google App Engine
This is Rietveld 408576698