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

Unified Diff: content/common/BUILD.gn

Issue 1253363004: ozone gbm: whitelist 3 DRM ioctl code for native GpuMemoryBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments for USE_VGEM_MAP define Created 5 years, 4 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 17113e25a06a8099d7765d9d69f7964705dd648d..2d0350f8e56de3f6d3e064a0f8920c302fcefed8 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -6,6 +6,8 @@ import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//content/common/common.gni")
import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
+import("//ui/ozone/ozone.gni")
+
if (is_mac) {
import("//build/config/mac/mac_sdk.gni")
}
@@ -463,6 +465,10 @@ source_set("common") {
if (use_seccomp_bpf) {
defines += [ "USE_SECCOMP_BPF" ]
+
+ if (use_vgem_map) {
+ defines += [ "USE_VGEM_MAP" ]
+ }
} else {
if (is_linux) {
sources -= [
« no previous file with comments | « no previous file | content/common/sandbox_linux/bpf_renderer_policy_linux.cc » ('j') | content/content_common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698