Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1037)

Unified Diff: chrome/browser/ui/cocoa/notifications/BUILD.gn

Issue 2047643003: DO NOT SUBMIT. Implement an XPCService for notifications. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge to use AlertNotificationService Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",

Powered by Google App Engine
This is Rietveld 408576698