Index: ui/message_center/BUILD.gn |
diff --git a/ui/message_center/BUILD.gn b/ui/message_center/BUILD.gn |
index 8d129a6fc4950069f3b49cd7701c26909270335d..ec039bff2de5d829c78d8f5f25bb3d6ec79f9f8c 100644 |
--- a/ui/message_center/BUILD.gn |
+++ b/ui/message_center/BUILD.gn |
@@ -32,7 +32,7 @@ component("message_center") { |
defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] |
- if (enable_notifications && !is_android) { |
+ if (enable_notifications && (!is_android || use_aura)) { |
sources = [ |
"cocoa/notification_controller.h", |
"cocoa/notification_controller.mm", |