blob: 6c0ff48a03306068dc77bc9ffc2dc70eb7e8f80b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- gpu/config/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/config/BUILD.gn
@@ -8,7 +8,8 @@ import("//build/config/ui.gni")
declare_args() {
# Use the PCI lib to collect GPU information on Linux.
- use_libpci = is_linux && (!is_chromecast || is_cast_desktop_build) &&
+ use_libpci = (is_linux || is_bsd) &&
+ (!is_chromecast || is_cast_desktop_build) &&
(use_x11 || use_ozone)
}
@@ -101,6 +102,14 @@ source_set("config_sources") {
]
}
}
+
+ if (is_bsd) {
+ sources -= [
+ "gpu_info_collector_linux.cc",
+ "gpu_info_collector_linux.h"
+ ]
+ }
+
if (is_mac) {
libs = [
"IOKit.framework",
|