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

Issue 1621053002: Add an assert_no_deps variable to GN. (Closed)

Created:
4 years, 11 months ago by brettw
Modified:
4 years, 11 months ago
Reviewers:
Dirk Pranke, dpranke
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an assert_no_deps variable to GN. This asserts that there is no dependency path to a given target. BUG= Committed: https://crrev.com/81aa4e8f010454835da6caa14507bcee73578e83 Cr-Commit-Position: refs/heads/master@{#371539}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -12 lines) Patch
M tools/gn/setup.cc View 2 chunks +5 lines, -12 lines 0 comments Download
M tools/gn/target.h View 4 chunks +11 lines, -0 lines 0 comments Download
M tools/gn/target.cc View 3 chunks +78 lines, -0 lines 0 comments Download
M tools/gn/target_generator.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/target_generator.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M tools/gn/target_unittest.cc View 1 1 chunk +55 lines, -0 lines 0 comments Download
M tools/gn/value_extractors.h View 2 chunks +6 lines, -0 lines 0 comments Download
M tools/gn/value_extractors.cc View 2 chunks +19 lines, -0 lines 0 comments Download
M tools/gn/variables.h View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/gn/variables.cc View 1 2 chunks +44 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1621053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1621053002/1
4 years, 11 months ago (2016-01-24 00:23:00 UTC) #2
brettw
Had this patch partially done for several months. Last week somebody accidentally started compiling Skia ...
4 years, 11 months ago (2016-01-24 00:24:32 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-24 01:08:27 UTC) #6
tfarina
https://codereview.chromium.org/1621053002/diff/1/tools/gn/variables.h File tools/gn/variables.h (right): https://codereview.chromium.org/1621053002/diff/1/tools/gn/variables.h#newcode92 tools/gn/variables.h:92: extern const char kAssertNoDeps_Help[]; Looks like there is a ...
4 years, 11 months ago (2016-01-24 11:50:19 UTC) #7
brettw
In my testing if this feature I added some obvious checks which promptly failed. Turns ...
4 years, 11 months ago (2016-01-24 22:29:51 UTC) #8
Dirk Pranke
lgtm https://codereview.chromium.org/1621053002/diff/1/tools/gn/target_unittest.cc File tools/gn/target_unittest.cc (right): https://codereview.chromium.org/1621053002/diff/1/tools/gn/target_unittest.cc#newcode691 tools/gn/target_unittest.cc:691: // C depends in B and disallows depending ...
4 years, 11 months ago (2016-01-26 01:17:40 UTC) #10
brettw
Comment fix
4 years, 11 months ago (2016-01-26 17:42:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1621053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1621053002/20001
4 years, 11 months ago (2016-01-26 17:43:16 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-26 18:11:37 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 18:13:23 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/81aa4e8f010454835da6caa14507bcee73578e83
Cr-Commit-Position: refs/heads/master@{#371539}

Powered by Google App Engine
This is Rietveld 408576698