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

Side by Side Diff: third_party/third_party.gni

Issue 2163653002: GN: refactor third_party/gni (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fmt Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/BUILD.gn ('k') | third_party/zlib/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 Google Inc. 1 # Copyright 2016 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 declare_args() { 6 template("third_party") {
7 source_set(target_name) {
8 forward_variables_from(invoker, "*")
9
10 # Warnings are just noise if we're not maintaining the code.
11 cflags = [ "-w" ]
12
13 # Chrome's GN environment sets up a bunch of default configs we don't need/w ant here.
14 configs -= [
15 "//build/config/clang:extra_warnings",
16 "//build/config/clang:find_bad_constructs",
17 "//build/config/compiler:chromium_code",
18 "//build/config:feature_flags",
19 ]
20 }
7 } 21 }
8
9 # Chrome's GN environment sets up a bunch of default configs we don't need/want here.
10 unwanted_configs = [
11 "//build/config/clang:extra_warnings",
12 "//build/config/clang:find_bad_constructs",
13 "//build/config/compiler:chromium_code",
14 "//build/config:feature_flags",
15 ]
OLDNEW
« no previous file with comments | « third_party/BUILD.gn ('k') | third_party/zlib/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698