Index: ui/events/BUILD.gn |
diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn |
index 7b891e0f7f0d0cfd9dead107eede90fbdd0e4c43..79a69cdeb70597e2e2b729b34bd55a8f4752f029 100644 |
--- a/ui/events/BUILD.gn |
+++ b/ui/events/BUILD.gn |
@@ -82,6 +82,13 @@ component("events_base") { |
if (!is_ios) { |
deps += [ "//ipc:param_traits" ] |
} |
+ |
+ if (is_mac) { |
+ libs = [ |
+ "AppKit.framework", |
+ "Carbon.framework", |
+ ] |
+ } |
} |
component("events") { |
@@ -201,6 +208,10 @@ component("events") { |
":motionevent_jni_headers", |
] |
} |
+ |
+ if (is_mac) { |
+ libs = [ "AppKit.framework" ] |
+ } |
} |
component("gesture_detection") { |