Index: services/native_viewport/BUILD.gn |
diff --git a/services/native_viewport/BUILD.gn b/services/native_viewport/BUILD.gn |
index e3147d193c099c0104accbf5eb6f58990dc31de6..b07fc20d684deb08cb3c6ccc225f62094b957acd 100644 |
--- a/services/native_viewport/BUILD.gn |
+++ b/services/native_viewport/BUILD.gn |
@@ -119,6 +119,11 @@ source_set("lib") { |
sources -= [ "platform_viewport_x11.cc" ] |
} |
+ if (use_ozone) { |
+ sources += [ "platform_viewport_ozone.cc" ] |
+ deps += [ "//ui/ozone" ] |
+ } |
+ |
if (is_win) { |
deps += [ "//ui/platform_window/win" ] |
} |