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

Side by Side Diff: gn/BUILDCONFIG.gn

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
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 # It's best to keep the names and defaults of is_foo flags consistent with Chrom e. 6 # It's best to keep the names and defaults of is_foo flags consistent with Chrom e.
7 7
8 declare_args() { 8 declare_args() {
9 is_official_build = false 9 is_official_build = false
10 is_component_build = false 10 is_component_build = false
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 configs = default_configs 140 configs = default_configs
141 } 141 }
142 142
143 set_defaults("component") { 143 set_defaults("component") {
144 configs = default_configs 144 configs = default_configs
145 if (!is_component_build) { 145 if (!is_component_build) {
146 complete_static_lib = true 146 complete_static_lib = true
147 } 147 }
148 } 148 }
149 149
150 # For now, we support GCC-like toolchains, including Clang. 150 if (is_win) {
151 set_default_toolchain("//gn:gcc_like") 151 # Windows tool chain
152 set_default_toolchain("//gn:msvc")
153 } else {
154 # GCC-like toolchains, including Clang.
155 set_default_toolchain("//gn:gcc_like")
156 }
OLDNEW
« gn/BUILD.gn ('K') | « gn/BUILD.gn ('k') | third_party/sfntly/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698