| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 config("tools_config") { | 7 config("tools_config") { |
| 8 include_dirs = [ | 8 include_dirs = [ |
| 9 "src", | 9 "src", |
| 10 "src/third_party", | 10 "src/third_party", |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 "src/common/simple_string_dictionary.cc", | 504 "src/common/simple_string_dictionary.cc", |
| 505 "src/common/simple_string_dictionary.h", | 505 "src/common/simple_string_dictionary.h", |
| 506 "src/common/string_conversion.cc", | 506 "src/common/string_conversion.cc", |
| 507 "src/common/string_conversion.h", | 507 "src/common/string_conversion.h", |
| 508 ] | 508 ] |
| 509 | 509 |
| 510 configs -= [ "//build/config/compiler:chromium_code" ] | 510 configs -= [ "//build/config/compiler:chromium_code" ] |
| 511 configs += [ "//build/config/compiler:no_chromium_code" ] | 511 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 512 public_configs = [ ":client_config" ] | 512 public_configs = [ ":client_config" ] |
| 513 | 513 |
| 514 if (cpu_arch == "arm" && is_chromeos) { | 514 if (current_cpu == "arm" && is_chromeos) { |
| 515 # Avoid running out of registers in | 515 # Avoid running out of registers in |
| 516 # linux_syscall_support.h:sys_clone()'s inline assembly. | 516 # linux_syscall_support.h:sys_clone()'s inline assembly. |
| 517 cflags = [ "-marm" ] | 517 cflags = [ "-marm" ] |
| 518 } | 518 } |
| 519 | 519 |
| 520 if (is_android) { | 520 if (is_android) { |
| 521 sources += [ "src/common/android/breakpad_getcontext.S" ] | 521 sources += [ "src/common/android/breakpad_getcontext.S" ] |
| 522 } | 522 } |
| 523 | 523 |
| 524 libs = [ "dl" ] | 524 libs = [ "dl" ] |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 testonly = true | 623 testonly = true |
| 624 sources = [ | 624 sources = [ |
| 625 "src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc", | 625 "src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc", |
| 626 ] | 626 ] |
| 627 deps = [ | 627 deps = [ |
| 628 ":processor_support", | 628 ":processor_support", |
| 629 ] | 629 ] |
| 630 | 630 |
| 631 include_dirs = [ "src" ] | 631 include_dirs = [ "src" ] |
| 632 | 632 |
| 633 if (cpu_arch == "mipsel" && is_android) { | 633 if (current_cpu == "mipsel" && is_android) { |
| 634 include_dirs += [ "src/common/android/include" ] | 634 include_dirs += [ "src/common/android/include" ] |
| 635 } | 635 } |
| 636 } | 636 } |
| 637 | 637 |
| 638 executable("generate_test_dump") { | 638 executable("generate_test_dump") { |
| 639 testonly = true | 639 testonly = true |
| 640 sources = [ | 640 sources = [ |
| 641 "linux/generate-test-dump.cc", | 641 "linux/generate-test-dump.cc", |
| 642 ] | 642 ] |
| 643 | 643 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 sources = [ | 774 sources = [ |
| 775 "src/client/windows/sender/crash_report_sender.cc", | 775 "src/client/windows/sender/crash_report_sender.cc", |
| 776 "src/client/windows/sender/crash_report_sender.h", | 776 "src/client/windows/sender/crash_report_sender.h", |
| 777 "src/common/windows/http_upload.cc", | 777 "src/common/windows/http_upload.cc", |
| 778 "src/common/windows/http_upload.h", | 778 "src/common/windows/http_upload.h", |
| 779 ] | 779 ] |
| 780 configs += [ ":sender_config" ] | 780 configs += [ ":sender_config" ] |
| 781 public_configs = [ ":sender_config" ] | 781 public_configs = [ ":sender_config" ] |
| 782 } | 782 } |
| 783 } | 783 } |
| OLD | NEW |