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

Issue 9816003: GYP build for ARM untrusted runtime. (Closed)

Created:
8 years, 9 months ago by Nikolay
Modified:
8 years, 8 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

GYP build for ARM untrusted runtime. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2687 TEST=run standalone gyp with platform=arm Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=8123

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 37

Patch Set 4 : #

Total comments: 22

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Total comments: 11

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+584 lines, -418 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 1 chunk +6 lines, -5 lines 0 comments Download
M build/build_nexe.py View 1 2 3 4 5 6 7 8 chunks +62 lines, -11 lines 0 comments Download
M build/untrusted.gypi View 1 2 3 4 5 6 7 5 chunks +141 lines, -13 lines 0 comments Download
M src/shared/gio/gio.gyp View 1 2 3 4 5 6 7 1 chunk +13 lines, -18 lines 0 comments Download
M src/shared/platform/platform.gyp View 1 2 3 4 5 6 7 2 chunks +24 lines, -29 lines 0 comments Download
M src/shared/srpc/srpc.gyp View 1 2 3 4 5 6 7 1 chunk +26 lines, -31 lines 0 comments Download
M src/untrusted/irt/irt.gyp View 1 2 3 4 5 6 7 1 chunk +60 lines, -47 lines 0 comments Download
M src/untrusted/irt_stub/irt_stub.gyp View 1 2 3 4 5 6 7 1 chunk +13 lines, -18 lines 0 comments Download
M src/untrusted/nacl/nacl.gyp View 1 2 3 4 5 6 7 1 chunk +85 lines, -81 lines 0 comments Download
M src/untrusted/nosys/nosys.gyp View 1 2 3 4 5 6 7 1 chunk +13 lines, -18 lines 0 comments Download
M src/untrusted/pthread/pthread.gyp View 1 2 3 4 5 6 7 1 chunk +34 lines, -39 lines 0 comments Download
M tools.gyp View 1 2 3 4 5 6 7 7 chunks +107 lines, -108 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
halyavin
https://chromiumcodereview.appspot.com/9816003/diff/1/src/untrusted/irt/irt.gyp File src/untrusted/irt/irt.gyp (right): https://chromiumcodereview.appspot.com/9816003/diff/1/src/untrusted/irt/irt.gyp#newcode66 src/untrusted/irt/irt.gyp:66: ]}, Move } to next line? https://chromiumcodereview.appspot.com/9816003/diff/1/src/untrusted/irt/irt.gyp#newcode82 src/untrusted/irt/irt.gyp:82: ]} ...
8 years, 9 months ago (2012-03-21 10:34:53 UTC) #1
halyavin
https://chromiumcodereview.appspot.com/9816003/diff/4006/build/all.gyp File build/all.gyp (right): https://chromiumcodereview.appspot.com/9816003/diff/4006/build/all.gyp#newcode38 build/all.gyp:38: }], We need to remove space here then.
8 years, 9 months ago (2012-03-21 11:43:10 UTC) #2
Nikolay
https://chromiumcodereview.appspot.com/9816003/diff/1/src/untrusted/irt/irt.gyp File src/untrusted/irt/irt.gyp (right): https://chromiumcodereview.appspot.com/9816003/diff/1/src/untrusted/irt/irt.gyp#newcode66 src/untrusted/irt/irt.gyp:66: ]}, On 2012/03/21 10:34:53, halyavin wrote: > Move } ...
8 years, 9 months ago (2012-03-21 13:16:40 UTC) #3
halyavin
LGTM
8 years, 9 months ago (2012-03-22 10:56:02 UTC) #4
Mark Seaborn
Please file an issue to track this, and add BUG= and TEST= fields to the ...
8 years, 9 months ago (2012-03-22 17:13:21 UTC) #5
Mark Seaborn
On 22 March 2012 10:13, <mseaborn@chromium.org> wrote: > Please file an issue to track this, ...
8 years, 9 months ago (2012-03-22 19:52:13 UTC) #6
Nikolay
Mark, thanks a lot for review. I created an issue, as you recommended, and updated ...
8 years, 9 months ago (2012-03-23 11:35:20 UTC) #7
Nikolay
https://chromiumcodereview.appspot.com/9816003/diff/27/build/untrusted.gypi File build/untrusted.gypi (right): https://chromiumcodereview.appspot.com/9816003/diff/27/build/untrusted.gypi#newcode295 build/untrusted.gypi:295: 'tool_name': 'newlib', On 2012/03/22 17:13:21, Mark Seaborn wrote: > ...
8 years, 9 months ago (2012-03-23 11:36:17 UTC) #8
robertm
Some more comments below. I am pretty sure that all changes to file in src/ ...
8 years, 9 months ago (2012-03-23 15:03:37 UTC) #9
Mark Seaborn
On 23 March 2012 04:35, <olonho@google.com> wrote: > Mark, thanks a lot for review. I ...
8 years, 9 months ago (2012-03-23 20:29:06 UTC) #10
Mark Seaborn
https://chromiumcodereview.appspot.com/9816003/diff/10020/build/all.gyp File build/all.gyp (right): https://chromiumcodereview.appspot.com/9816003/diff/10020/build/all.gyp#newcode22 build/all.gyp:22: # TODO(robertm): Make sel_universal work without relying on the ...
8 years, 9 months ago (2012-03-23 20:33:36 UTC) #11
Nikolay
PTAL https://chromiumcodereview.appspot.com/9816003/diff/27/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/9816003/diff/27/build/common.gypi#newcode301 build/common.gypi:301: '--sysroot=<(sysroot)', > Did you mean to say that ...
8 years, 9 months ago (2012-03-26 13:29:56 UTC) #12
robertm
https://chromiumcodereview.appspot.com/9816003/diff/18001/build/untrusted.gypi File build/untrusted.gypi (right): https://chromiumcodereview.appspot.com/9816003/diff/18001/build/untrusted.gypi#newcode69 build/untrusted.gypi:69: }, There is a little too much duplication here ...
8 years, 9 months ago (2012-03-26 14:09:32 UTC) #13
Nikolay
PTAL. https://chromiumcodereview.appspot.com/9816003/diff/18001/build/untrusted.gypi File build/untrusted.gypi (right): https://chromiumcodereview.appspot.com/9816003/diff/18001/build/untrusted.gypi#newcode69 build/untrusted.gypi:69: }, Tried to address that. On 2012/03/26 14:09:33, ...
8 years, 9 months ago (2012-03-26 16:28:51 UTC) #14
robertm
lgtm
8 years, 9 months ago (2012-03-27 13:46:09 UTC) #15
Mark Seaborn
http://codereview.chromium.org/9816003/diff/18004/build/build_nexe.py File build/build_nexe.py (right): http://codereview.chromium.org/9816003/diff/18004/build/build_nexe.py#newcode180 build/build_nexe.py:180: return self.GetBinName("strip") Use ' instead of " http://codereview.chromium.org/9816003/diff/18004/build/common.gypi File ...
8 years, 8 months ago (2012-03-28 07:21:02 UTC) #16
Nikolay
8 years, 8 months ago (2012-03-28 13:24:23 UTC) #17
Cleaned up final comments and submitted. 
Thanks a lot everybody, especially Mark and Robert for great review. If there
will are future concerns - will fix them in upcoming CLs.

https://chromiumcodereview.appspot.com/9816003/diff/18004/build/build_nexe.py
File build/build_nexe.py (right):

https://chromiumcodereview.appspot.com/9816003/diff/18004/build/build_nexe.py...
build/build_nexe.py:180: return self.GetBinName("strip")
On 2012/03/28 07:21:02, Mark Seaborn wrote:
> Use ' instead of "

Done.

https://chromiumcodereview.appspot.com/9816003/diff/18004/build/common.gypi
File build/common.gypi (left):

https://chromiumcodereview.appspot.com/9816003/diff/18004/build/common.gypi#o...
build/common.gypi:302: 'cflags_cc': [
OK, will make it separate CL, see
https://chromiumcodereview.appspot.com/9875016/.
On 2012/03/28 07:21:02, Mark Seaborn wrote:
> I would still prefer if you did trusted-code Gyp changes in a separate
changeset
> for clarity.

https://chromiumcodereview.appspot.com/9816003/diff/23002/build/untrusted.gypi
File build/untrusted.gypi (right):

https://chromiumcodereview.appspot.com/9816003/diff/23002/build/untrusted.gyp...
build/untrusted.gypi:57: '<@(default_defines)',
If I used defines, instead of default_defines, gyp falls into infinite variable
expansion recursion for some reasons.
Same with compile flags, so I made this (indeed pretty artificial) split. If you
do have an idea how to fix that - would be perfect. Late expansion (>@(defines))
also doesn't help.


On 2012/03/28 07:21:02, Mark Seaborn wrote:
> I think you don't need the 'defines'/'default_defines' split.  I think if you
> write 'defines' in both cases, this part will just append to the list.

https://chromiumcodereview.appspot.com/9816003/diff/23002/build/untrusted.gyp...
build/untrusted.gypi:291: ['nexe_target!="" and build_newlib!=0', {
Thanks, it was indeed indent changes which confused diff. Fixed.

On 2012/03/28 07:21:02, Mark Seaborn wrote:
> It's a bit disconcerting that this chunk appears as a modification to an
> existing chunk.  Is that just an artefact of the ordering?  I think it's
because
> of whitespace changes.  See below...

https://chromiumcodereview.appspot.com/9816003/diff/23002/build/untrusted.gyp...
build/untrusted.gypi:381: 'tool_name': 'glibc',
On 2012/03/28 07:21:02, Mark Seaborn wrote:
> I think you've changed the indentation in this block (the x86-64 glibc nexe
> case), which is why it appears as an insertion.  Please change it back so that
> only the ARM cases appear as insertions.

Done.

https://chromiumcodereview.appspot.com/9816003/diff/23002/src/shared/platform...
File src/shared/platform/platform.gyp (right):

https://chromiumcodereview.appspot.com/9816003/diff/23002/src/shared/platform...
src/shared/platform/platform.gyp:195: ]
Thanks, seems my beloved editor misused python-mode instead of gyp-mode on Gyp
files.

On 2012/03/28 07:21:02, Mark Seaborn wrote:
> indent -2; same for other closing brackets below.

https://chromiumcodereview.appspot.com/9816003/diff/23002/tools.gyp
File tools.gyp (right):

https://chromiumcodereview.appspot.com/9816003/diff/23002/tools.gyp#newcode39
tools.gyp:39: 'src/untrusted/stubs/crt1.x',
On 2012/03/28 07:21:02, Mark Seaborn wrote:
> Fix the indentation here, please

Done.

Powered by Google App Engine
This is Rietveld 408576698