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

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: 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..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) {

Powered by Google App Engine
This is Rietveld 408576698