Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(595)

Issue 7370046: Allow GYP targets to depend on themselves if they have the 'prune_self_dependencies' set to 1

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by glider1
Modified:
11 years, 2 months ago
Reviewers:
Mark Mentovai
CC:
thakis
Base URL:
http://gyp.googlecode.com/svn/trunk/pylib/gyp/
Visibility:
Public.

Description

Allow GYP targets to depend on themselves if they have the 'prune_self_dependencies' set to 1. See https://codereview.chromium.org/11642018/ for more context. BUG=chromium:170629

Patch Set 1 #

Patch Set 2 : Add prune_self_dependency #

Total comments: 2

Patch Set 3 : Fix comments, add tests #

Patch Set 4 : Prettier comments in tests, removed the negative test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -0 lines) Patch
M pylib/gyp/input.py View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
A test/self-dependency/common.gypi View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
A test/self-dependency/dep.gyp View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A test/self-dependency/gyptest-self-dependency.py View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A test/self-dependency/self_dependency.gyp View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 8
glider1
Mark, is this the right thing to do?
11 years, 2 months ago (2013-02-25 18:32:23 UTC) #1
glider1
I haven't found any GYP tests related to cycles and will probably need to add ...
11 years, 2 months ago (2013-02-25 18:36:41 UTC) #2
Mark Mentovai
It occurs to me that this will allow at most one target in the entire ...
11 years, 2 months ago (2013-02-25 18:49:42 UTC) #3
glider1
I've added a positive and a negative test for self dependencies, but the negative one ...
11 years, 2 months ago (2013-02-27 13:15:46 UTC) #4
Mark Mentovai
I don’t know if there are death tests in here, but the code LGTM.
11 years, 2 months ago (2013-02-27 13:50:37 UTC) #5
glider1
On 2013/02/27 13:50:37, Mark Mentovai wrote: > I don’t know if there are death tests ...
11 years, 2 months ago (2013-02-27 13:57:46 UTC) #6
glider1
PTAL. If you're fine with the code, can you please land it?
11 years, 2 months ago (2013-02-27 14:10:33 UTC) #7
Mark Mentovai
11 years, 2 months ago (2013-02-27 14:15:37 UTC) #8
Committed r1589
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b