| 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 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 public_configs = [ ":client_config" ] | 849 public_configs = [ ":client_config" ] |
| 850 } | 850 } |
| 851 | 851 |
| 852 config("breakpad_handler_warnings") { | 852 config("breakpad_handler_warnings") { |
| 853 if (is_clang) { | 853 if (is_clang) { |
| 854 # See https://code.google.com/p/google-breakpad/issues/detail?id=658. | 854 # See https://code.google.com/p/google-breakpad/issues/detail?id=658. |
| 855 cflags = [ "-Wno-reorder" ] | 855 cflags = [ "-Wno-reorder" ] |
| 856 } | 856 } |
| 857 } | 857 } |
| 858 | 858 |
| 859 source_set("breakpad_handler") { | 859 static_library("breakpad_handler") { |
| 860 configs += [ ":handler_config" ] | 860 configs += [ ":handler_config" ] |
| 861 if (is_win) { | 861 if (is_win) { |
| 862 public_configs = [ ":handler_config" ] | 862 public_configs = [ ":handler_config" ] |
| 863 } | 863 } |
| 864 | 864 |
| 865 defines = [ "BREAKPAD_NO_TERMINATE_THREAD" ] | 865 defines = [ "BREAKPAD_NO_TERMINATE_THREAD" ] |
| 866 | 866 |
| 867 sources = [ | 867 sources = [ |
| 868 "src/client/windows/crash_generation/client_info.cc", | 868 "src/client/windows/crash_generation/client_info.cc", |
| 869 "src/client/windows/crash_generation/client_info.h", | 869 "src/client/windows/crash_generation/client_info.h", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 897 | 897 |
| 898 if (is_android) { | 898 if (is_android) { |
| 899 # TODO(GYP_GONE) Delete this after we've converted everything to GN. | 899 # TODO(GYP_GONE) Delete this after we've converted everything to GN. |
| 900 group("breakpad_unittests_deps") { | 900 group("breakpad_unittests_deps") { |
| 901 testonly = true | 901 testonly = true |
| 902 deps = [ | 902 deps = [ |
| 903 ":breakpad_unittests", | 903 ":breakpad_unittests", |
| 904 ] | 904 ] |
| 905 } | 905 } |
| 906 } | 906 } |
| OLD | NEW |