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

Issue 2163653002: GN: refactor third_party/gni (Closed)

Created:
4 years, 5 months ago by mtklein_C
Modified:
4 years, 5 months ago
Reviewers:
abarth, jcgregorio
CC:
abarth-chromium, reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

GN: refactor third_party/gni This fixes the build on Linux (dep on third_party:zlib -> third_party/zlib). I've moved declare_args() {} back to each .gn file... seems like args want to be as local as possible in GN land. Additionally, refactor all the common third_party config and warning flag changes into a template, third_party. This lets it all live together in a .gni: at head unwanted_configs can be in a .gni (it's just a variable) but config("no_warnings") (and thus third_party_configs) cannot, as configs cannot be part of .gni files. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2163653002 Committed: https://skia.googlesource.com/skia/+/f037d48e29000554abcd117445c4249071bb9fb3

Patch Set 1 #

Patch Set 2 : fmt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -26 lines) Patch
M third_party/BUILD.gn View 2 chunks +6 lines, -13 lines 0 comments Download
M third_party/third_party.gni View 1 1 chunk +15 lines, -9 lines 0 comments Download
M third_party/zlib/BUILD.gn View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
mtklein_C
4 years, 5 months ago (2016-07-19 14:32:21 UTC) #5
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/2163653002/20001
4 years, 5 months ago (2016-07-19 14:32:26 UTC) #6
abarth
Oh, good idea to use a template.
4 years, 5 months ago (2016-07-19 14:33:56 UTC) #8
mtklein_C
On 2016/07/19 at 14:33:56, abarth wrote: > Oh, good idea to use a template. I've ...
4 years, 5 months ago (2016-07-19 14:54:52 UTC) #9
jcgregorio
lgtm
4 years, 5 months ago (2016-07-19 15:23:11 UTC) #10
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 15:25:03 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/f037d48e29000554abcd117445c4249071bb9fb3

Powered by Google App Engine
This is Rietveld 408576698