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 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 # but doing so isn't logical and won't happen in practice. | 1064 # but doing so isn't logical and won't happen in practice. |
1065 action_foreach("chrome_dump_syms") { | 1065 action_foreach("chrome_dump_syms") { |
1066 script = "//build/redirect_stdout.py" | 1066 script = "//build/redirect_stdout.py" |
1067 | 1067 |
1068 sources = _chrome_symbols_sources | 1068 sources = _chrome_symbols_sources |
1069 | 1069 |
1070 outputs = [ | 1070 outputs = [ |
1071 "$root_out_dir/{{source_file_part}}-$chrome_version_full.breakpad", | 1071 "$root_out_dir/{{source_file_part}}-$chrome_version_full.breakpad", |
1072 ] | 1072 ] |
1073 | 1073 |
1074 # Use an aboslute path to dump_syms in case a user has it in their path. | 1074 # Use an absolute path to dump_syms in case a user has it in their path. |
1075 args = rebase_path(outputs, root_out_dir) + [ | 1075 args = rebase_path(outputs, root_out_dir) + [ |
1076 rebase_path("$root_out_dir/dump_syms"), | 1076 rebase_path("$root_out_dir/dump_syms"), |
1077 "-g", | 1077 "-g", |
1078 rebase_path( | 1078 rebase_path( |
1079 "$root_out_dir/{{source_name_part}}.dSYM/Contents/Resources/D
WARF/{{source_name_part}}", | 1079 "$root_out_dir/{{source_name_part}}.dSYM/Contents/Resources/D
WARF/{{source_name_part}}", |
1080 root_out_dir), | 1080 root_out_dir), |
1081 "{{source}}", | 1081 "{{source}}", |
1082 ] | 1082 ] |
1083 | 1083 |
1084 deps = [ | 1084 deps = [ |
1085 ":chrome_app", | 1085 ":chrome_app", |
1086 ":chrome_framework", | 1086 ":chrome_framework", |
1087 ":chrome_helper_app", | 1087 ":chrome_helper_app", |
1088 "//breakpad:dump_syms", | 1088 "//breakpad:dump_syms", |
1089 "//third_party/crashpad/crashpad/handler:crashpad_handler", | 1089 "//third_party/crashpad/crashpad/handler:crashpad_handler", |
1090 ] | 1090 ] |
1091 } | 1091 } |
1092 | 1092 |
1093 action("chrome_dsym_archive") { | 1093 action("chrome_dsym_archive") { |
1094 script = "//chrome/tools/build/mac/archive_symbols.py" | 1094 script = "//chrome/tools/build/mac/archive_symbols.py" |
1095 | 1095 |
1096 # These are the dSYMs that will be archived. The sources list must be | 1096 # These are the dSYMs that will be archived. The sources list must be |
1097 # are the target outputs that correspond to the dSYMs (since a dSYM is | 1097 # the target outputs that correspond to the dSYMs (since a dSYM is a |
1098 # a directory it cannot be listed as a source file). The targets that | 1098 # directory it cannot be listed as a source file). The targets that |
1099 # generate both the dSYM and binary image are listed in deps. | 1099 # generate both the dSYM and binary image are listed in deps. |
1100 _dsyms = [ | 1100 _dsyms = [ |
1101 "$root_out_dir/$chrome_framework_name.dSYM", | 1101 "$root_out_dir/$chrome_framework_name.dSYM", |
1102 "$root_out_dir/$chrome_helper_name.dSYM", | 1102 "$root_out_dir/$chrome_helper_name.dSYM", |
1103 "$root_out_dir/$chrome_product_full_name.dSYM", | 1103 "$root_out_dir/$chrome_product_full_name.dSYM", |
1104 "$root_out_dir/crashpad_handler.dSYM", | 1104 "$root_out_dir/crashpad_handler.dSYM", |
1105 ] | 1105 ] |
1106 | 1106 |
1107 sources = _chrome_symbols_sources | 1107 sources = _chrome_symbols_sources |
1108 | 1108 |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1805 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1805 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
1806 "//chrome/tools/build/linux/chrome-wrapper", | 1806 "//chrome/tools/build/linux/chrome-wrapper", |
1807 "//third_party/xdg-utils/scripts/xdg-mime", | 1807 "//third_party/xdg-utils/scripts/xdg-mime", |
1808 "//third_party/xdg-utils/scripts/xdg-settings", | 1808 "//third_party/xdg-utils/scripts/xdg-settings", |
1809 ] | 1809 ] |
1810 outputs = [ | 1810 outputs = [ |
1811 "$root_out_dir/{{source_file_part}}", | 1811 "$root_out_dir/{{source_file_part}}", |
1812 ] | 1812 ] |
1813 } | 1813 } |
1814 } | 1814 } |
OLD | NEW |