1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- gpu/gpu_config.gypi.orig 2016-05-11 19:02:23 UTC
+++ gpu/gpu_config.gypi
@@ -71,7 +71,7 @@
'../build/linux/system.gyp:libpci',
],
}],
- ['OS=="linux" and use_x11==1', {
+ ['(OS=="linux" or os_bsd==1) and use_x11==1', {
'dependencies': [
'../build/linux/system.gyp:x11',
'../build/linux/system.gyp:xext',
@@ -79,5 +79,11 @@
'../ui/gfx/x/gfx_x11.gyp:gfx_x11',
],
}],
+ ['os_bsd==1', {
+ 'sources!': [
+ 'config/gpu_info_collector_linux.cc',
+ 'config/gpu_info_collector_linux.h',
+ ],
+ }]
],
}
|