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

Issue 481433003: Makes the analyzer output the set of targets needing a build (Closed)

Created:
6 years, 4 months ago by sky
Modified:
6 years, 4 months ago
Reviewers:
scottmg
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Makes the analyzer output the set of targets needing a build The set of build targets is the minimal set of targets reachable from the all target that contains one of the specified files (matched target), or depeneds on the set of matched targets. BUG=109173 TEST=none R=scottmg@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1966

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : affected #

Total comments: 19

Patch Set 4 : integrate review feedback #

Patch Set 5 : change algorithm #

Patch Set 6 : cleanup #

Total comments: 8

Patch Set 7 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+595 lines, -139 lines) Patch
M pylib/gyp/generator/analyzer.py View 1 2 3 4 5 6 9 chunks +212 lines, -81 lines 0 comments Download
M test/analyzer/gyptest-analyzer.py View 1 2 3 4 6 chunks +170 lines, -57 lines 0 comments Download
M test/analyzer/test.gyp View 1 2 3 4 2 chunks +31 lines, -1 line 0 comments Download
A test/analyzer/test3.gyp View 1 2 3 4 1 chunk +77 lines, -0 lines 0 comments Download
A test/analyzer/test4.gyp View 1 2 3 4 1 chunk +80 lines, -0 lines 0 comments Download
A test/analyzer/test5.gyp View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
sky
6 years, 4 months ago (2014-08-15 17:18:54 UTC) #1
scottmg
Trying to understand this now. In the description """ The set of effected targets is ...
6 years, 4 months ago (2014-08-15 19:44:46 UTC) #2
sky
https://codereview.chromium.org/481433003/diff/20001/pylib/gyp/generator/analyzer.py File pylib/gyp/generator/analyzer.py (right): https://codereview.chromium.org/481433003/diff/20001/pylib/gyp/generator/analyzer.py#newcode11 pylib/gyp/generator/analyzer.py:11: ignore_targets: list of targets not to include in effected_targets. ...
6 years, 4 months ago (2014-08-15 19:58:12 UTC) #3
sky
My email response likely didn't make it. For posterity: On 2014/08/15 19:44:46, scottmg wrote: > ...
6 years, 4 months ago (2014-08-15 19:59:12 UTC) #4
sky
Renamed to affected. But maybe I should go with compile_targets as that is the expectation ...
6 years, 4 months ago (2014-08-15 20:08:43 UTC) #5
scottmg
I think I'm still missing something at a high level, questions below. (couple 'effected's in ...
6 years, 4 months ago (2014-08-15 21:30:24 UTC) #6
sky
https://codereview.chromium.org/481433003/diff/20001/pylib/gyp/generator/analyzer.py File pylib/gyp/generator/analyzer.py (right): https://codereview.chromium.org/481433003/diff/20001/pylib/gyp/generator/analyzer.py#newcode13 pylib/gyp/generator/analyzer.py:13: These targets will be output if they contained one ...
6 years, 4 months ago (2014-08-15 22:39:37 UTC) #7
scottmg
On 2014/08/15 22:39:37, sky wrote: > https://codereview.chromium.org/481433003/diff/20001/pylib/gyp/generator/analyzer.py > File pylib/gyp/generator/analyzer.py (right): > > https://codereview.chromium.org/481433003/diff/20001/pylib/gyp/generator/analyzer.py#newcode13 > ...
6 years, 4 months ago (2014-08-15 23:10:47 UTC) #8
scottmg
On 2014/08/15 23:10:47, scottmg wrote: > On 2014/08/15 22:39:37, sky wrote: > > > https://codereview.chromium.org/481433003/diff/20001/pylib/gyp/generator/analyzer.py ...
6 years, 4 months ago (2014-08-15 23:55:19 UTC) #9
jam
On 2014/08/15 23:55:19, scottmg wrote: > On 2014/08/15 23:10:47, scottmg wrote: > > On 2014/08/15 ...
6 years, 4 months ago (2014-08-18 16:45:33 UTC) #10
sky
On 2014/08/18 16:45:33, jam wrote: > On 2014/08/15 23:55:19, scottmg wrote: > > On 2014/08/15 ...
6 years, 4 months ago (2014-08-18 17:28:14 UTC) #11
sky
I've changed this around considerably. The new approach is to include all targets that depend ...
6 years, 4 months ago (2014-08-18 18:08:27 UTC) #12
scottmg
I'm not scared any more :) but does it actually help reduce compilations? e.g. in ...
6 years, 4 months ago (2014-08-18 19:48:16 UTC) #13
sky
On 2014/08/18 19:48:16, scottmg wrote: > I'm not scared any more :) but does it ...
6 years, 4 months ago (2014-08-18 20:06:22 UTC) #14
sky
https://codereview.chromium.org/481433003/diff/100001/pylib/gyp/generator/analyzer.py File pylib/gyp/generator/analyzer.py (right): https://codereview.chromium.org/481433003/diff/100001/pylib/gyp/generator/analyzer.py#newcode263 pylib/gyp/generator/analyzer.py:263: (('actions' in target_dict and target_dict['actions']) or On 2014/08/18 19:48:16, ...
6 years, 4 months ago (2014-08-18 20:06:33 UTC) #15
scottmg
On 2014/08/18 20:06:22, sky wrote: > On 2014/08/18 19:48:16, scottmg wrote: > > I'm not ...
6 years, 4 months ago (2014-08-18 20:20:34 UTC) #16
sky
6 years, 4 months ago (2014-08-18 20:24:15 UTC) #17
Message was sent while issue was closed.
Committed patchset #7 manually as r1966 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698