| 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 # GN version: //components/crash/core/browser | 8 # GN version: //components/crash/core/browser |
| 9 'target_name': 'crash_core_browser', | 9 'target_name': 'crash_core_browser', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 # this target, crash_component_non_mac, which will be renamed | 105 # this target, crash_component_non_mac, which will be renamed |
| 106 # crash_component. crash_component_breakpad_mac_to_be_deleted will be | 106 # crash_component. crash_component_breakpad_mac_to_be_deleted will be |
| 107 # deleted. | 107 # deleted. |
| 108 # | 108 # |
| 109 # While this situation exists: | 109 # While this situation exists: |
| 110 # | 110 # |
| 111 # Do not depend on this target directly! Depend on | 111 # Do not depend on this target directly! Depend on |
| 112 # crash_component_breakpad_mac_to_be_deleted for old Breakpad behavior
on | 112 # crash_component_breakpad_mac_to_be_deleted for old Breakpad behavior
on |
| 113 # all platforms, or preferably, depend on crash_component to get Break
pad | 113 # all platforms, or preferably, depend on crash_component to get Break
pad |
| 114 # everywhere except for Mac, where you will get Crashpad. | 114 # everywhere except for Mac, where you will get Crashpad. |
| 115 # |
| 116 # GN version: //components/crash/content/app:app_non_mac |
| 115 'target_name': 'crash_component_non_mac', | 117 'target_name': 'crash_component_non_mac', |
| 116 'variables': { | 118 'variables': { |
| 117 'conditions': [ | 119 'conditions': [ |
| 118 ['OS == "ios" or OS == "mac"', { | 120 ['OS == "ios" or OS == "mac"', { |
| 119 # On IOS there are no files compiled into the library, and we | 121 # On IOS there are no files compiled into the library, and we |
| 120 # can't have libraries with zero objects. | 122 # can't have libraries with zero objects. |
| 121 # For now, the same applies to Mac OS X, until this target merge
s | 123 # For now, the same applies to Mac OS X, until this target merge
s |
| 122 # with crash_component. | 124 # with crash_component. |
| 123 'crash_component_target_type%': 'none', | 125 'crash_component_target_type%': 'none', |
| 124 }, { | 126 }, { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 ], | 215 ], |
| 214 }, | 216 }, |
| 215 { | 217 { |
| 216 # TODO(mark): https://crbug.com/466890: remove this target. | 218 # TODO(mark): https://crbug.com/466890: remove this target. |
| 217 # | 219 # |
| 218 # This is a temporary target provided for Mac Breakpad users that have
not | 220 # This is a temporary target provided for Mac Breakpad users that have
not |
| 219 # yet migrated to Crashpad (namely content_shell). This target will be | 221 # yet migrated to Crashpad (namely content_shell). This target will be |
| 220 # removed shortly and all consumers will be expected to use Crashpad a
s | 222 # removed shortly and all consumers will be expected to use Crashpad a
s |
| 221 # the Mac crash-reporting client. See the comment in the | 223 # the Mac crash-reporting client. See the comment in the |
| 222 # crash_component_non_mac target for more details. | 224 # crash_component_non_mac target for more details. |
| 225 # |
| 226 # GN version: //components/crash/content/app:app_breakpad_mac_to_be_de
leted |
| 223 'target_name': 'crash_component_breakpad_mac_to_be_deleted', | 227 'target_name': 'crash_component_breakpad_mac_to_be_deleted', |
| 224 'variables': { | 228 'variables': { |
| 225 'conditions': [ | 229 'conditions': [ |
| 226 ['OS != "mac" ', { | 230 ['OS != "mac" ', { |
| 227 # There are no source files on any platform but Mac OS X. | 231 # There are no source files on any platform but Mac OS X. |
| 228 'crash_component_target_type%': 'none', | 232 'crash_component_target_type%': 'none', |
| 229 }, { | 233 }, { |
| 230 'crash_component_target_type%': 'static_library', | 234 'crash_component_target_type%': 'static_library', |
| 231 }], | 235 }], |
| 232 ], | 236 ], |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 ], | 397 ], |
| 394 }], | 398 }], |
| 395 ], | 399 ], |
| 396 }, | 400 }, |
| 397 ], | 401 ], |
| 398 }], | 402 }], |
| 399 ], | 403 ], |
| 400 }], | 404 }], |
| 401 ], | 405 ], |
| 402 } | 406 } |
| OLD | NEW |