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

Issue 684033002: Nest the pnacl section of untrusted.gypi to the same level. (Closed)

Created:
6 years, 1 month ago by bradn
Modified:
6 years ago
Reviewers:
Mark Seaborn, derek, dcheng
CC:
native-client-reviews_googlegroups.com
Project:
nacl
Visibility:
Public.

Description

Nest the pnacl section of untrusted.gypi to the same level. The pnacl sections of untrusted.gypi were nested one layer less deep than other toolchains. This seems to result in >(_sources) being expanded earlier for pnacl, resulting in misses sources in the case of base_nacl.gyp in the chrome tree. This is likely because this is one of the only places that we use target_defaults to inject a non-variable 'sources' list. Nesting to the same level seems to alleviate the issue. (Hopefully giving us more correct dependencies.) BUG=https://code.google.com/p/chromium/issues/detail?id=427427 TEST=local ninja check + trybots R=mseaborn@chromium.org, derek@chromium.org Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=14152

Patch Set 1 #

Total comments: 10

Patch Set 2 : merge #

Patch Set 3 : wrap #

Patch Set 4 : fix #

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+428 lines, -411 lines) Patch
M build/untrusted.gypi View 1 2 3 4 1 chunk +428 lines, -411 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
bradn
6 years, 1 month ago (2014-10-29 00:10:17 UTC) #1
Mark Seaborn
LGTM, though: * You'll need to co-ordinate with https://codereview.chromium.org/666693005/ * I do wonder whether this ...
6 years, 1 month ago (2014-10-30 18:25:08 UTC) #2
Mark Seaborn
Ping -- are you going to commit this?
6 years, 1 month ago (2014-11-06 05:26:00 UTC) #3
dcheng
Any chance this can be landed? This took me 2+ hours to track down, since ...
6 years ago (2014-11-25 23:25:06 UTC) #5
bradn
https://codereview.chromium.org/684033002/diff/1/build/untrusted.gypi File build/untrusted.gypi (right): https://codereview.chromium.org/684033002/diff/1/build/untrusted.gypi#newcode1285 build/untrusted.gypi:1285: ['1==1', { # Always true condition to match the ...
6 years ago (2014-12-01 19:15:46 UTC) #6
Mark Seaborn
https://codereview.chromium.org/684033002/diff/1/build/untrusted.gypi File build/untrusted.gypi (right): https://codereview.chromium.org/684033002/diff/1/build/untrusted.gypi#newcode1285 build/untrusted.gypi:1285: ['1==1', { # Always true condition to match the ...
6 years ago (2014-12-01 19:18:47 UTC) #7
bradn
Committed patchset #5 (id:80001) manually as 14152 (presubmit successful).
6 years ago (2014-12-01 21:39:23 UTC) #8
Mark Seaborn
This apparently broke an MSAN bot after rolling into Chromium. See: https://codereview.chromium.org/774883002/#msg19 Please can you ...
6 years ago (2014-12-04 22:03:19 UTC) #9
bradn
6 years ago (2014-12-04 22:09:28 UTC) #10
Message was sent while issue was closed.
Forgot to send these out.
Looking into if I should revert.

https://codereview.chromium.org/684033002/diff/1/build/untrusted.gypi
File build/untrusted.gypi (right):

https://codereview.chromium.org/684033002/diff/1/build/untrusted.gypi#newcode...
build/untrusted.gypi:1285: ['1==1', { # Always true condition to match the
nesting level of the
On 2014/12/01 19:18:46, Mark Seaborn wrote:
> On 2014/12/01 19:15:46, bradn wrote:
> > On 2014/10/30 18:25:07, Mark Seaborn wrote:
> > > "True" rather than "1==1"?
> > > 
> > > Can you add some explanation of why this is necessary for correctness,
> please,
> > > and add a link to the issue?
> > 
> > I've expanded the comment.
> > I'd file an issue but I'm not sure filing a "gyp expansion order is weird"
> will
> > produce anything useful.
> 
> I meant link to the issue you're fixing:
> https://code.google.com/p/chromium/issues/detail?id=427427

Ah, ok. done.

Powered by Google App Engine
This is Rietveld 408576698