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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 2385643004: Enables GN build on windows (Closed)
Patch Set: Add .gitignore for build Created 4 years, 2 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: build/config/BUILDCONFIG.gn
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
index 09527af891a44b77658db88c90d24c21840ab941..05936fb585d1f1d143f9d39ae7a1ef07de970381 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -337,11 +337,7 @@ set_defaults("component") {
if (is_win) {
# On windows we use the same toolchain for host and target by default.
- if (is_clang) {
- host_toolchain = "//build/toolchain/win:clang_$current_cpu"
- } else {
- host_toolchain = "//build/toolchain/win:$current_cpu"
- }
+ host_toolchain = "//build/toolchain/win:$current_cpu"
set_default_toolchain("$host_toolchain")
} else if (is_android) {
if (host_os == "linux") {
« no previous file with comments | « build/.gitignore ('k') | build/config/compiler/BUILD.gn » ('j') | utils/invoke_dart.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698