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