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