| OLD | NEW |
| 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/compiler/pgo/pgo.gni") | 8 import("//build/config/compiler/pgo/pgo.gni") |
| 9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
| 10 import("//build/config/locales.gni") | 10 import("//build/config/locales.gni") |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 | 491 |
| 492 public_deps = [ | 492 public_deps = [ |
| 493 "//chrome/browser/ui/cocoa/notifications:alert_notification_xpc_service"
, | 493 "//chrome/browser/ui/cocoa/notifications:alert_notification_xpc_service"
, |
| 494 ] | 494 ] |
| 495 } | 495 } |
| 496 } | 496 } |
| 497 | 497 |
| 498 tweak_info_plist("chrome_app_plist") { | 498 tweak_info_plist("chrome_app_plist") { |
| 499 info_plist = "app/app-Info.plist" | 499 info_plist = "app/app-Info.plist" |
| 500 _keystone_arg = "0" | 500 _keystone_arg = "0" |
| 501 if (enable_mac_keystone) { | 501 if (is_chrome_branded) { |
| 502 _keystone_arg = "1" | 502 _keystone_arg = "1" |
| 503 } | 503 } |
| 504 args = [ | 504 args = [ |
| 505 "--breakpad=0", | 505 "--breakpad=0", |
| 506 "--keystone=$_keystone_arg", | 506 "--keystone=$_keystone_arg", |
| 507 "--scm=1", | 507 "--scm=1", |
| 508 "--bundle_id=$chrome_mac_bundle_id", | 508 "--bundle_id=$chrome_mac_bundle_id", |
| 509 ] | 509 ] |
| 510 } | 510 } |
| 511 | 511 |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 | 754 |
| 755 outputs = [ | 755 outputs = [ |
| 756 "{{bundle_resources_dir}}/{{source_file_part}}", | 756 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 757 ] | 757 ] |
| 758 | 758 |
| 759 public_deps = [ | 759 public_deps = [ |
| 760 ":packed_resources", | 760 ":packed_resources", |
| 761 "//chrome/app_shim:app_mode_loader", | 761 "//chrome/app_shim:app_mode_loader", |
| 762 ] | 762 ] |
| 763 | 763 |
| 764 if (enable_mac_keystone) { | 764 if (is_chrome_branded) { |
| 765 sources += [ | 765 sources += [ |
| 766 "browser/mac/keystone_promote_postflight.sh", | 766 "browser/mac/keystone_promote_postflight.sh", |
| 767 "browser/mac/keystone_promote_preflight.sh", | 767 "browser/mac/keystone_promote_preflight.sh", |
| 768 ] | 768 ] |
| 769 } | 769 } |
| 770 | 770 |
| 771 if (icu_use_data_file) { | 771 if (icu_use_data_file) { |
| 772 sources += [ "$root_out_dir/icudtl.dat" ] | 772 sources += [ "$root_out_dir/icudtl.dat" ] |
| 773 public_deps += [ "//third_party/icu:icudata" ] | 773 public_deps += [ "//third_party/icu:icudata" ] |
| 774 } | 774 } |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 893 | 893 |
| 894 group("widevine_cdm_library") { | 894 group("widevine_cdm_library") { |
| 895 if (_should_bundle_widevine) { | 895 if (_should_bundle_widevine) { |
| 896 deps = [ | 896 deps = [ |
| 897 ":widevine_cdm_library_binaries", | 897 ":widevine_cdm_library_binaries", |
| 898 ":widevine_cdm_library_manifest", | 898 ":widevine_cdm_library_manifest", |
| 899 ] | 899 ] |
| 900 } | 900 } |
| 901 } | 901 } |
| 902 | 902 |
| 903 if (enable_mac_keystone) { | 903 if (is_chrome_branded) { |
| 904 action("keystone_registration_framework") { | 904 action("keystone_registration_framework") { |
| 905 script = "//chrome/tools/build/mac/copy_keystone_framework.py" | 905 script = "//chrome/tools/build/mac/copy_keystone_framework.py" |
| 906 | 906 |
| 907 framework_path = "//third_party/googlemac/Releases/Keystone/KeystoneRegist
ration.framework" | 907 framework_path = "//third_party/googlemac/Releases/Keystone/KeystoneRegist
ration.framework" |
| 908 output_path = "$root_out_dir/$chrome_framework_name.framework/Frameworks/" | 908 output_path = "$root_out_dir/$chrome_framework_name.framework/Frameworks/" |
| 909 | 909 |
| 910 sources = [ | 910 sources = [ |
| 911 framework_path, | 911 framework_path, |
| 912 script, | 912 script, |
| 913 ] | 913 ] |
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1601 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1601 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1602 "//chrome/tools/build/linux/chrome-wrapper", | 1602 "//chrome/tools/build/linux/chrome-wrapper", |
| 1603 "//third_party/xdg-utils/scripts/xdg-mime", | 1603 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1604 "//third_party/xdg-utils/scripts/xdg-settings", | 1604 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1605 ] | 1605 ] |
| 1606 outputs = [ | 1606 outputs = [ |
| 1607 "$root_out_dir/{{source_file_part}}", | 1607 "$root_out_dir/{{source_file_part}}", |
| 1608 ] | 1608 ] |
| 1609 } | 1609 } |
| 1610 } | 1610 } |
| OLD | NEW |