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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 738333002: Make goma work on win GN builds. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: update w/ more review feedback; get vc_bin_dir from setup_toolchain.py Created 6 years, 1 month 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
« no previous file with comments | « no previous file | build/toolchain/win/BUILD.gn » ('j') | build/toolchain/win/setup_toolchain.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILDCONFIG.gn
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
index 0d65c44da6405e085e737fc6ad50a1f47a13fdbb..6718767e9d5a37e319ddeb8a7e3e28c143b388a0 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -373,8 +373,14 @@ if (symbol_level == -1) {
}
# Symbol setup.
+import("//build/toolchain/goma.gni")
Dirk Pranke 2014/11/21 22:16:42 We still have the concerns about global goma vars
if (symbol_level == 2) {
- _default_symbols_config = "//build/config/compiler:symbols"
+ if (is_win && use_goma) {
+ # GOMA doesn't support full symbols on Win.
scottmg 2014/11/21 22:26:59 please change this comment still
+ _default_symbols_config = "//build/config/compiler:minimal_symbols"
+ } else {
+ _default_symbols_config = "//build/config/compiler:symbols"
+ }
} else if (symbol_level == 1) {
_default_symbols_config = "//build/config/compiler:minimal_symbols"
} else if (symbol_level == 0) {
« no previous file with comments | « no previous file | build/toolchain/win/BUILD.gn » ('j') | build/toolchain/win/setup_toolchain.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698