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

Issue 1402813002: Change analyzer to search for build_targets from supplied targets (Closed)

Created:
5 years, 2 months ago by sky
Modified:
5 years, 1 month ago
CC:
gyp-developer_googlegroups.com, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/external/gyp@master
Target Ref:
refs/heads/master
Project:
gyp
Visibility:
Public.

Description

Change analyzer to search for build_targets from supplied targets Prior to this change build_targets returned targets that were children of the root nodes. After this change build_targets are children of the supplied targets. This change better matches how we want to use analyzer. In particular bots don't necessarily build all, so that returning a target that is normally not build results in weird behavior (bot building things it normally doesn't). BUG=542337 TEST=covered by tests R=dpranke@chromium.org, mark@chromium.org, scottmg@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/3f21260b43401553c37bb28090b65a75577d5b4e

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : debugging #

Total comments: 2

Patch Set 4 : make targets same as build_targets #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -143 lines) Patch
M pylib/gyp/generator/analyzer.py View 1 2 3 11 chunks +39 lines, -83 lines 0 comments Download
M test/analyzer/gyptest-analyzer.py View 1 2 3 7 chunks +60 lines, -60 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
sky
5 years, 2 months ago (2015-10-12 17:11:23 UTC) #2
Mark Mentovai
LGTM
5 years, 2 months ago (2015-10-12 17:23:45 UTC) #3
Dirk Pranke
https://codereview.chromium.org/1402813002/diff/40001/pylib/gyp/generator/analyzer.py File pylib/gyp/generator/analyzer.py (right): https://codereview.chromium.org/1402813002/diff/40001/pylib/gyp/generator/analyzer.py#newcode39 pylib/gyp/generator/analyzer.py:39: as it is of type none with no rules ...
5 years, 2 months ago (2015-10-12 19:01:28 UTC) #5
sky
https://codereview.chromium.org/1402813002/diff/40001/pylib/gyp/generator/analyzer.py File pylib/gyp/generator/analyzer.py (right): https://codereview.chromium.org/1402813002/diff/40001/pylib/gyp/generator/analyzer.py#newcode39 pylib/gyp/generator/analyzer.py:39: as it is of type none with no rules ...
5 years, 2 months ago (2015-10-12 19:05:18 UTC) #6
Dirk Pranke
On 2015/10/12 19:05:18, sky wrote: > https://codereview.chromium.org/1402813002/diff/40001/pylib/gyp/generator/analyzer.py > File pylib/gyp/generator/analyzer.py (right): > > https://codereview.chromium.org/1402813002/diff/40001/pylib/gyp/generator/analyzer.py#newcode39 > ...
5 years, 2 months ago (2015-10-12 19:12:01 UTC) #7
sky
On 2015/10/12 19:12:01, Dirk Pranke wrote: > On 2015/10/12 19:05:18, sky wrote: > > > ...
5 years, 2 months ago (2015-10-12 23:53:14 UTC) #8
sky
Done, take another look?
5 years, 2 months ago (2015-10-13 00:05:26 UTC) #9
Dirk Pranke
lgtm
5 years, 2 months ago (2015-10-13 04:29:23 UTC) #10
sky
On 2015/10/13 04:29:23, Dirk Pranke wrote: > lgtm Mark, did you want to take another ...
5 years, 2 months ago (2015-10-14 15:35:53 UTC) #11
Mark Mentovai
Still LGTM
5 years, 2 months ago (2015-10-20 13:00:44 UTC) #12
sky
Committed patchset #4 (id:60001) manually as 3f21260b43401553c37bb28090b65a75577d5b4e (presubmit successful).
5 years, 2 months ago (2015-10-20 21:37:11 UTC) #13
sky
5 years, 1 month ago (2015-11-09 21:39:23 UTC) #14
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698