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

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
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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 573
574 config("runtime_library") { 574 config("runtime_library") {
575 defines = [] 575 defines = []
576 configs = [] 576 configs = []
577 577
578 # System-specific flags. If your compiler flags apply to one of the 578 # System-specific flags. If your compiler flags apply to one of the
579 # categories here, add it to the associated file to keep this shared config 579 # categories here, add it to the associated file to keep this shared config
580 # smaller. 580 # smaller.
581 if (is_win) { 581 if (is_win) {
582 configs += [ "//build/config/win:runtime_library" ] 582 configs += [ "//build/config/win:runtime_library" ]
583 } else if (is_linux) {
584 configs += [ "//build/config/linux:runtime_library" ]
585 } else if (is_ios) {
586 configs += [ "//build/config/ios:runtime_library" ]
587 } else if (is_mac) {
588 configs += [ "//build/config/mac:runtime_library" ]
583 } else if (is_android) { 589 } else if (is_android) {
584 configs += [ "//build/config/android:runtime_library" ] 590 configs += [ "//build/config/android:runtime_library" ]
585 } 591 }
586 592
593 if (is_posix) {
594 configs += [ "//build/config/posix:runtime_library" ]
595 }
596
587 if (is_component_build) { 597 if (is_component_build) {
588 defines += [ "COMPONENT_BUILD" ] 598 defines += [ "COMPONENT_BUILD" ]
589 } 599 }
590 } 600 }
591 601
592 # default_warning_flags collects all warning flags that are used by default. 602 # default_warning_flags collects all warning flags that are used by default.
593 # This is in a variable instead of a config so that it can be used in 603 # This is in a variable instead of a config so that it can be used in
594 # both chromium_code and no_chromium_code. This way these flags are guaranteed 604 # both chromium_code and no_chromium_code. This way these flags are guaranteed
595 # to appear on the compile command line after -Wall. 605 # to appear on the compile command line after -Wall.
596 606
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 if (symbol_level == 0) { 1231 if (symbol_level == 0) {
1222 configs = [ ":no_symbols" ] 1232 configs = [ ":no_symbols" ]
1223 } else if (symbol_level == 1) { 1233 } else if (symbol_level == 1) {
1224 configs = [ ":minimal_symbols" ] 1234 configs = [ ":minimal_symbols" ]
1225 } else if (symbol_level == 2) { 1235 } else if (symbol_level == 2) {
1226 configs = [ ":symbols" ] 1236 configs = [ ":symbols" ]
1227 } else { 1237 } else {
1228 assert(false) 1238 assert(false)
1229 } 1239 }
1230 } 1240 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698