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

Unified Diff: sandbox/linux/BUILD.gn

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 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) {

Powered by Google App Engine
This is Rietveld 408576698