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

Unified 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 side-by-side diff with in-line comments
Download patch
« gn/BUILD.gn ('K') | « gn/BUILD.gn ('k') | third_party/sfntly/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gn/BUILDCONFIG.gn
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index 79d06f400b05914371ca9a3947316d9dd4b099ae..e294854aa7c4bc6fe772fd53d90d9b01b52bac27 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -147,5 +147,10 @@ set_defaults("component") {
}
}
-# For now, we support GCC-like toolchains, including Clang.
-set_default_toolchain("//gn:gcc_like")
+if (is_win) {
+ # Windows tool chain
+ set_default_toolchain("//gn:msvc")
+} else {
+ # GCC-like toolchains, including Clang.
+ set_default_toolchain("//gn:gcc_like")
+}
« 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