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")
13 "crash_reporter_client.cc",
14 "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",
40 if (is_android || is_linux) {
41 # Want these files on both Linux and Android.
42 set_sources_assignment_filter([])
49 defines = [ "CRASH_IMPLEMENTATION" ]
58 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ]
62 deps += [ "//breakpad" ]
66 "//breakpad:breakpad_handler",
68 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP)
70 } else if (is_posix && !is_ios) {
71 deps += [ "//breakpad:client" ]
75 source_set("test_support") {