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

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: move code to content/ 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")
brettw 2015/08/24 21:53:38 A better way to do this would be to add a config /
dshwang 2015/08/26 14:18:02 AFAIK, there is no way to inherit DEFINE value fro
brettw 2015/08/26 22:27:49 In ui/ozone/BUILD.gn: config("vgem_map") { i
dshwang 2015/08/27 12:47:09 Oh, there is a way. Thank you for explaining! Now
+
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 -= [

Powered by Google App Engine
This is Rietveld 408576698