Index: sandbox/linux/BUILD.gn |
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn |
index 211c22bd3dd7bf4c9ba7c5d0df8f0e3daf9ceb4b..e72d7db66bda8efc6ded43a44c07070405813c23 100644 |
--- a/sandbox/linux/BUILD.gn |
+++ b/sandbox/linux/BUILD.gn |
@@ -211,6 +211,14 @@ component("seccomp_bpf_helpers") { |
":sandbox_services", |
":seccomp_bpf", |
] |
+ |
+ if (ozone_platform_gbm == 1 && |
+ (current_cpu == "x86" || current_cpu == "x64")) { |
+ defines += [ "USE_OZONE_GBM_INTEL" ] |
+ pkg_config("libdrm_intel") { |
+ packages = [ "libdrm_intel" ] |
+ } |
+ } |
} |
if (is_linux) { |