| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'breakpad_component_lib', | 8 'target_name': 'breakpad_component_lib', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'sources': [ | 10 'sources': [ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 # can't have libraries with zero objects. | 26 # can't have libraries with zero objects. |
| 27 'breakpad_component_target_type%': 'none', | 27 'breakpad_component_target_type%': 'none', |
| 28 }, { | 28 }, { |
| 29 'breakpad_component_target_type%': 'static_library', | 29 'breakpad_component_target_type%': 'static_library', |
| 30 }], | 30 }], |
| 31 ], | 31 ], |
| 32 }, | 32 }, |
| 33 # Note: if you depend on this target, you need to either link in | 33 # Note: if you depend on this target, you need to either link in |
| 34 # content.gyp:content_common, or add | 34 # content.gyp:content_common, or add |
| 35 # content/public/common/content_switches.cc to your sources. | 35 # content/public/common/content_switches.cc to your sources. |
| 36 # |
| 37 # GN version: //components/breakpad/app |
| 36 'target_name': 'breakpad_component', | 38 'target_name': 'breakpad_component', |
| 37 'type': '<(breakpad_component_target_type)', | 39 'type': '<(breakpad_component_target_type)', |
| 38 'sources': [ | 40 'sources': [ |
| 39 'breakpad/app/breakpad_linux.cc', | 41 'breakpad/app/breakpad_linux.cc', |
| 40 'breakpad/app/breakpad_linux.h', | 42 'breakpad/app/breakpad_linux.h', |
| 41 'breakpad/app/breakpad_linux_impl.h', | 43 'breakpad/app/breakpad_linux_impl.h', |
| 42 'breakpad/app/breakpad_mac.h', | 44 'breakpad/app/breakpad_mac.h', |
| 43 'breakpad/app/breakpad_mac.mm', | 45 'breakpad/app/breakpad_mac.mm', |
| 44 'breakpad/app/breakpad_win.cc', | 46 'breakpad/app/breakpad_win.cc', |
| 45 'breakpad/app/breakpad_win.h', | 47 'breakpad/app/breakpad_win.h', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 # Need 'target_conditions' to override default filename_rules to include | 79 # Need 'target_conditions' to override default filename_rules to include |
| 78 # the files on Android. | 80 # the files on Android. |
| 79 ['OS=="android"', { | 81 ['OS=="android"', { |
| 80 'sources/': [ | 82 'sources/': [ |
| 81 ['include', '^breakpad/app/breakpad_linux\\.cc$'], | 83 ['include', '^breakpad/app/breakpad_linux\\.cc$'], |
| 82 ], | 84 ], |
| 83 }], | 85 }], |
| 84 ], | 86 ], |
| 85 }, | 87 }, |
| 86 { | 88 { |
| 89 # GN version: //components/breakpad/app:test_support |
| 87 'target_name': 'breakpad_test_support', | 90 'target_name': 'breakpad_test_support', |
| 88 'type': 'none', | 91 'type': 'none', |
| 89 'dependencies': [ | 92 'dependencies': [ |
| 90 'breakpad_component_lib', | 93 'breakpad_component_lib', |
| 91 ], | 94 ], |
| 92 'direct_dependent_settings': { | 95 'direct_dependent_settings': { |
| 93 'include_dirs' : [ | 96 'include_dirs' : [ |
| 94 '../breakpad/src', | 97 '../breakpad/src', |
| 95 ], | 98 ], |
| 96 } | 99 } |
| 97 }, | 100 }, |
| 98 ], | 101 ], |
| 99 'conditions': [ | 102 'conditions': [ |
| 100 ['OS=="win"', { | 103 ['OS=="win"', { |
| 101 'targets': [ | 104 'targets': [ |
| 102 { | 105 { |
| 106 # GN version: //components/breakpad/tools:crash_service |
| 103 'target_name': 'breakpad_crash_service', | 107 'target_name': 'breakpad_crash_service', |
| 104 'type': 'static_library', | 108 'type': 'static_library', |
| 105 'dependencies': [ | 109 'dependencies': [ |
| 106 '../base/base.gyp:base', | 110 '../base/base.gyp:base', |
| 107 '../breakpad/breakpad.gyp:breakpad_handler', | 111 '../breakpad/breakpad.gyp:breakpad_handler', |
| 108 '../breakpad/breakpad.gyp:breakpad_sender', | 112 '../breakpad/breakpad.gyp:breakpad_sender', |
| 109 ], | 113 ], |
| 110 'sources': [ | 114 'sources': [ |
| 111 'breakpad/tools/crash_service.cc', | 115 'breakpad/tools/crash_service.cc', |
| 112 'breakpad/tools/crash_service.h', | 116 'breakpad/tools/crash_service.h', |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 'breakpad/app/breakpad_client.h', | 191 'breakpad/app/breakpad_client.h', |
| 188 'breakpad/app/breakpad_mac.h', | 192 'breakpad/app/breakpad_mac.h', |
| 189 'breakpad/app/breakpad_mac_stubs.mm', | 193 'breakpad/app/breakpad_mac_stubs.mm', |
| 190 ], | 194 ], |
| 191 }, | 195 }, |
| 192 ], | 196 ], |
| 193 }], | 197 }], |
| 194 ['os_posix == 1 and OS != "mac" and OS != "ios" and android_webview_build !=
1', { | 198 ['os_posix == 1 and OS != "mac" and OS != "ios" and android_webview_build !=
1', { |
| 195 'targets': [ | 199 'targets': [ |
| 196 { | 200 { |
| 201 # GN version: //components/breakpad/browser |
| 197 'target_name': 'breakpad_host', | 202 'target_name': 'breakpad_host', |
| 198 'type': 'static_library', | 203 'type': 'static_library', |
| 199 'dependencies': [ | 204 'dependencies': [ |
| 200 'breakpad_component', | 205 'breakpad_component', |
| 201 '../base/base.gyp:base', | 206 '../base/base.gyp:base', |
| 202 '../breakpad/breakpad.gyp:breakpad_client', | 207 '../breakpad/breakpad.gyp:breakpad_client', |
| 203 '../content/content.gyp:content_browser', | 208 '../content/content.gyp:content_browser', |
| 204 '../content/content.gyp:content_common', | 209 '../content/content.gyp:content_common', |
| 205 ], | 210 ], |
| 206 'sources': [ | 211 'sources': [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 219 'sources/': [ | 224 'sources/': [ |
| 220 ['include', '^breakpad/browser/crash_handler_host_linux\\.cc$'], | 225 ['include', '^breakpad/browser/crash_handler_host_linux\\.cc$'], |
| 221 ], | 226 ], |
| 222 }], | 227 }], |
| 223 ], | 228 ], |
| 224 }, | 229 }, |
| 225 ], | 230 ], |
| 226 }], | 231 }], |
| 227 ], | 232 ], |
| 228 } | 233 } |
| OLD | NEW |