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 # Note: if you depend on this target, you need to either link in |
| 10 # content.gyp:content_common, or add content/public/common/content_switches.cc |
| 11 # to your sources. |
| 12 # |
| 13 # GYP version: components/crash.gypi:crash_component |
| 14 source_set("app") { |
| 15 sources = [ |
| 16 "breakpad_linux_impl.h", |
| 17 "hard_error_handler_win.cc", |
| 18 "hard_error_handler_win.h", |
| 19 ] |
| 20 |
| 21 if (is_android) { |
| 22 libs = [ "log" ] |
| 23 } |
| 24 |
| 25 if (is_android || is_linux) { |
| 26 # Want these files on both Linux and Android. |
| 27 set_sources_assignment_filter([]) |
| 28 sources += [ |
| 29 "breakpad_linux.cc", |
| 30 "breakpad_linux.h", |
| 31 ] |
| 32 } |
| 33 |
| 34 deps = [ |
| 35 "//base", |
| 36 "//base:base_static", |
| 37 "//breakpad:client", |
| 38 ] |
| 39 } |
OLD | NEW |