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

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

Issue 2843493002: [ios] Partially decouple iOS and macOS GN configuration. (Closed)
Patch Set: Address comment. Created 3 years, 7 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 | « build/config/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
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 # WHAT IS THIS FILE? 6 # WHAT IS THIS FILE?
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # This is the master GN build configuration. This file is loaded after the 9 # This is the master GN build configuration. This file is loaded after the
10 # build args (args.gn) for the build directory and after the toplevel ".gn" 10 # build args (args.gn) for the build directory and after the toplevel ".gn"
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 if (is_win) { 537 if (is_win) {
538 # Many targets remove these configs, so they are not contained within 538 # Many targets remove these configs, so they are not contained within
539 # //build/config:executable_config for easy removal. 539 # //build/config:executable_config for easy removal.
540 _linker_configs = [ 540 _linker_configs = [
541 "//build/config/win:default_incremental_linking", 541 "//build/config/win:default_incremental_linking",
542 542
543 # Default to console-mode apps. Most of our targets are tests and such 543 # Default to console-mode apps. Most of our targets are tests and such
544 # that shouldn't use the windows subsystem. 544 # that shouldn't use the windows subsystem.
545 "//build/config/win:console", 545 "//build/config/win:console",
546 ] 546 ]
547 } else if (is_mac || is_ios) { 547 } else if (is_mac) {
548 _linker_configs = [ "//build/config/mac:strip_all" ] 548 _linker_configs = [ "//build/config/mac:strip_all" ]
549 } else { 549 } else {
550 _linker_configs = [] 550 _linker_configs = []
551 } 551 }
552 552
553 # Executable defaults. 553 # Executable defaults.
554 default_executable_configs = default_compiler_configs + [ 554 default_executable_configs = default_compiler_configs + [
555 "//build/config:default_libs", 555 "//build/config:default_libs",
556 "//build/config:executable_config", 556 "//build/config:executable_config",
557 ] + _linker_configs 557 ] + _linker_configs
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 set_defaults("component") { 651 set_defaults("component") {
652 if (is_component_build) { 652 if (is_component_build) {
653 configs = default_shared_library_configs 653 configs = default_shared_library_configs
654 if (is_android) { 654 if (is_android) {
655 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] 655 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
656 } 656 }
657 } else { 657 } else {
658 configs = default_compiler_configs 658 configs = default_compiler_configs
659 } 659 }
660 } 660 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698