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

Side by Side 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: fix pdb flags 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 unified diff | Download patch
« no previous file with comments | « no previous file | build/toolchain/win/BUILD.gn » ('j') | build/toolchain/win/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # ============================================================================= 5 # =============================================================================
6 # BUILD FLAGS 6 # BUILD FLAGS
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # This block lists input arguments to the build, along with their default 9 # This block lists input arguments to the build, along with their default
10 # values. GN requires listing them explicitly so it can validate input and have 10 # values. GN requires listing them explicitly so it can validate input and have
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 # Linux is slowed by having symbols as part of the target binary, whereas 366 # Linux is slowed by having symbols as part of the target binary, whereas
367 # Mac and Windows have them separate, so in Release Linux, default them off. 367 # Mac and Windows have them separate, so in Release Linux, default them off.
368 if (is_debug || !is_linux) { 368 if (is_debug || !is_linux) {
369 symbol_level = 2 369 symbol_level = 2
370 } else { 370 } else {
371 symbol_level = 0 371 symbol_level = 0
372 } 372 }
373 } 373 }
374 374
375 # Symbol setup. 375 # Symbol setup.
376 if (symbol_level == 2) { 376 if (is_win && use_goma) {
377 _default_symbols_config = "//build/config/compiler:no_symbols"
scottmg 2014/11/20 04:58:34 this should be minimal_symbols not no_symbols, oth
Dirk Pranke 2014/11/20 05:01:03 Okay, I will look into this more tomorrow.
378 } else if (symbol_level == 2) {
Dirk Pranke 2014/11/20 03:47:13 I'm not sure if this is a great place for a win-go
377 _default_symbols_config = "//build/config/compiler:symbols" 379 _default_symbols_config = "//build/config/compiler:symbols"
378 } else if (symbol_level == 1) { 380 } else if (symbol_level == 1) {
379 _default_symbols_config = "//build/config/compiler:minimal_symbols" 381 _default_symbols_config = "//build/config/compiler:minimal_symbols"
380 } else if (symbol_level == 0) { 382 } else if (symbol_level == 0) {
381 _default_symbols_config = "//build/config/compiler:no_symbols" 383 _default_symbols_config = "//build/config/compiler:no_symbols"
382 } else { 384 } else {
383 assert(false, "Bad value for symbol_level.") 385 assert(false, "Bad value for symbol_level.")
384 } 386 }
385 _native_compiler_configs += [ _default_symbols_config ] 387 _native_compiler_configs += [ _default_symbols_config ]
386 388
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 if (defined(invoker.output_extension)) { output_extension = invoker.output _extension } 694 if (defined(invoker.output_extension)) { output_extension = invoker.output _extension }
693 if (defined(invoker.output_name)) { output_name = invoker.output_name } 695 if (defined(invoker.output_name)) { output_name = invoker.output_name }
694 if (defined(invoker.public)) { public = invoker.public } 696 if (defined(invoker.public)) { public = invoker.public }
695 if (defined(invoker.public_configs)) { public_configs = invoker.public_con figs } 697 if (defined(invoker.public_configs)) { public_configs = invoker.public_con figs }
696 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } 698 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps }
697 if (defined(invoker.sources)) { sources = invoker.sources } 699 if (defined(invoker.sources)) { sources = invoker.sources }
698 if (defined(invoker.visibility)) { visibility = invoker.visibility } 700 if (defined(invoker.visibility)) { visibility = invoker.visibility }
699 } 701 }
700 } 702 }
701 } 703 }
OLDNEW
« no previous file with comments | « no previous file | build/toolchain/win/BUILD.gn » ('j') | build/toolchain/win/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698