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 -= [ |