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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: gn/BUILDCONFIG.gn
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index e6a8b695ffe29f5a363baed6330ead29674b0646..bdcd59af86eb3bb158fbd0fed76536e9e0d91ce7 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -139,5 +139,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")
+}

Powered by Google App Engine
This is Rietveld 408576698