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

Side by Side Diff: build/config/linux/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/ios/BUILD.gn ('k') | build/config/linux/sysroot_ld_path.py » ('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/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/sysroot.gni") 7 import("//build/config/sysroot.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 9
10 config("sdk") { 10 # This is included by reference in the //build/config/compiler:runtime_library
11 if (sysroot != "") { 11 # config that is applied to all targets. It is here to separate out the logic
12 cflags = [ "--sysroot=" + sysroot ] 12 # that is Linux-only. Please see that target for advice on what should go in
13 ldflags = [ "--sysroot=" + sysroot ] 13 # :runtime_library vs. :compiler.
14 14 config("runtime_library") {
15 # Need to get some linker flags out of the sysroot.
16 ldflags += [ exec_script("sysroot_ld_path.py",
17 [
18 rebase_path("//build/linux/sysroot_ld_path.sh",
19 root_build_dir),
20 sysroot,
21 ],
22 "value") ]
23 }
24
25 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like 15 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like
26 # OS_LINUX and the like. 16 # OS_LINUX and the like.
27 if (is_chromeos) { 17 if (is_chromeos) {
28 defines = [ "OS_CHROMEOS" ] 18 defines = [ "OS_CHROMEOS" ]
29 } 19 }
30 } 20 }
31 21
32 config("fontconfig") { 22 config("fontconfig") {
33 visibility = [ "//build/linux:fontconfig" ] 23 visibility = [ "//build/linux:fontconfig" ]
34 24
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "-Wno-unused-function", 133 "-Wno-unused-function",
144 ] 134 ]
145 } 135 }
146 136
147 pkg_config("gconf") { 137 pkg_config("gconf") {
148 packages = [ "gconf-2.0" ] 138 packages = [ "gconf-2.0" ]
149 defines = [ "USE_GCONF" ] 139 defines = [ "USE_GCONF" ]
150 } 140 }
151 } 141 }
152 } 142 }
OLDNEW
« no previous file with comments | « build/config/ios/BUILD.gn ('k') | build/config/linux/sysroot_ld_path.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698