Chromium Code Reviews| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 172 | 172 |
| 173 functions = [ | 173 functions = [ |
| 174 "pci_alloc", | 174 "pci_alloc", |
| 175 "pci_init", | 175 "pci_init", |
| 176 "pci_cleanup", | 176 "pci_cleanup", |
| 177 "pci_scan_bus", | 177 "pci_scan_bus", |
| 178 "pci_fill_info", | 178 "pci_fill_info", |
| 179 "pci_lookup_name", | 179 "pci_lookup_name", |
| 180 ] | 180 ] |
| 181 } | 181 } |
| 182 | |
| 183 # Note: in GYP this runs libgcrypt-config with some horrible sed stuff. This | |
|
Lei Zhang
2014/06/02 20:59:33
In http://crrev.com/271563, I removed the libgcryp
Lei Zhang
2014/06/02 23:33:27
Please remove this.
| |
| 184 # config seems to just return "-lgcrypt" on supported systems, so just do that. | |
| 185 config("libgcrypt") { | |
| 186 libs = [ "gcrypt" ] | |
| 187 } | |
| OLD | NEW |