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

Unified Diff: content/common/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: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index 25bb75168a4d04ce1e1bdac578287a3f01f2498d..4a7a917153f2c9279b54945dfa5a91fb3cdfc9d1 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -238,6 +238,18 @@ source_set("common") {
libs += [ "android" ]
}
+ if (ozone_platform_gbm == 1 &&
+ (current_cpu == "x86" || current_cpu == "x64")) {
+ defines += [ "USE_OZONE_GBM_INTEL" ]
+ sources += [
+ "gpu/client/gpu_memory_buffer_impl_ozone_gbm_intel.cc",
+ "gpu/client/gpu_memory_buffer_impl_ozone_gbm_intel.h",
+ ]
+ pkg_config("libdrm_intel") {
+ packages = [ "libdrm_intel" ]
+ }
+ }
+
if (is_ios) {
sources -= [ "user_agent.cc" ]
assert(false, "Need to add lots of conditions here")

Powered by Google App Engine
This is Rietveld 408576698