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

Side by Side Diff: chrome/BUILD.gn

Issue 2135323002: Add support for fat build to "ios_framework_bundle" target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fat-build-enable
Patch Set: multi_arch_toolchains -> additional_toolchains & mac build fix. 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
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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 # a library that the bundled framework links (and re-exports). That way 882 # a library that the bundled framework links (and re-exports). That way
883 # only the library needs to be re-linked when it changes. 883 # only the library needs to be re-linked when it changes.
884 if (is_component_build) { 884 if (is_component_build) {
885 _dll_target_type = "shared_library" 885 _dll_target_type = "shared_library"
886 } else { 886 } else {
887 _dll_target_type = "source_set" 887 _dll_target_type = "source_set"
888 } 888 }
889 target(_dll_target_type, "chrome_dll") { 889 target(_dll_target_type, "chrome_dll") {
890 visibility = [ 890 visibility = [
891 ":chrome_framework", 891 ":chrome_framework",
892 ":chrome_framework_shared_library", 892 ":chrome_framework_link_shared_library",
Robert Sesek 2016/07/12 23:57:16 Why this name change? I think it may be a little c
sdefresne 2016/07/13 10:57:50 Done.
893 ] 893 ]
894 894
895 sources = [ 895 sources = [
896 "app/chrome_command_ids.h", 896 "app/chrome_command_ids.h",
897 "app/chrome_crash_reporter_client.cc", 897 "app/chrome_crash_reporter_client.cc",
898 "app/chrome_crash_reporter_client.h", 898 "app/chrome_crash_reporter_client.h",
899 "app/chrome_crash_reporter_client_mac.mm", 899 "app/chrome_crash_reporter_client_mac.mm",
900 "app/chrome_dll_resource.h", 900 "app/chrome_dll_resource.h",
901 "app/chrome_main.cc", 901 "app/chrome_main.cc",
902 "app/chrome_main_delegate.cc", 902 "app/chrome_main_delegate.cc",
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 _default_apps_target_type = "copy" 1272 _default_apps_target_type = "copy"
1273 } else { 1273 } else {
1274 _default_apps_target_type = "bundle_data" 1274 _default_apps_target_type = "bundle_data"
1275 } 1275 }
1276 1276
1277 target(_default_apps_target_type, "default_apps") { 1277 target(_default_apps_target_type, "default_apps") {
1278 visibility = [ ":packed_resources" ] 1278 visibility = [ ":packed_resources" ]
1279 if (is_mac) { 1279 if (is_mac) {
1280 visibility += [ 1280 visibility += [
1281 ":chrome_framework", 1281 ":chrome_framework",
1282 ":chrome_framework_shared_library", 1282 ":chrome_framework_link_shared_library",
1283 ] 1283 ]
1284 } 1284 }
1285 1285
1286 sources = [ 1286 sources = [
1287 "browser/resources/default_apps/docs.crx", 1287 "browser/resources/default_apps/docs.crx",
1288 "browser/resources/default_apps/drive.crx", 1288 "browser/resources/default_apps/drive.crx",
1289 "browser/resources/default_apps/external_extensions.json", 1289 "browser/resources/default_apps/external_extensions.json",
1290 "browser/resources/default_apps/gmail.crx", 1290 "browser/resources/default_apps/gmail.crx",
1291 "browser/resources/default_apps/youtube.crx", 1291 "browser/resources/default_apps/youtube.crx",
1292 ] 1292 ]
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1774 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1775 "//chrome/tools/build/linux/chrome-wrapper", 1775 "//chrome/tools/build/linux/chrome-wrapper",
1776 "//third_party/xdg-utils/scripts/xdg-mime", 1776 "//third_party/xdg-utils/scripts/xdg-mime",
1777 "//third_party/xdg-utils/scripts/xdg-settings", 1777 "//third_party/xdg-utils/scripts/xdg-settings",
1778 ] 1778 ]
1779 outputs = [ 1779 outputs = [
1780 "$root_out_dir/{{source_file_part}}", 1780 "$root_out_dir/{{source_file_part}}",
1781 ] 1781 ]
1782 } 1782 }
1783 } 1783 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698