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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 } | 7 } |
8 | 8 |
9 source_set("browser") { | 9 source_set("browser") { |
10 sources = [ | 10 sources = [ |
11 "crash_dump_manager_android.cc", | 11 "crash_dump_manager_android.cc", |
12 "crash_dump_manager_android.h", | 12 "crash_dump_manager_android.h", |
13 ] | 13 ] |
14 | 14 |
15 if (is_linux || is_android) { | 15 if (is_linux || is_android) { |
16 set_sources_assignment_filter([]) | 16 set_sources_assignment_filter([]) |
17 | 17 |
18 # Want this file on both Linux and Android. | 18 # Want this file on both Linux and Android. |
19 sources += [ | 19 sources += [ |
20 "crash_handler_host_linux.cc", | 20 "crash_handler_host_linux.cc", |
21 "crash_handler_host_linux.h", | 21 "crash_handler_host_linux.h", |
22 ] | 22 ] |
23 } | 23 } |
24 | 24 |
25 deps = [ | 25 deps = [ |
26 "//base", | 26 "//base", |
27 "//components/crash/app", | 27 "//components/crash/content/app", |
28 "//content/public/browser", | 28 "//content/public/browser", |
29 "//content/public/common", | 29 "//content/public/common", |
30 ] | 30 ] |
31 | 31 |
32 # This is not in the GYP build but this target includes breakpad client | 32 # This is not in the GYP build but this target includes breakpad client |
33 # headers, so add the dependency here. | 33 # headers, so add the dependency here. |
34 if (is_posix && !is_ios) { | 34 if (is_posix && !is_ios) { |
35 configs += [ "//breakpad:client_config" ] | 35 configs += [ "//breakpad:client_config" ] |
36 public_configs = [ "//breakpad:client_config" ] | 36 public_configs = [ "//breakpad:client_config" ] |
37 } | 37 } |
38 } | 38 } |
OLD | NEW |