Index: gpu/config/BUILD.gn |
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn |
index 30984e308a38a1fc5491152103c848fa622a486e..ef64887cc26966c1c937283cf9b1d5a042107fdc 100644 |
--- a/gpu/config/BUILD.gn |
+++ b/gpu/config/BUILD.gn |
@@ -59,7 +59,7 @@ source_set("config") { |
] |
} |
} |
- if (is_linux) { |
+ if (is_linux && (use_x11 || use_ozone)) { |
deps += [ |
"//build/config/linux:libpci", |
] |