Index: gpu/config/BUILD.gn |
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn |
index 30984e308a38a1fc5491152103c848fa622a486e..b46d984074e6222366c3daf88360e0e65411d3b3 100644 |
--- a/gpu/config/BUILD.gn |
+++ b/gpu/config/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/features.gni") |
dnicoara
2014/08/12 16:12:52
I don't think you need this anymore.
Mostyn Bramley-Moore
2014/08/12 18:18:46
Done.
|
import("//build/config/ui.gni") |
source_set("config") { |
@@ -59,7 +60,7 @@ source_set("config") { |
] |
} |
} |
- if (is_linux) { |
+ if (is_linux && (use_x11 || use_ozone)) { |
deps += [ |
"//build/config/linux:libpci", |
] |