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

Issue 2151633002: Mark build arguments implicitly used in GN. (Closed)

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

Description

Mark build arguments implicitly used in GN. This regressed in https://codereview.chromium.org/2092623002 which caused a revert of the GN roll. The particular issue is that a build argument in a BUILD.gn file was used in only one of the toolchains, so the other toolchains were giving unused variable errors on it. Build variables kept at their default values already are marked implicitly used, and anything in a .gni file is the same. The remaining cases are pretty confusing so it seems better to not warn in this case instead of requiring the author to wrap the build variable in a condition based on the usage. TBR=dpranke Committed: https://crrev.com/8b05f575431f4854163470695cf1a6f6495263ce Cr-Commit-Position: refs/heads/master@{#405291}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M tools/gn/args.cc View 3 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
brettw
4 years, 5 months ago (2016-07-13 20:11:56 UTC) #2
brettw
I'm TBRing this since it blocks a GN roll I want to re-land.
4 years, 5 months ago (2016-07-13 20:33:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151633002/1
4 years, 5 months ago (2016-07-13 20:34:10 UTC) #9
Dirk Pranke
lgtm
4 years, 5 months ago (2016-07-13 21:20:27 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-13 21:29:40 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 21:29:42 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 21:32:40 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8b05f575431f4854163470695cf1a6f6495263ce
Cr-Commit-Position: refs/heads/master@{#405291}

Powered by Google App Engine
This is Rietveld 408576698