OLD | NEW |
---|---|
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 Loading... | |
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 Loading... | |
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 } |
OLD | NEW |