Index: sandbox/linux/BUILD.gn |
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn |
index a1a77204f5f370a1a0c65c19a32b084e7e541b28..d61ffe62c20f02949f63e22f4b7603f5d16869ab 100644 |
--- a/sandbox/linux/BUILD.gn |
+++ b/sandbox/linux/BUILD.gn |
@@ -3,6 +3,8 @@ |
# found in the LICENSE file. |
import("//build/config/features.gni") |
+import("//build/config/ui.gni") |
+import("//build/config/linux/pkg_config.gni") |
import("//testing/test.gni") |
declare_args() { |
@@ -225,6 +227,13 @@ component("seccomp_bpf_helpers") { |
":sandbox_services", |
":seccomp_bpf", |
] |
+ |
+ if (use_ozone) { |
+ pkg_config("libdrm") { |
+ packages = [ "libdrm" ] |
+ } |
+ public_configs = [ ":libdrm" ] |
+ } |
} |
if (is_linux) { |