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/symlink.gni") | 5 import("//build/symlink.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 # TODO(GYP) This should be only 64-bit on Mac. From .gypi: | 241 # TODO(GYP) This should be only 64-bit on Mac. From .gypi: |
242 # Like ld, dump_syms needs to operate on enough data that it may | 242 # Like ld, dump_syms needs to operate on enough data that it may |
243 # actually need to be able to address more than 4GB. Use x86_64. | 243 # actually need to be able to address more than 4GB. Use x86_64. |
244 # Don't worry! An x86_64 dump_syms is perfectly able to dump | 244 # Don't worry! An x86_64 dump_syms is perfectly able to dump |
245 # 32-bit files. | 245 # 32-bit files. |
246 executable("dump_syms") { | 246 executable("dump_syms") { |
247 sources = [ | 247 sources = [ |
248 "src/common/dwarf/bytereader.cc", | 248 "src/common/dwarf/bytereader.cc", |
249 "src/common/dwarf/dwarf2diehandler.cc", | 249 "src/common/dwarf/dwarf2diehandler.cc", |
250 "src/common/dwarf/dwarf2reader.cc", | 250 "src/common/dwarf/dwarf2reader.cc", |
| 251 "src/common/dwarf/elf_reader.cc", |
| 252 "src/common/dwarf/elf_reader.h", |
251 "src/common/dwarf_cfi_to_module.cc", | 253 "src/common/dwarf_cfi_to_module.cc", |
252 "src/common/dwarf_cu_to_module.cc", | 254 "src/common/dwarf_cu_to_module.cc", |
253 "src/common/dwarf_line_to_module.cc", | 255 "src/common/dwarf_line_to_module.cc", |
254 "src/common/language.cc", | 256 "src/common/language.cc", |
255 "src/common/mac/arch_utilities.cc", | 257 "src/common/mac/arch_utilities.cc", |
256 "src/common/mac/arch_utilities.h", | 258 "src/common/mac/arch_utilities.h", |
257 "src/common/mac/dump_syms.cc", | 259 "src/common/mac/dump_syms.cc", |
258 "src/common/mac/file_id.cc", | 260 "src/common/mac/file_id.cc", |
259 "src/common/mac/macho_id.cc", | 261 "src/common/mac/macho_id.cc", |
260 "src/common/mac/macho_reader.cc", | 262 "src/common/mac/macho_reader.cc", |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 "//build/config/sanitizers:deps", | 444 "//build/config/sanitizers:deps", |
443 ] | 445 ] |
444 } | 446 } |
445 | 447 |
446 # dump_syms is a host tool, so only compile it for the host system. | 448 # dump_syms is a host tool, so only compile it for the host system. |
447 executable("dump_syms") { | 449 executable("dump_syms") { |
448 sources = [ | 450 sources = [ |
449 "src/common/dwarf/bytereader.cc", | 451 "src/common/dwarf/bytereader.cc", |
450 "src/common/dwarf/dwarf2diehandler.cc", | 452 "src/common/dwarf/dwarf2diehandler.cc", |
451 "src/common/dwarf/dwarf2reader.cc", | 453 "src/common/dwarf/dwarf2reader.cc", |
| 454 "src/common/dwarf/elf_reader.cc", |
| 455 "src/common/dwarf/elf_reader.h", |
452 "src/common/dwarf_cfi_to_module.cc", | 456 "src/common/dwarf_cfi_to_module.cc", |
453 "src/common/dwarf_cfi_to_module.h", | 457 "src/common/dwarf_cfi_to_module.h", |
454 "src/common/dwarf_cu_to_module.cc", | 458 "src/common/dwarf_cu_to_module.cc", |
455 "src/common/dwarf_cu_to_module.h", | 459 "src/common/dwarf_cu_to_module.h", |
456 "src/common/dwarf_line_to_module.cc", | 460 "src/common/dwarf_line_to_module.cc", |
457 "src/common/dwarf_line_to_module.h", | 461 "src/common/dwarf_line_to_module.h", |
458 "src/common/language.cc", | 462 "src/common/language.cc", |
459 "src/common/language.h", | 463 "src/common/language.h", |
460 "src/common/linux/crc32.cc", | 464 "src/common/linux/crc32.cc", |
461 "src/common/linux/crc32.h", | 465 "src/common/linux/crc32.h", |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 | 899 |
896 if (is_android) { | 900 if (is_android) { |
897 # TODO(GYP_GONE) Delete this after we've converted everything to GN. | 901 # TODO(GYP_GONE) Delete this after we've converted everything to GN. |
898 group("breakpad_unittests_deps") { | 902 group("breakpad_unittests_deps") { |
899 testonly = true | 903 testonly = true |
900 deps = [ | 904 deps = [ |
901 ":breakpad_unittests", | 905 ":breakpad_unittests", |
902 ] | 906 ] |
903 } | 907 } |
904 } | 908 } |
OLD | NEW |