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

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 2214743002: Win/GN: Make no_exception config explicit. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix formatting Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | build/config/win/BUILD.gn » ('j') | build/config/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 # PLATFORM SELECTION 6 # PLATFORM SELECTION
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name
10 # of the GN thing that encodes combinations of these things. 10 # of the GN thing that encodes combinations of these things.
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 "//build/config/compiler:default_optimization", 460 "//build/config/compiler:default_optimization",
461 "//build/config/compiler:default_symbols", 461 "//build/config/compiler:default_symbols",
462 "//build/config/compiler:no_rtti", 462 "//build/config/compiler:no_rtti",
463 "//build/config/compiler:runtime_library", 463 "//build/config/compiler:runtime_library",
464 "//build/config/sanitizers:default_sanitizer_flags", 464 "//build/config/sanitizers:default_sanitizer_flags",
465 ] 465 ]
466 if (is_win) { 466 if (is_win) {
467 default_compiler_configs += [ 467 default_compiler_configs += [
468 "//build/config/win:lean_and_mean", 468 "//build/config/win:lean_and_mean",
469 "//build/config/win:nominmax", 469 "//build/config/win:nominmax",
470 "//build/config/win:no_exceptions",
470 "//build/config/win:unicode", 471 "//build/config/win:unicode",
471 "//build/config/win:winver", 472 "//build/config/win:winver",
472 "//build/config/win:vs_code_analysis", 473 "//build/config/win:vs_code_analysis",
473 ] 474 ]
474 } 475 }
475 if (current_os == "winrt_81" || current_os == "winrt_81_phone" || 476 if (current_os == "winrt_81" || current_os == "winrt_81_phone" ||
476 current_os == "winrt_10") { 477 current_os == "winrt_10") {
477 default_compiler_configs += [ "//build/config/win:target_winrt" ] 478 default_compiler_configs += [ "//build/config/win:target_winrt" ]
478 } 479 }
479 if (is_posix) { 480 if (is_posix) {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 set_defaults("component") { 625 set_defaults("component") {
625 if (is_component_build) { 626 if (is_component_build) {
626 configs = default_shared_library_configs 627 configs = default_shared_library_configs
627 if (is_android) { 628 if (is_android) {
628 configs -= [ "//build/config/android:hide_native_jni_exports" ] 629 configs -= [ "//build/config/android:hide_native_jni_exports" ]
629 } 630 }
630 } else { 631 } else {
631 configs = default_compiler_configs 632 configs = default_compiler_configs
632 } 633 }
633 } 634 }
OLDNEW
« no previous file with comments | « no previous file | build/config/win/BUILD.gn » ('j') | build/config/win/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698