Index: content/gpu/BUILD.gn |
diff --git a/content/gpu/BUILD.gn b/content/gpu/BUILD.gn |
index 0de39883ff16727a88d3a0d8fcafe48b11a563d0..bb985245f009a4a8fc85224bf8a4efe1b1ed27d3 100644 |
--- a/content/gpu/BUILD.gn |
+++ b/content/gpu/BUILD.gn |
@@ -4,6 +4,7 @@ |
import("//build/config/ui.gni") |
import("//media/media_options.gni") |
+import("//ui/ozone/ozone.gni") |
# See //content/BUILD.gn for how this works. |
group("gpu") { |
@@ -100,6 +101,10 @@ target(link_target_type, "gpu_sources") { |
if (use_ozone) { |
deps += [ "//ui/ozone" ] |
+ |
+ if (ozone_platform_x11) { |
+ defines = [ "OZONE_X11" ] |
+ } |
} |
if (enable_vulkan) { |