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

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

Issue 427853004: Move libdrm target behind conditional (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/linux/system.gyp » ('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 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("libdrm") {
25 packages = [ "libdrm" ]
26 }
27
28 config("fontconfig") { 24 config("fontconfig") {
29 libs = [ "fontconfig" ] 25 libs = [ "fontconfig" ]
30 } 26 }
31 27
32 pkg_config("freetype2") { 28 pkg_config("freetype2") {
33 packages = [ "freetype2" ] 29 packages = [ "freetype2" ]
34 } 30 }
35 31
36 pkg_config("glib") { 32 pkg_config("glib") {
37 packages = [ "glib-2.0", "gmodule-2.0", "gobject-2.0", "gthread-2.0" ] 33 packages = [ "glib-2.0", "gmodule-2.0", "gobject-2.0", "gthread-2.0" ]
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "pci_alloc", 177 "pci_alloc",
182 "pci_init", 178 "pci_init",
183 "pci_cleanup", 179 "pci_cleanup",
184 "pci_scan_bus", 180 "pci_scan_bus",
185 "pci_fill_info", 181 "pci_fill_info",
186 "pci_lookup_name", 182 "pci_lookup_name",
187 ] 183 ]
188 } 184 }
189 185
190 # Looking for libspeechd? Use //third_party/speech-dispatcher 186 # Looking for libspeechd? Use //third_party/speech-dispatcher
OLDNEW
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698