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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 1367403002: Remove the GN *sdk targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/android/BUILD.gn ('k') | build/config/ios/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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/toolchain/ccache.gni") 8 import("//build/toolchain/ccache.gni")
9 9
10 if (current_cpu == "arm") { 10 if (current_cpu == "arm") {
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 486
487 config("runtime_library") { 487 config("runtime_library") {
488 defines = [] 488 defines = []
489 configs = [] 489 configs = []
490 490
491 # System-specific flags. If your compiler flags apply to one of the 491 # System-specific flags. If your compiler flags apply to one of the
492 # categories here, add it to the associated file to keep this shared config 492 # categories here, add it to the associated file to keep this shared config
493 # smaller. 493 # smaller.
494 if (is_win) { 494 if (is_win) {
495 configs += [ "//build/config/win:runtime_library" ] 495 configs += [ "//build/config/win:runtime_library" ]
496 } else if (is_linux) {
497 configs += [ "//build/config/linux:runtime_library" ]
498 } else if (is_ios) {
499 configs += [ "//build/config/ios:runtime_library" ]
500 } else if (is_mac) {
501 configs += [ "//build/config/mac:runtime_library" ]
496 } else if (is_android) { 502 } else if (is_android) {
497 configs += [ "//build/config/android:runtime_library" ] 503 configs += [ "//build/config/android:runtime_library" ]
498 } 504 }
499 505
506 if (is_posix) {
507 configs += [ "//build/config/posix:runtime_library" ]
508 }
509
500 if (is_component_build) { 510 if (is_component_build) {
501 defines += [ "COMPONENT_BUILD" ] 511 defines += [ "COMPONENT_BUILD" ]
502 } 512 }
503 } 513 }
504 514
505 # default_warning_flags collects all warning flags that are used by default. 515 # default_warning_flags collects all warning flags that are used by default.
506 # This is in a variable instead of a config so that it can be used in 516 # This is in a variable instead of a config so that it can be used in
507 # both chromium_code and no_chromium_code. This way these flags are guaranteed 517 # both chromium_code and no_chromium_code. This way these flags are guaranteed
508 # to appear on the compile command line after -Wall. 518 # to appear on the compile command line after -Wall.
509 519
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 if (symbol_level == 0) { 1148 if (symbol_level == 0) {
1139 configs = [ ":no_symbols" ] 1149 configs = [ ":no_symbols" ]
1140 } else if (symbol_level == 1) { 1150 } else if (symbol_level == 1) {
1141 configs = [ ":minimal_symbols" ] 1151 configs = [ ":minimal_symbols" ]
1142 } else if (symbol_level == 2) { 1152 } else if (symbol_level == 2) {
1143 configs = [ ":symbols" ] 1153 configs = [ ":symbols" ]
1144 } else { 1154 } else {
1145 assert(false) 1155 assert(false)
1146 } 1156 }
1147 } 1157 }
OLDNEW
« no previous file with comments | « build/config/android/BUILD.gn ('k') | build/config/ios/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698