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

Side by Side Diff: third_party/third_party.gni

Issue 2347443002: Compile the skia library for windows using gn. (Closed)
Patch Set: Merge branch 'master' of https://skia.googlesource.com/skia into bring-up-to-date Created 4 years, 3 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
« gn/BUILD.gn ('K') | « third_party/sfntly/BUILD.gn ('k') | no next file » | 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 template("third_party") { 6 template("third_party") {
7 config(target_name + "_public") { 7 config(target_name + "_public") {
8 include_dirs = invoker.public_include_dirs 8 include_dirs = invoker.public_include_dirs
9 } 9 }
10 source_set(target_name) { 10 source_set(target_name) {
11 forward_variables_from(invoker, "*", [ "public_include_dirs" ]) 11 forward_variables_from(invoker, "*", [ "public_include_dirs" ])
12 public_configs = [ ":" + target_name + "_public" ] 12 public_configs = [ ":" + target_name + "_public" ]
13 13
14 # Warnings are just noise if we're not maintaining the code. 14 # Warnings are just noise if we're not maintaining the code.
15 cflags = [ "-w" ] 15 if (is_win) {
16 cflags = [ "/w" ]
17 } else {
18 cflags = [ "-w" ]
19 }
16 } 20 }
17 } 21 }
18 22
19 set_defaults("third_party") { 23 set_defaults("third_party") {
20 configs = default_configs 24 configs = default_configs
21 } 25 }
OLDNEW
« gn/BUILD.gn ('K') | « third_party/sfntly/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698