Index: chrome/browser/ui/cocoa/notifications/BUILD.gn |
diff --git a/chrome/browser/ui/cocoa/notifications/BUILD.gn b/chrome/browser/ui/cocoa/notifications/BUILD.gn |
index 57a45135210e102c6b9696d44274d569d37d3986..bbaa3c9da7282c290bf6210b1750aac7bff504ed 100644 |
--- a/chrome/browser/ui/cocoa/notifications/BUILD.gn |
+++ b/chrome/browser/ui/cocoa/notifications/BUILD.gn |
@@ -2,6 +2,36 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/util/branding.gni") |
+import("//build/config/mac/rules.gni") |
+ |
+mac_app_bundle("alert_notification_xpc_service") { |
+ output_name = "AlertNotificationService" |
+ bundle_extension = "xpc" |
+ |
+ info_plist = "xpc-Info.plist" |
+ extra_substitutions = |
+ [ "PRODUCT_BUNDLE_IDENTIFIER=$chrome_mac_bundle_id.$output_name" ] |
+ |
+ sources = [ |
+ "alert_notification_service.h", |
+ "alert_notification_service.mm", |
+ "notification_delivery.h", |
+ "notification_service_delegate.h", |
+ "notification_service_delegate.mm", |
+ "xpc_service_main.mm", |
+ ] |
+ |
+ deps = [ |
+ ":common", |
+ ] |
+ |
+ libs = [ |
+ "AppKit.framework", |
+ "Foundation.framework", |
+ ] |
+} |
+ |
static_library("common") { |
sources = [ |
"notification_builder_mac.h", |