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

Issue 2150753002: Separate out target defaults in the GN build config. (Closed)

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

Description

Separate out target defaults in the GN build config. This separates out the default values of configs for the various target types into well-named global variables that can be referred to in different places. This allows us to move the set_defaults calls for various templates to the places where those templates are defined rather than putting them all in BUILDCONFIG. An example of this is the test() target defaults, where the actual template is declared in a .gni file but the defaults have to be global. Committed: https://crrev.com/edb6ecc9667278999e8b885a4e79849887580d2d Cr-Commit-Position: refs/heads/master@{#405627}

Patch Set 1 #

Patch Set 2 : Format #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -91 lines) Patch
M build/config/BUILDCONFIG.gn View 1 6 chunks +48 lines, -91 lines 1 comment Download
M build/config/ios/rules.gni View 1 3 chunks +12 lines, -0 lines 0 comments Download
M build/config/mac/rules.gni View 1 1 chunk +4 lines, -0 lines 0 comments Download
M build/split_static_library.gni View 1 1 chunk +4 lines, -0 lines 0 comments Download
M testing/test.gni View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
brettw
This requires the GN roll in https://codereview.chromium.org/2149073003 before it will work, but is ready for ...
4 years, 5 months ago (2016-07-14 20:26:12 UTC) #2
Dirk Pranke
https://codereview.chromium.org/2150753002/diff/20001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/2150753002/diff/20001/build/config/BUILDCONFIG.gn#newcode459 build/config/BUILDCONFIG.gn:459: default_compiler_configs = [ So, these renames aren't strictly needed ...
4 years, 5 months ago (2016-07-14 21:40:39 UTC) #6
brettw
> Are you doing the renames just to establish a better convention for default > ...
4 years, 5 months ago (2016-07-14 23:07:47 UTC) #9
Dirk Pranke
On 2016/07/14 23:07:47, brettw (ping after 24h) wrote: > > Are you doing the renames ...
4 years, 5 months ago (2016-07-14 23:29:01 UTC) #10
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/2150753002/20001
4 years, 5 months ago (2016-07-14 23:31:00 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-14 23:37:21 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 23:38:55 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/edb6ecc9667278999e8b885a4e79849887580d2d
Cr-Commit-Position: refs/heads/master@{#405627}

Powered by Google App Engine
This is Rietveld 408576698