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

Unified Diff: ui/ozone/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: define use_vgem_map in single place 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: ui/ozone/BUILD.gn
diff --git a/ui/ozone/BUILD.gn b/ui/ozone/BUILD.gn
index 3f039b9d553b0d841a7d019a8a9db1426fd84121..1e107970f4f01ca8ae39a5fa74acc0f40160c5d0 100644
--- a/ui/ozone/BUILD.gn
+++ b/ui/ozone/BUILD.gn
@@ -45,6 +45,12 @@ platform_list_h_file = "$target_gen_dir/platform_list.h"
platform_list_txt_file = "$target_gen_dir/platform_list.txt"
constructor_list_cc_file = "$target_gen_dir/constructor_list.cc"
+config("vgem_map") {
+ if (use_vgem_map) {
+ defines = [ "USE_VGEM_MAP" ]
+ }
+}
+
# GYP version: ui/ozone/ozone.gyp:ozone_base
component("ozone_base") {
sources = [

Powered by Google App Engine
This is Rietveld 408576698