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

Side by Side Diff: gn/BUILDCONFIG.gn

Issue 2347443002: Compile the skia library for windows using gn. (Closed)
Patch Set: 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_debug = true 9 is_debug = true
10 is_component_build = false 10 is_component_build = false
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 configs = default_configs 132 configs = default_configs
133 } 133 }
134 134
135 set_defaults("component") { 135 set_defaults("component") {
136 configs = default_configs 136 configs = default_configs
137 if (!is_component_build) { 137 if (!is_component_build) {
138 complete_static_lib = true 138 complete_static_lib = true
139 } 139 }
140 } 140 }
141 141
142 # For now, we support GCC-like toolchains, including Clang. 142 if (is_win) {
143 set_default_toolchain("//gn:gcc_like") 143 # Windows tool chain
144 set_default_toolchain("//gn:msvc")
145 } else {
146 # GCC-like toolchains, including Clang.
147 set_default_toolchain("//gn:gcc_like")
148 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698