| 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/sysroot.gni") | 6 import("//build/config/sysroot.gni") |
| 7 | 7 |
| 8 config("sdk") { | 8 config("sdk") { |
| 9 if (sysroot != "") { | 9 if (sysroot != "") { |
| 10 cflags = [ "--sysroot=" + sysroot ] | 10 cflags = [ "--sysroot=" + sysroot ] |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 } | 41 } |
| 42 | 42 |
| 43 pkg_config("pangocairo") { | 43 pkg_config("pangocairo") { |
| 44 packages = [ "pangocairo" ] | 44 packages = [ "pangocairo" ] |
| 45 } | 45 } |
| 46 | 46 |
| 47 pkg_config("udev") { | 47 pkg_config("udev") { |
| 48 packages = [ "libudev" ] | 48 packages = [ "libudev" ] |
| 49 } | 49 } |
| 50 | 50 |
| 51 pkg_config("dbus") { |
| 52 packages = [ "dbus-1" ] |
| 53 } |
| 54 |
| 51 config("x11") { | 55 config("x11") { |
| 52 # Don't bother running pkg-config for these X related libraries since it just | 56 # Don't bother running pkg-config for these X related libraries since it just |
| 53 # returns the same libs, and forking pkg-config is slow. | 57 # returns the same libs, and forking pkg-config is slow. |
| 54 libs = [ | 58 libs = [ |
| 55 "X11", | 59 "X11", |
| 56 "Xcomposite", | 60 "Xcomposite", |
| 57 "Xcursor", | 61 "Xcursor", |
| 58 "Xdamage", | 62 "Xdamage", |
| 59 "Xext", | 63 "Xext", |
| 60 "Xfixes", | 64 "Xfixes", |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 176 |
| 173 functions = [ | 177 functions = [ |
| 174 "pci_alloc", | 178 "pci_alloc", |
| 175 "pci_init", | 179 "pci_init", |
| 176 "pci_cleanup", | 180 "pci_cleanup", |
| 177 "pci_scan_bus", | 181 "pci_scan_bus", |
| 178 "pci_fill_info", | 182 "pci_fill_info", |
| 179 "pci_lookup_name", | 183 "pci_lookup_name", |
| 180 ] | 184 ] |
| 181 } | 185 } |
| OLD | NEW |