Index: sandbox/linux/BUILD.gn |
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn |
index 84966854cec7762df3530489d16dfacb818f14ed..f42ac3247903d64c438b0bd92b7dea0640fbd683 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() { |
@@ -212,6 +214,14 @@ component("seccomp_bpf_helpers") { |
":sandbox_services", |
":seccomp_bpf", |
] |
+ |
+ if (ozone_platform_gbm) { |
+ defines += [ "USE_OZONE_GBM" ] |
+ pkg_config("libdrm") { |
+ packages = [ "libdrm" ] |
+ } |
+ public_configs = [ ":libdrm" ] |
+ } |
} |
if (is_linux) { |