| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/util/branding.gni") | 5 import("//build/util/branding.gni") |
| 6 import("//build/config/mac/rules.gni") | 6 import("//build/config/mac/rules.gni") |
| 7 | 7 |
| 8 mac_app_bundle("alert_notification_xpc_service") { | 8 mac_app_bundle("alert_notification_xpc_service") { |
| 9 output_name = "AlertNotificationService" | 9 output_name = "AlertNotificationService" |
| 10 package_type = "xpc" | 10 package_type = "xpc" |
| 11 | 11 |
| 12 info_plist = "xpc-Info.plist" | 12 info_plist = "xpc-Info.plist" |
| 13 extra_substitutions = [ "CHROME_BUNDLE_ID=$chrome_mac_bundle_id" ] | 13 extra_substitutions = [ "CHROME_BUNDLE_ID=$chrome_mac_bundle_id" ] |
| 14 | 14 |
| 15 sources = [ | 15 sources = [ |
| 16 "alert_notification_service.h", | 16 "alert_notification_service.h", |
| 17 "alert_notification_service.mm", | 17 "alert_notification_service.mm", |
| 18 "notification_service_delegate.h", | 18 "notification_service_delegate.h", |
| 19 "notification_service_delegate.mm", | 19 "notification_service_delegate.mm", |
| 20 "xpc_service_main.mm", | 20 "xpc_service_main.mm", |
| 21 "xpc_transaction_handler.h", |
| 22 "xpc_transaction_handler.mm", |
| 21 ] | 23 ] |
| 22 | 24 |
| 23 deps = [ | 25 deps = [ |
| 24 ":common", | 26 ":common", |
| 25 "//base:base", | 27 "//base:base", |
| 26 ] | 28 ] |
| 27 | 29 |
| 28 libs = [ | 30 libs = [ |
| 29 "AppKit.framework", | 31 "AppKit.framework", |
| 30 "Foundation.framework", | 32 "Foundation.framework", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 50 "notification_constants_mac.mm", | 52 "notification_constants_mac.mm", |
| 51 "notification_delivery.h", | 53 "notification_delivery.h", |
| 52 "notification_response_builder_mac.h", | 54 "notification_response_builder_mac.h", |
| 53 "notification_response_builder_mac.mm", | 55 "notification_response_builder_mac.mm", |
| 54 ] | 56 ] |
| 55 | 57 |
| 56 deps = [ | 58 deps = [ |
| 57 "//base:base", | 59 "//base:base", |
| 58 ] | 60 ] |
| 59 } | 61 } |
| OLD | NEW |