OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 source_set("crash_report") { | 5 source_set("crash_report") { |
6 sources = [ | 6 sources = [ |
7 "breakpad_helper.h", | 7 "breakpad_helper.h", |
8 "breakpad_helper.mm", | 8 "breakpad_helper.mm", |
9 "crash_keys.cc", | 9 "crash_keys.cc", |
10 "crash_keys.h", | 10 "crash_keys.h", |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 deps = [ | 23 deps = [ |
24 "//base", | 24 "//base", |
25 "//breakpad:client", | 25 "//breakpad:client", |
26 "//components/crash/core/common", | 26 "//components/crash/core/common", |
27 "//components/upload_list", | 27 "//components/upload_list", |
28 "//ios/chrome/browser", | 28 "//ios/chrome/browser", |
29 "//ios/web", | 29 "//ios/web", |
30 ] | 30 ] |
31 } | 31 } |
| 32 |
| 33 source_set("crash_report_internal") { |
| 34 sources = [ |
| 35 "crash_report_helper.h", |
| 36 "crash_report_helper.mm", |
| 37 "crash_restore_helper.h", |
| 38 "crash_restore_helper.mm", |
| 39 ] |
| 40 deps = [ |
| 41 "//base", |
| 42 "//components/infobars/core", |
| 43 "//components/sessions", |
| 44 "//components/strings", |
| 45 "//components/upload_list", |
| 46 "//ios/chrome/app/theme", |
| 47 "//ios/chrome/browser", |
| 48 "//ios/chrome/browser/browser_state", |
| 49 "//ios/chrome/browser/crash_report", |
| 50 "//ios/chrome/browser/sessions", |
| 51 "//ios/chrome/browser/sessions:sessions_internal", |
| 52 "//ios/chrome/browser/tabs", |
| 53 "//ios/web", |
| 54 "//net", |
| 55 "//ui/base", |
| 56 ] |
| 57 } |
| 58 |
| 59 source_set("unit_tests") { |
| 60 testonly = true |
| 61 sources = [ |
| 62 "breakpad_helper_unittest.mm", |
| 63 "crash_restore_helper_unittest.mm", |
| 64 ] |
| 65 deps = [ |
| 66 ":crash_report_internal", |
| 67 "//base", |
| 68 "//breakpad:client", |
| 69 "//ios/chrome/browser/browser_state", |
| 70 "//ios/chrome/browser/browser_state:test_support", |
| 71 "//ios/chrome/browser/crash_report", |
| 72 "//ios/chrome/browser/sessions:sessions_internal", |
| 73 "//ios/chrome/test/base", |
| 74 "//ios/chrome/test/ocmock", |
| 75 "//ios/web:test_support", |
| 76 "//testing/gmock", |
| 77 "//testing/gtest", |
| 78 "//third_party/ocmock", |
| 79 ] |
| 80 } |
OLD | NEW |