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.
6 import("//build/config/android/config.gni")
11 "crash_reporter_client.cc",
12 "crash_reporter_client.h",
17 include_dirs = [ "../../../breakpad/src" ]
20 # Note: if you depend on this target, you need to either link in
21 # content.gyp:content_common, or add content/public/common/content_switches.cc
24 # GYP version: components/crash.gypi:crash_component
27 "breakpad_linux_impl.h",
32 "hard_error_handler_win.cc",
33 "hard_error_handler_win.h",
35 if (is_android || is_linux) {
36 # Want these files on both Linux and Android.
37 set_sources_assignment_filter([])
44 defines = [ "CRASH_IMPLEMENTATION" ]
52 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ]
56 deps += [ "//breakpad" ]
60 "//breakpad:breakpad_handler",
62 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP)
64 } else if (is_posix && !is_ios && (!is_android || !is_android_webview_build)) {
65 deps += [ "//breakpad:client" ]
69 source_set("test_support") {