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