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

Issue 552843005: Convert GN visibility to be a list. (Closed)

Created:
6 years, 3 months ago by brettw
Modified:
6 years, 3 months ago
Reviewers:
awong
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Convert GN visibility to be a list. GN visibility currently allows either string or list types, but this is causing some problems for some templates, which don't know if the invoker set the visibility to a list or a string. Since there is no type reflection, templates don't know how to handle visibility if they need to add to or replace the list. Adds a missing error check in the config visibility checker. R=ajwong@chromium.org Committed: https://crrev.com/19b5fdba953c49a1a20003726ca719b00df14f20 Cr-Commit-Position: refs/heads/master@{#294411}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -23 lines) Patch
M chrome/BUILD.gn View 5 chunks +5 lines, -5 lines 0 comments Download
M tools/gn/functions.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/gn/variables.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M tools/gn/visibility.cc View 1 chunk +3 lines, -9 lines 0 comments Download
M tools/gn/visibility_unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
brettw
I already fixed the other users of string args in chrome, but landing this is ...
6 years, 3 months ago (2014-09-08 20:52:09 UTC) #2
awong
Lgtm On 8 Sep 2014 13:52, <brettw@chromium.org> wrote: > Reviewers: awong, > > Message: > ...
6 years, 3 months ago (2014-09-08 21:27:57 UTC) #3
awong
lgtm
6 years, 3 months ago (2014-09-09 00:37:38 UTC) #4
brettw
Committed patchset #2 (id:20001) to pending queue manually as 965d21a.
6 years, 3 months ago (2014-09-11 17:21:08 UTC) #5
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 18:42:45 UTC) #6
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/19b5fdba953c49a1a20003726ca719b00df14f20
Cr-Commit-Position: refs/heads/master@{#294411}

Powered by Google App Engine
This is Rietveld 408576698