Index: gpu/gpu_config.gypi |
diff --git a/gpu/gpu_config.gypi b/gpu/gpu_config.gypi |
index fc9306f89c1b7b6a1c02b0e257b67a0b243e81b6..b90143f502e97e1d92565fde633aea93bb4bfa50 100644 |
--- a/gpu/gpu_config.gypi |
+++ b/gpu/gpu_config.gypi |
@@ -65,7 +65,7 @@ |
'../third_party/amd/amd_videocard_info_win.cc', |
], |
}], |
- ['OS=="linux"', { |
+ ['OS=="linux" and (use_x11==1 or use_ozone==1)', { |
'dependencies': [ |
'../build/linux/system.gyp:libpci', |
], |