Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: sandbox/linux/BUILD.gn

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: not-leak USE_OZONE_GBM, GetSupportedGpuMemoryBufferConfigurations from ozone, return handle Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/linux/BUILD.gn
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn
index 84966854cec7762df3530489d16dfacb818f14ed..f7fefac17928e584c9e3f3e69cbf19a806ebb627 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,13 @@ component("seccomp_bpf_helpers") {
":sandbox_services",
":seccomp_bpf",
]
+
+ if (use_ozone) {
+ pkg_config("libdrm") {
+ packages = [ "libdrm" ]
+ }
+ public_configs = [ ":libdrm" ]
+ }
}
if (is_linux) {

Powered by Google App Engine
This is Rietveld 408576698