Index: ui/ozone/platform/dri/BUILD.gn |
diff --git a/ui/ozone/platform/dri/BUILD.gn b/ui/ozone/platform/dri/BUILD.gn |
index f7d93d7c19ef3a9b261c50e7a4ce457a509e1269..e6ce8cacc1475197ea132e23b3ebc716301966ca 100644 |
--- a/ui/ozone/platform/dri/BUILD.gn |
+++ b/ui/ozone/platform/dri/BUILD.gn |
@@ -5,6 +5,10 @@ |
import("//build/config/linux/pkg_config.gni") |
import("//ui/ozone/ozone.gni") |
+pkg_config("libdrm") { |
+ packages = [ "libdrm" ] |
+} |
+ |
source_set("dri_common") { |
sources = [ |
"chromeos/display_mode_dri.cc", |
@@ -55,7 +59,7 @@ source_set("dri_common") { |
] |
direct_dependent_configs = [ |
- "//build/config/linux:libdrm", |
+ ":libdrm", |
] |
} |