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

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: rebase to ToT Created 5 years, 5 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 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") {
spang 2015/07/24 22:08:25 This isn't needed. <drm.h> is provided by libc. P
spang 2015/07/24 22:42:21 Er, it's actually <drm/drm.h>.
dshwang 2015/07/28 15:23:12 actually we need vgem_drm.h, so I add <libdrm/vgem
+ packages = [ "libdrm" ]
+ }
+ public_configs = [ ":libdrm" ]
+ }
}
if (is_linux) {

Powered by Google App Engine
This is Rietveld 408576698