| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 } | 7 } |
| 8 | 8 |
| 9 source_set("lib") { | 9 source_set("lib") { |
| 10 sources = [ | 10 sources = [ |
| 11 "breakpad_client.cc", | 11 "breakpad_client.cc", |
| 12 "breakpad_client.h", | 12 "breakpad_client.h", |
| 13 "crash_keys_win.cc", | 13 "crash_keys_win.cc", |
| 14 "crash_keys_win.h", | 14 "crash_keys_win.h", |
| 15 ] | 15 ] |
| 16 |
| 17 include_dirs = [ |
| 18 "../../../breakpad/src", |
| 19 ] |
| 16 } | 20 } |
| 17 | 21 |
| 18 # Note: if you depend on this target, you need to either link in | 22 # Note: if you depend on this target, you need to either link in |
| 19 # content.gyp:content_common, or add content/public/common/content_switches.cc | 23 # content.gyp:content_common, or add content/public/common/content_switches.cc |
| 20 # to your sources. | 24 # to your sources. |
| 21 # | 25 # |
| 22 # GYP version: components/breakpad.gyp:breakpad_component | 26 # GYP version: components/breakpad.gyp:breakpad_component |
| 23 source_set("app") { | 27 source_set("app") { |
| 24 sources = [ | 28 sources = [ |
| 25 "breakpad_linux_impl.h", | 29 "breakpad_linux_impl.h", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 44 deps = [ | 48 deps = [ |
| 45 "//base", | 49 "//base", |
| 46 ":lib", | 50 ":lib", |
| 47 ] | 51 ] |
| 48 | 52 |
| 49 if (is_mac) { | 53 if (is_mac) { |
| 50 deps += [ "//breakpad" ] | 54 deps += [ "//breakpad" ] |
| 51 } else if (is_win) { | 55 } else if (is_win) { |
| 52 deps += [ | 56 deps += [ |
| 53 "//sandbox", | 57 "//sandbox", |
| 54 #'../breakpad/breakpad.gyp:breakpad_handler', TODO(GYP) | 58 "//breakpad:breakpad_handler", |
| 55 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) | 59 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) |
| 56 ] | 60 ] |
| 57 } else if (is_posix && !is_ios && | 61 } else if (is_posix && !is_ios && |
| 58 (!is_android || !is_android_webview_build)) { | 62 (!is_android || !is_android_webview_build)) { |
| 59 deps += [ "//breakpad:client" ] | 63 deps += [ "//breakpad:client" ] |
| 60 } | 64 } |
| 61 } | 65 } |
| 62 | 66 |
| 63 source_set("test_support") { | 67 source_set("test_support") { |
| 64 deps = [ ":lib" ] | 68 deps = [ ":lib" ] |
| 65 } | 69 } |
| OLD | NEW |