| 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 assert(!is_ios) | 5 assert(!is_ios) |
| 6 if (is_android) { | 6 if (is_android) { |
| 7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 static_library("lib") { | 10 static_library("lib") { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 } | 139 } |
| 140 } | 140 } |
| 141 | 141 |
| 142 # TODO(mark): https://crbug.com/466890: remove this target. | 142 # TODO(mark): https://crbug.com/466890: remove this target. |
| 143 # | 143 # |
| 144 # This is a temporary target provided for Mac Breakpad users that have not | 144 # This is a temporary target provided for Mac Breakpad users that have not |
| 145 # yet migrated to Crashpad (namely content_shell). This target will be | 145 # yet migrated to Crashpad (namely content_shell). This target will be |
| 146 # removed shortly and all consumers will be expected to use Crashpad as | 146 # removed shortly and all consumers will be expected to use Crashpad as |
| 147 # the Mac crash-reporting client. See the comment in the | 147 # the Mac crash-reporting client. See the comment in the |
| 148 # crash_component_non_mac target for more details. | 148 # crash_component_non_mac target for more details. |
| 149 source_set("app_breakpad_mac_win_to_be_deleted") { | 149 static_library("app_breakpad_mac_win_to_be_deleted") { |
| 150 deps = [ | 150 deps = [ |
| 151 ":app_non_mac_win", | 151 ":app_non_mac_win", |
| 152 ] | 152 ] |
| 153 | 153 |
| 154 if (is_mac || is_win) { | 154 if (is_mac || is_win) { |
| 155 sources = [ | 155 sources = [ |
| 156 "breakpad_mac.h", | 156 "breakpad_mac.h", |
| 157 "breakpad_mac.mm", | 157 "breakpad_mac.mm", |
| 158 "breakpad_win.cc", | 158 "breakpad_win.cc", |
| 159 "breakpad_win.h", | 159 "breakpad_win.h", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 178 } | 178 } |
| 179 | 179 |
| 180 if (is_win) { | 180 if (is_win) { |
| 181 deps += [ "//breakpad:breakpad_handler" ] | 181 deps += [ "//breakpad:breakpad_handler" ] |
| 182 libs = [ "userenv.lib" ] | 182 libs = [ "userenv.lib" ] |
| 183 } | 183 } |
| 184 } | 184 } |
| 185 } | 185 } |
| 186 | 186 |
| 187 if (is_mac) { | 187 if (is_mac) { |
| 188 source_set("breakpad_stubs") { | 188 static_library("breakpad_stubs") { |
| 189 sources = [ | 189 sources = [ |
| 190 "breakpad_mac.h", | 190 "breakpad_mac.h", |
| 191 "breakpad_mac_stubs.mm", | 191 "breakpad_mac_stubs.mm", |
| 192 "crash_reporter_client.cc", | 192 "crash_reporter_client.cc", |
| 193 "crash_reporter_client.h", | 193 "crash_reporter_client.h", |
| 194 ] | 194 ] |
| 195 deps = [ | 195 deps = [ |
| 196 "//base", | 196 "//base", |
| 197 ] | 197 ] |
| 198 } | 198 } |
| 199 } | 199 } |
| 200 | 200 |
| 201 source_set("unit_tests") { | 201 source_set("unit_tests") { |
| 202 testonly = true | 202 testonly = true |
| 203 sources = [ | 203 sources = [ |
| 204 "crash_keys_win_unittest.cc", | 204 "crash_keys_win_unittest.cc", |
| 205 ] | 205 ] |
| 206 deps = [ | 206 deps = [ |
| 207 ":lib", | 207 ":lib", |
| 208 "//base", | 208 "//base", |
| 209 "//testing/gmock", | 209 "//testing/gmock", |
| 210 "//testing/gtest", | 210 "//testing/gtest", |
| 211 ] | 211 ] |
| 212 | 212 |
| 213 if (is_win) { | 213 if (is_win) { |
| 214 deps += [ "//breakpad:client" ] | 214 deps += [ "//breakpad:client" ] |
| 215 } | 215 } |
| 216 } | 216 } |
| OLD | NEW |