OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 source_set("history") { |
| 6 sources = [ |
| 7 "clear_browsing_bar.h", |
| 8 "clear_browsing_bar.mm", |
| 9 "favicon_view.h", |
| 10 "favicon_view.mm", |
| 11 "favicon_view_provider.h", |
| 12 "favicon_view_provider.mm", |
| 13 "history_collection_view_controller.h", |
| 14 "history_collection_view_controller.mm", |
| 15 "history_entries_status_item.h", |
| 16 "history_entries_status_item.mm", |
| 17 "history_entry.cc", |
| 18 "history_entry.h", |
| 19 "history_entry_inserter.h", |
| 20 "history_entry_inserter.mm", |
| 21 "history_entry_item.h", |
| 22 "history_entry_item.mm", |
| 23 "history_panel_view_controller.h", |
| 24 "history_panel_view_controller.mm", |
| 25 "history_search_view.h", |
| 26 "history_search_view.mm", |
| 27 "history_search_view_controller.h", |
| 28 "history_search_view_controller.mm", |
| 29 "history_service_facade.h", |
| 30 "history_service_facade.mm", |
| 31 "history_service_facade_delegate.h", |
| 32 "history_util.h", |
| 33 "history_util.mm", |
| 34 "tab_history_cell.h", |
| 35 "tab_history_cell.mm", |
| 36 "tab_history_popup_controller.h", |
| 37 "tab_history_popup_controller.mm", |
| 38 "tab_history_view_controller.h", |
| 39 "tab_history_view_controller.mm", |
| 40 ] |
| 41 deps = [ |
| 42 "//base", |
| 43 "//base:i18n", |
| 44 "//components/browser_sync", |
| 45 "//components/browsing_data/core", |
| 46 "//components/favicon/core", |
| 47 "//components/favicon_base", |
| 48 "//components/history/core/browser", |
| 49 "//components/keyed_service/core", |
| 50 "//components/prefs", |
| 51 "//components/query_parser", |
| 52 "//components/strings", |
| 53 "//components/sync/protocol", |
| 54 "//components/url_formatter", |
| 55 "//ios/chrome/app/strings", |
| 56 "//ios/chrome/browser", |
| 57 "//ios/chrome/browser/browser_state", |
| 58 "//ios/chrome/browser/favicon", |
| 59 "//ios/chrome/browser/history", |
| 60 "//ios/chrome/browser/signin", |
| 61 "//ios/chrome/browser/sync", |
| 62 "//ios/chrome/browser/ui", |
| 63 "//ios/chrome/browser/ui/collection_view", |
| 64 "//ios/chrome/browser/ui/collection_view/cells", |
| 65 "//ios/chrome/browser/ui/colors", |
| 66 "//ios/chrome/browser/ui/commands", |
| 67 "//ios/chrome/browser/ui/context_menu", |
| 68 "//ios/chrome/browser/ui/icons", |
| 69 "//ios/chrome/browser/ui/material_components", |
| 70 "//ios/chrome/browser/ui/ntp/recent_tabs/views", |
| 71 "//ios/chrome/browser/ui/popup_menu", |
| 72 "//ios/chrome/browser/ui/settings", |
| 73 "//ios/chrome/browser/ui/util", |
| 74 "//ios/chrome/common", |
| 75 "//ios/third_party/material_components_ios", |
| 76 "//ios/third_party/material_roboto_font_loader_ios", |
| 77 "//ios/web", |
| 78 "//net", |
| 79 "//skia", |
| 80 "//ui/base", |
| 81 "//ui/gfx", |
| 82 "//url", |
| 83 ] |
| 84 libs = [ |
| 85 "MobileCoreServices.framework", |
| 86 "QuartzCore.framework", |
| 87 "UIKit.framework", |
| 88 ] |
| 89 } |
| 90 |
| 91 source_set("unit_tests") { |
| 92 testonly = true |
| 93 sources = [ |
| 94 "favicon_view_provider_unittest.mm", |
| 95 "history_collection_view_controller_unittest.mm", |
| 96 "history_entries_status_item_unittest.mm", |
| 97 "history_entry_inserter_unittest.mm", |
| 98 "history_entry_item_unittest.mm", |
| 99 "history_search_view_controller_unittest.mm", |
| 100 "history_service_facade_unittest.mm", |
| 101 "history_util_unittest.mm", |
| 102 "tab_history_popup_controller_unittest.mm", |
| 103 ] |
| 104 deps = [ |
| 105 ":history", |
| 106 ":resources_unit_tests", |
| 107 "//base", |
| 108 "//base/test:test_support", |
| 109 "//components/favicon/core", |
| 110 "//components/favicon_base", |
| 111 "//components/history/core/browser", |
| 112 "//components/keyed_service/core", |
| 113 "//components/sessions", |
| 114 "//components/strings", |
| 115 "//ios/chrome/app/strings", |
| 116 "//ios/chrome/browser", |
| 117 "//ios/chrome/browser/browser_state:test_support", |
| 118 "//ios/chrome/browser/history", |
| 119 "//ios/chrome/browser/signin", |
| 120 "//ios/chrome/browser/signin:test_support", |
| 121 "//ios/chrome/browser/ui", |
| 122 "//ios/chrome/browser/ui/collection_view", |
| 123 "//ios/chrome/browser/ui/util", |
| 124 "//ios/chrome/common", |
| 125 "//ios/chrome/test:test_support", |
| 126 "//ios/web", |
| 127 "//ios/web:test_support", |
| 128 "//skia", |
| 129 "//testing/gtest", |
| 130 "//third_party/ocmock", |
| 131 "//ui/base", |
| 132 "//ui/gfx", |
| 133 "//url", |
| 134 ] |
| 135 } |
| 136 |
| 137 bundle_data("resources_unit_tests") { |
| 138 visibility = [ ":unit_tests" ] |
| 139 testonly = true |
| 140 sources = [ |
| 141 "//ios/chrome/test/data/favicon/test_favicon.png", |
| 142 ] |
| 143 outputs = [ |
| 144 "{{bundle_resources_dir}}/" + |
| 145 "ios/chrome/test/data/favicon/{{source_file_part}}", |
| 146 ] |
| 147 } |
| 148 |
| 149 source_set("eg_tests") { |
| 150 testonly = true |
| 151 sources = [ |
| 152 "history_ui_egtest.mm", |
| 153 "tab_history_popup_controller_egtest.mm", |
| 154 ] |
| 155 deps = [ |
| 156 "//base", |
| 157 "//components/browsing_data/core", |
| 158 "//components/prefs", |
| 159 "//components/strings", |
| 160 "//ios/chrome/app/strings", |
| 161 "//ios/chrome/browser/browser_state", |
| 162 "//ios/chrome/browser/ui/history", |
| 163 "//ios/chrome/browser/ui/settings", |
| 164 "//ios/chrome/test/app:test_support", |
| 165 "//ios/chrome/test/earl_grey:test_support", |
| 166 "//ios/testing:ios_test_support", |
| 167 "//ios/third_party/earl_grey", |
| 168 "//ios/web:test_support", |
| 169 "//net", |
| 170 "//ui/base", |
| 171 ] |
| 172 libs = [ |
| 173 "UIKit.framework", |
| 174 "XCTest.framework", |
| 175 ] |
| 176 } |
OLD | NEW |