OLD | NEW |
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 import("//tools/generate_library_loader/generate_library_loader.gni") | 9 import("//tools/generate_library_loader/generate_library_loader.gni") |
10 | 10 |
11 config("sdk") { | 11 config("sdk") { |
12 if (sysroot != "") { | 12 if (sysroot != "") { |
13 cflags = [ "--sysroot=" + sysroot ] | 13 cflags = [ "--sysroot=" + sysroot ] |
14 ldflags = [ "--sysroot=" + sysroot ] | 14 ldflags = [ "--sysroot=" + sysroot ] |
15 | 15 |
16 # Need to get some linker flags out of the sysroot. | 16 # Need to get some linker flags out of the sysroot. |
17 ldflags += [ exec_script("sysroot_ld_path.py", | 17 ldflags += [ exec_script("sysroot_ld_path.py", |
18 [ rebase_path("//build/linux/sysroot_ld_path.sh", root_build_dir), | 18 [ rebase_path("//build/linux/sysroot_ld_path.sh", root_build_dir), |
19 sysroot ], | 19 sysroot ], |
20 "value") ] | 20 "value") ] |
21 } | 21 } |
22 } | 22 } |
23 | 23 |
24 pkg_config("dridrm") { | 24 pkg_config("libdrm") { |
25 packages = [ "libdrm" ] | 25 packages = [ "libdrm" ] |
26 } | 26 } |
27 | 27 |
28 config("fontconfig") { | 28 config("fontconfig") { |
29 libs = [ "fontconfig" ] | 29 libs = [ "fontconfig" ] |
30 } | 30 } |
31 | 31 |
32 pkg_config("freetype2") { | 32 pkg_config("freetype2") { |
33 packages = [ "freetype2" ] | 33 packages = [ "freetype2" ] |
34 } | 34 } |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 "pci_alloc", | 181 "pci_alloc", |
182 "pci_init", | 182 "pci_init", |
183 "pci_cleanup", | 183 "pci_cleanup", |
184 "pci_scan_bus", | 184 "pci_scan_bus", |
185 "pci_fill_info", | 185 "pci_fill_info", |
186 "pci_lookup_name", | 186 "pci_lookup_name", |
187 ] | 187 ] |
188 } | 188 } |
189 | 189 |
190 # Looking for libspeechd? Use //third_party/speech-dispatcher | 190 # Looking for libspeechd? Use //third_party/speech-dispatcher |
OLD | NEW |