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

Side by Side Diff: chrome/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 unified diff | Download patch
« no previous file with comments | « build/config/mac/write_pkg_info.py ('k') | chrome/app/theme/chromium/BRANDING » ('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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 } 437 }
438 438
439 if (is_chrome_branded && is_official_build) { 439 if (is_chrome_branded && is_official_build) {
440 deps += [ 440 deps += [
441 ":chrome_dsym_archive", 441 ":chrome_dsym_archive",
442 ":chrome_dump_syms", 442 ":chrome_dump_syms",
443 ] 443 ]
444 } 444 }
445 } 445 }
446 446
447 bundle_data("chrome_framework_services") {
448 sources = [
449 "$root_out_dir/AlertNotificationService.xpc",
450 ]
451
452 outputs = [
453 "{{bundle_root_dir}}/XPCServices/{{source_file_part}}",
454 ]
455
456 public_deps = [
457 "//chrome/browser/ui/cocoa/notifications:alert_notification_xpc_service",
458 ]
459 }
460
447 tweak_info_plist("chrome_app_plist") { 461 tweak_info_plist("chrome_app_plist") {
448 info_plist = "app/app-Info.plist" 462 info_plist = "app/app-Info.plist"
449 _keystone_arg = "0" 463 _keystone_arg = "0"
450 if (enable_mac_keystone) { 464 if (enable_mac_keystone) {
451 _keystone_arg = "1" 465 _keystone_arg = "1"
452 } 466 }
453 args = [ 467 args = [
454 "--breakpad=0", 468 "--breakpad=0",
455 "--keystone=$_keystone_arg", 469 "--keystone=$_keystone_arg",
456 "--scm=1", 470 "--scm=1",
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 788
775 if (enable_nacl) { 789 if (enable_nacl) {
776 sources += [ "$root_out_dir/nacl_irt_x86_64.nexe" ] 790 sources += [ "$root_out_dir/nacl_irt_x86_64.nexe" ]
777 public_deps += [ "//ppapi/native_client:irt" ] 791 public_deps += [ "//ppapi/native_client:irt" ]
778 } 792 }
779 } 793 }
780 } else { 794 } else {
781 group("chrome_framework_plugins") { 795 group("chrome_framework_plugins") {
782 } 796 }
783 } 797 }
784
785 if (is_chrome_branded) { 798 if (is_chrome_branded) {
786 bundle_data("flash_player_plugin") { 799 bundle_data("flash_player_plugin") {
787 sources = [ 800 sources = [
788 "$root_out_dir/PepperFlash/PepperFlashPlayer.plugin", 801 "$root_out_dir/PepperFlash/PepperFlashPlayer.plugin",
789 "$root_out_dir/PepperFlash/manifest.json", 802 "$root_out_dir/PepperFlash/manifest.json",
790 ] 803 ]
791 outputs = [ 804 outputs = [
792 "{{bundle_root_dir}}/Internet Plug-Ins/PepperFlash/{{source_file_part}}" , 805 "{{bundle_root_dir}}/Internet Plug-Ins/PepperFlash/{{source_file_part}}" ,
793 ] 806 ]
794 public_deps = [ 807 public_deps = [
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 962
950 public_deps = [ 963 public_deps = [
951 ":chrome_dll", 964 ":chrome_dll",
952 ] 965 ]
953 966
954 deps = [ 967 deps = [
955 ":chrome_framework_helpers", 968 ":chrome_framework_helpers",
956 ":chrome_framework_locales", 969 ":chrome_framework_locales",
957 ":chrome_framework_plugins", 970 ":chrome_framework_plugins",
958 ":chrome_framework_resources", 971 ":chrome_framework_resources",
972 ":chrome_framework_services",
959 ":flash_player_plugin", 973 ":flash_player_plugin",
960 ":widevine_cdm_library", 974 ":widevine_cdm_library",
961 "//build/config/sanitizers:deps", 975 "//build/config/sanitizers:deps",
962 "//chrome/app/nibs:chrome_xibs", 976 "//chrome/app/nibs:chrome_xibs",
963 ] 977 ]
964 978
965 if (is_chrome_branded) { 979 if (is_chrome_branded) {
966 deps += [ ":default_apps" ] 980 deps += [ ":default_apps" ]
967 } 981 }
968 982
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1788 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1775 "//chrome/tools/build/linux/chrome-wrapper", 1789 "//chrome/tools/build/linux/chrome-wrapper",
1776 "//third_party/xdg-utils/scripts/xdg-mime", 1790 "//third_party/xdg-utils/scripts/xdg-mime",
1777 "//third_party/xdg-utils/scripts/xdg-settings", 1791 "//third_party/xdg-utils/scripts/xdg-settings",
1778 ] 1792 ]
1779 outputs = [ 1793 outputs = [
1780 "$root_out_dir/{{source_file_part}}", 1794 "$root_out_dir/{{source_file_part}}",
1781 ] 1795 ]
1782 } 1796 }
1783 } 1797 }
OLDNEW
« no previous file with comments | « build/config/mac/write_pkg_info.py ('k') | chrome/app/theme/chromium/BRANDING » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698