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

Side by Side Diff: chrome/BUILD.gn

Issue 2070903002: Add an XPC service to handle alert notifications on mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_builder_add_response
Patch Set: Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | chrome/browser/notifications/notification_platform_bridge_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/locales.gni") 9 import("//build/config/locales.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 } 465 }
466 466
467 if (is_chrome_branded && is_official_build) { 467 if (is_chrome_branded && is_official_build) {
468 deps += [ 468 deps += [
469 ":chrome_dsym_archive", 469 ":chrome_dsym_archive",
470 ":chrome_dump_syms", 470 ":chrome_dump_syms",
471 ] 471 ]
472 } 472 }
473 } 473 }
474 474
475 if (enable_xpc_notifications) {
476 bundle_data("chrome_framework_services") {
477 sources = [
478 "$root_out_dir/AlertNotificationService.xpc",
479 ]
480
481 outputs = [
482 "{{bundle_root_dir}}/XPCServices/{{source_file_part}}",
483 ]
484
485 public_deps = [
486 "//chrome/browser/ui/cocoa/notifications:alert_notification_xpc_service" ,
487 ]
488 }
489 }
490
475 tweak_info_plist("chrome_app_plist") { 491 tweak_info_plist("chrome_app_plist") {
476 info_plist = "app/app-Info.plist" 492 info_plist = "app/app-Info.plist"
477 _keystone_arg = "0" 493 _keystone_arg = "0"
478 if (enable_mac_keystone) { 494 if (enable_mac_keystone) {
479 _keystone_arg = "1" 495 _keystone_arg = "1"
480 } 496 }
481 args = [ 497 args = [
482 "--breakpad=0", 498 "--breakpad=0",
483 "--keystone=$_keystone_arg", 499 "--keystone=$_keystone_arg",
484 "--scm=1", 500 "--scm=1",
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 ":packed_resources", 1011 ":packed_resources",
996 ":widevine_cdm_library", 1012 ":widevine_cdm_library",
997 "//build/config/sanitizers:deps", 1013 "//build/config/sanitizers:deps",
998 "//chrome/app/nibs:chrome_xibs", 1014 "//chrome/app/nibs:chrome_xibs",
999 ] 1015 ]
1000 1016
1001 if (is_chrome_branded) { 1017 if (is_chrome_branded) {
1002 deps += [ ":default_apps" ] 1018 deps += [ ":default_apps" ]
1003 } 1019 }
1004 1020
1021 if (enable_xpc_notifications) {
1022 deps += [ ":chrome_framework_services" ]
1023 }
1024
1005 ldflags = [ 1025 ldflags = [
1006 "-Wl,-install_name,@executable_path/../Versions/$chrome_version_full/$chro me_framework_name.framework/$chrome_framework_name", 1026 "-Wl,-install_name,@executable_path/../Versions/$chrome_version_full/$chro me_framework_name.framework/$chrome_framework_name",
1007 "-compatibility_version", 1027 "-compatibility_version",
1008 chrome_dylib_version, 1028 chrome_dylib_version,
1009 "-current_version", 1029 "-current_version",
1010 chrome_dylib_version, 1030 chrome_dylib_version,
1011 "-Wl,-order_file," + rebase_path("app/framework.order", root_build_dir), 1031 "-Wl,-order_file," + rebase_path("app/framework.order", root_build_dir),
1012 ] 1032 ]
1013 1033
1014 if (is_component_build) { 1034 if (is_component_build) {
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1544 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1525 "//chrome/tools/build/linux/chrome-wrapper", 1545 "//chrome/tools/build/linux/chrome-wrapper",
1526 "//third_party/xdg-utils/scripts/xdg-mime", 1546 "//third_party/xdg-utils/scripts/xdg-mime",
1527 "//third_party/xdg-utils/scripts/xdg-settings", 1547 "//third_party/xdg-utils/scripts/xdg-settings",
1528 ] 1548 ]
1529 outputs = [ 1549 outputs = [
1530 "$root_out_dir/{{source_file_part}}", 1550 "$root_out_dir/{{source_file_part}}",
1531 ] 1551 ]
1532 } 1552 }
1533 } 1553 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | chrome/browser/notifications/notification_platform_bridge_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698