| 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 # This file was forked from breakpad/BUILD.gn in chromium. | 5 # This file was forked from breakpad/BUILD.gn in chromium. |
| 6 | 6 |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 config("tools_config") { | 9 config("tools_config") { |
| 10 include_dirs = [ | 10 include_dirs = [ |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 "src/common/simple_string_dictionary.cc", | 508 "src/common/simple_string_dictionary.cc", |
| 509 "src/common/simple_string_dictionary.h", | 509 "src/common/simple_string_dictionary.h", |
| 510 "src/common/string_conversion.cc", | 510 "src/common/string_conversion.cc", |
| 511 "src/common/string_conversion.h", | 511 "src/common/string_conversion.h", |
| 512 ] | 512 ] |
| 513 | 513 |
| 514 configs -= [ "//build/config/compiler:chromium_code" ] | 514 configs -= [ "//build/config/compiler:chromium_code" ] |
| 515 configs += [ "//build/config/compiler:no_chromium_code" ] | 515 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 516 public_configs = [ ":client_config" ] | 516 public_configs = [ ":client_config" ] |
| 517 | 517 |
| 518 if (current_cpu == "arm" && is_chromeos) { | |
| 519 # Avoid running out of registers in | |
| 520 # linux_syscall_support.h:sys_clone()'s inline assembly. | |
| 521 cflags = [ "-marm" ] | |
| 522 } | |
| 523 | |
| 524 if (is_android) { | 518 if (is_android) { |
| 525 sources += [ "src/common/android/breakpad_getcontext.S" ] | 519 sources += [ "src/common/android/breakpad_getcontext.S" ] |
| 526 } | 520 } |
| 527 | 521 |
| 528 libs = [ "dl" ] | 522 libs = [ "dl" ] |
| 529 | 523 |
| 530 include_dirs = [ | 524 include_dirs = [ |
| 531 ".", | 525 ".", |
| 532 "src", | 526 "src", |
| 533 "src/client", | 527 "src/client", |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 sources = [ | 781 sources = [ |
| 788 "src/client/windows/sender/crash_report_sender.cc", | 782 "src/client/windows/sender/crash_report_sender.cc", |
| 789 "src/client/windows/sender/crash_report_sender.h", | 783 "src/client/windows/sender/crash_report_sender.h", |
| 790 "src/common/windows/http_upload.cc", | 784 "src/common/windows/http_upload.cc", |
| 791 "src/common/windows/http_upload.h", | 785 "src/common/windows/http_upload.h", |
| 792 ] | 786 ] |
| 793 configs += [ ":sender_config" ] | 787 configs += [ ":sender_config" ] |
| 794 public_configs = [ ":sender_config" ] | 788 public_configs = [ ":sender_config" ] |
| 795 } | 789 } |
| 796 } | 790 } |
| OLD | NEW |