From b6318bf44dd89dc8465dcf48ba820701eae24acb Mon Sep 17 00:00:00 2001 From: herb Date: Fri, 16 Sep 2016 13:29:57 -0700 Subject: Compile the skia library for windows using gn. TBR=mtklein@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2347443002 Review-Url: https://codereview.chromium.org/2347443002 --- gn/BUILDCONFIG.gn | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gn/BUILDCONFIG.gn') diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn index 79d06f400b..e294854aa7 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") +} -- cgit v1.2.3