Index: ui/events/platform/BUILD.gn |
diff --git a/ui/events/platform/BUILD.gn b/ui/events/platform/BUILD.gn |
index 3a20219a33cc374d8a1be0d830cf2d92bb2bb08b..4008a2321fa461c8aac50770ba2afc6acc722639 100644 |
--- a/ui/events/platform/BUILD.gn |
+++ b/ui/events/platform/BUILD.gn |
@@ -6,6 +6,9 @@ import("//build/config/ui.gni") |
component("platform") { |
sources = [ |
+ # Allow this target to include events_export.h without depending on the |
+ # events target (which would be circular). |
+ "../events_export.h", |
"platform_event_dispatcher.h", |
"platform_event_observer.h", |
"platform_event_source.cc", |
@@ -21,7 +24,7 @@ component("platform") { |
] |
deps = [ |
- "//base" |
+ "//base", |
] |
if (use_x11) { |