| 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/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 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 944 # a library that the bundled framework links (and re-exports). That way | 944 # a library that the bundled framework links (and re-exports). That way |
| 945 # only the library needs to be re-linked when it changes. | 945 # only the library needs to be re-linked when it changes. |
| 946 if (is_component_build) { | 946 if (is_component_build) { |
| 947 _dll_target_type = "shared_library" | 947 _dll_target_type = "shared_library" |
| 948 } else { | 948 } else { |
| 949 _dll_target_type = "source_set" | 949 _dll_target_type = "source_set" |
| 950 } | 950 } |
| 951 target(_dll_target_type, "chrome_dll") { | 951 target(_dll_target_type, "chrome_dll") { |
| 952 visibility = [ | 952 visibility = [ |
| 953 ":chrome_framework", | 953 ":chrome_framework", |
| 954 ":chrome_framework_create_bundle", |
| 954 ":chrome_framework_shared_library", | 955 ":chrome_framework_shared_library", |
| 955 ] | 956 ] |
| 956 | 957 |
| 957 sources = [ | 958 sources = [ |
| 958 "app/chrome_crash_reporter_client.cc", | 959 "app/chrome_crash_reporter_client.cc", |
| 959 "app/chrome_crash_reporter_client.h", | 960 "app/chrome_crash_reporter_client.h", |
| 960 "app/chrome_crash_reporter_client_mac.mm", | 961 "app/chrome_crash_reporter_client_mac.mm", |
| 961 "app/chrome_dll_resource.h", | 962 "app/chrome_dll_resource.h", |
| 962 "app/chrome_main.cc", | 963 "app/chrome_main.cc", |
| 963 "app/chrome_main_delegate.cc", | 964 "app/chrome_main_delegate.cc", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 994 if (enable_package_mash_services) { | 995 if (enable_package_mash_services) { |
| 995 deps += [ "//chrome/app/mash" ] | 996 deps += [ "//chrome/app/mash" ] |
| 996 } | 997 } |
| 997 | 998 |
| 998 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 999 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 999 } | 1000 } |
| 1000 | 1001 |
| 1001 mac_framework_bundle("chrome_framework") { | 1002 mac_framework_bundle("chrome_framework") { |
| 1002 output_name = chrome_framework_name | 1003 output_name = chrome_framework_name |
| 1003 | 1004 |
| 1005 if (enable_xpc_notifications) { |
| 1006 framework_version = "A" |
| 1007 } |
| 1008 |
| 1004 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 1009 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 1005 | 1010 |
| 1006 info_plist_target = ":chrome_framework_plist" | 1011 info_plist_target = ":chrome_framework_plist" |
| 1007 extra_substitutions = [ | 1012 extra_substitutions = [ |
| 1008 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", | 1013 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", |
| 1009 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", | 1014 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", |
| 1010 ] | 1015 ] |
| 1011 | 1016 |
| 1012 public_deps = [ | 1017 public_deps = [ |
| 1013 ":chrome_dll", | 1018 ":chrome_dll", |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1568 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1573 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1569 "//chrome/tools/build/linux/chrome-wrapper", | 1574 "//chrome/tools/build/linux/chrome-wrapper", |
| 1570 "//third_party/xdg-utils/scripts/xdg-mime", | 1575 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1571 "//third_party/xdg-utils/scripts/xdg-settings", | 1576 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1572 ] | 1577 ] |
| 1573 outputs = [ | 1578 outputs = [ |
| 1574 "$root_out_dir/{{source_file_part}}", | 1579 "$root_out_dir/{{source_file_part}}", |
| 1575 ] | 1580 ] |
| 1576 } | 1581 } |
| 1577 } | 1582 } |
| OLD | NEW |