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

Issue 2148993002: Allow multiple set_default calls in GN. (Closed)

Created:
4 years, 5 months ago by brettw
Modified:
4 years, 5 months ago
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

Allow multiple set_default calls in GN. Allow multipe set_defaults calls in GN to override one another, and allow imported .gni files with set_defaults calls in them to not collide with existing defaults settings as long as the settings are the same. This will allow us to be more flexible with defaults, in particular, to allow the defaults for templates to move to the template declaration location rather than having to reside in BUILDCONFIG. Add an android condition around an android-specific config in base I noticed when testing this patch. BUG=627978 Committed: https://crrev.com/af8a964ba300ff17d304c982a0e98605c41637c5 Cr-Commit-Position: refs/heads/master@{#405539}

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -48 lines) Patch
M base/BUILD.gn View 1 chunk +4 lines, -2 lines 0 comments Download
M tools/gn/function_set_defaults.cc View 2 chunks +7 lines, -23 lines 0 comments Download
M tools/gn/scope.h View 1 3 chunks +8 lines, -4 lines 0 comments Download
M tools/gn/scope.cc View 3 chunks +35 lines, -19 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
brettw
4 years, 5 months ago (2016-07-13 21:35:56 UTC) #3
brettw
.
4 years, 5 months ago (2016-07-13 21:36:07 UTC) #4
brettw
->Bruce
4 years, 5 months ago (2016-07-14 17:31:09 UTC) #10
Dirk Pranke
lgtm
4 years, 5 months ago (2016-07-14 19:13:27 UTC) #12
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/2148993002/20001
4 years, 5 months ago (2016-07-14 19:27:36 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-14 19:33:58 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 19:34:00 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 19:35:43 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/af8a964ba300ff17d304c982a0e98605c41637c5
Cr-Commit-Position: refs/heads/master@{#405539}

Powered by Google App Engine
This is Rietveld 408576698