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 bundle_data("resources") { | 5 bundle_data("resources") { |
6 sources = [ | 6 sources = [ |
7 "resources/bookmark_bar_innershadow.png", | 7 "resources/bookmark_bar_innershadow.png", |
8 "resources/bookmark_bar_innershadow@2x.png", | 8 "resources/bookmark_bar_innershadow@2x.png", |
9 "resources/bookmark_bar_innershadow@3x.png", | 9 "resources/bookmark_bar_innershadow@3x.png", |
10 "resources/bookmark_bar_shadow.png", | 10 "resources/bookmark_bar_shadow.png", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 "resources/bookmark_white_edit@2x.png", | 71 "resources/bookmark_white_edit@2x.png", |
72 "resources/bookmark_white_edit@3x.png", | 72 "resources/bookmark_white_edit@3x.png", |
73 "resources/bookmark_white_move.png", | 73 "resources/bookmark_white_move.png", |
74 "resources/bookmark_white_move@2x.png", | 74 "resources/bookmark_white_move@2x.png", |
75 "resources/bookmark_white_move@3x.png", | 75 "resources/bookmark_white_move@3x.png", |
76 ] | 76 ] |
77 outputs = [ | 77 outputs = [ |
78 "{{bundle_resources_dir}}/{{source_file_part}}", | 78 "{{bundle_resources_dir}}/{{source_file_part}}", |
79 ] | 79 ] |
80 } | 80 } |
| 81 |
| 82 source_set("bookmarks") { |
| 83 sources = [ |
| 84 "bookmark_all_collection_view.h", |
| 85 "bookmark_all_collection_view.mm", |
| 86 "bookmark_collection_cells.h", |
| 87 "bookmark_collection_cells.mm", |
| 88 "bookmark_collection_view.h", |
| 89 "bookmark_collection_view.mm", |
| 90 "bookmark_collection_view_background.h", |
| 91 "bookmark_collection_view_background.mm", |
| 92 "bookmark_controller_factory.h", |
| 93 "bookmark_controller_factory.mm", |
| 94 "bookmark_edit_view_controller.h", |
| 95 "bookmark_edit_view_controller.mm", |
| 96 "bookmark_elevated_toolbar.h", |
| 97 "bookmark_elevated_toolbar.mm", |
| 98 "bookmark_extended_button.h", |
| 99 "bookmark_extended_button.mm", |
| 100 "bookmark_folder_collection_view.h", |
| 101 "bookmark_folder_collection_view.mm", |
| 102 "bookmark_folder_editor_view_controller.h", |
| 103 "bookmark_folder_editor_view_controller.mm", |
| 104 "bookmark_folder_table_view_cell.h", |
| 105 "bookmark_folder_table_view_cell.mm", |
| 106 "bookmark_folder_view_controller.h", |
| 107 "bookmark_folder_view_controller.mm", |
| 108 "bookmark_home_handset_view_controller.h", |
| 109 "bookmark_home_handset_view_controller.mm", |
| 110 "bookmark_home_primary_view.h", |
| 111 "bookmark_home_tablet_ntp_controller.h", |
| 112 "bookmark_home_tablet_ntp_controller.mm", |
| 113 "bookmark_home_view_controller.h", |
| 114 "bookmark_home_view_controller.mm", |
| 115 "bookmark_home_waiting_view.h", |
| 116 "bookmark_home_waiting_view.mm", |
| 117 "bookmark_interaction_controller.h", |
| 118 "bookmark_interaction_controller.mm", |
| 119 "bookmark_menu_cell.h", |
| 120 "bookmark_menu_cell.mm", |
| 121 "bookmark_menu_item.h", |
| 122 "bookmark_menu_item.mm", |
| 123 "bookmark_menu_view.h", |
| 124 "bookmark_menu_view.mm", |
| 125 "bookmark_model_bridge_observer.h", |
| 126 "bookmark_model_bridge_observer.mm", |
| 127 "bookmark_navigation_controller.h", |
| 128 "bookmark_navigation_controller.mm", |
| 129 "bookmark_panel_view.h", |
| 130 "bookmark_panel_view.mm", |
| 131 "bookmark_position_cache.h", |
| 132 "bookmark_position_cache.mm", |
| 133 "bookmark_promo_cell.h", |
| 134 "bookmark_promo_cell.mm", |
| 135 "bookmark_promo_controller.h", |
| 136 "bookmark_promo_controller.mm", |
| 137 "bookmark_utils_ios.h", |
| 138 "bookmark_utils_ios.mm", |
| 139 "undo_manager_bridge_observer.h", |
| 140 "undo_manager_bridge_observer.mm", |
| 141 "undo_manager_wrapper.h", |
| 142 "undo_manager_wrapper.mm", |
| 143 ] |
| 144 deps = [ |
| 145 "//base", |
| 146 "//base:i18n", |
| 147 "//components/bookmarks/browser", |
| 148 "//components/favicon/core", |
| 149 "//components/favicon_base", |
| 150 "//components/pref_registry", |
| 151 "//components/prefs", |
| 152 "//components/query_parser", |
| 153 "//components/signin/core/browser", |
| 154 "//components/strings", |
| 155 "//components/undo", |
| 156 "//components/url_formatter", |
| 157 "//google_apis", |
| 158 "//ios/chrome/app/strings", |
| 159 "//ios/chrome/app/theme", |
| 160 "//ios/chrome/browser", |
| 161 "//ios/chrome/browser/bookmarks", |
| 162 "//ios/chrome/browser/bookmarks:bookmarks_utils", |
| 163 "//ios/chrome/browser/browser_state", |
| 164 "//ios/chrome/browser/favicon", |
| 165 "//ios/chrome/browser/metrics:metrics_internal", |
| 166 "//ios/chrome/browser/signin", |
| 167 "//ios/chrome/browser/tabs", |
| 168 "//ios/chrome/browser/ui", |
| 169 "//ios/chrome/browser/ui/alert_coordinator", |
| 170 "//ios/chrome/browser/ui/bookmarks:resources", |
| 171 "//ios/chrome/browser/ui/bookmarks/bars", |
| 172 "//ios/chrome/browser/ui/bookmarks/cells", |
| 173 "//ios/chrome/browser/ui/collection_view", |
| 174 "//ios/chrome/browser/ui/collection_view/cells", |
| 175 "//ios/chrome/browser/ui/colors", |
| 176 "//ios/chrome/browser/ui/commands", |
| 177 "//ios/chrome/browser/ui/icons", |
| 178 "//ios/chrome/browser/ui/keyboard", |
| 179 "//ios/chrome/browser/ui/material_components", |
| 180 "//ios/chrome/browser/ui/ntp", |
| 181 "//ios/chrome/browser/undo", |
| 182 "//ios/public/provider/chrome/browser", |
| 183 "//ios/public/provider/chrome/browser/ui", |
| 184 "//ios/third_party/material_components_ios", |
| 185 "//ios/third_party/material_roboto_font_loader_ios", |
| 186 "//ios/web", |
| 187 "//skia", |
| 188 "//ui/base", |
| 189 "//ui/gfx", |
| 190 "//url", |
| 191 ] |
| 192 allow_circular_includes_from = [ |
| 193 "//ios/chrome/browser/ui/bookmarks/bars", |
| 194 "//ios/chrome/browser/ui/bookmarks/cells", |
| 195 ] |
| 196 libs = [ |
| 197 "CoreGraphics.framework", |
| 198 "QuartzCore.framework", |
| 199 "UIKit.framework", |
| 200 ] |
| 201 } |
| 202 |
| 203 source_set("unit_tests") { |
| 204 testonly = true |
| 205 sources = [ |
| 206 "bookmark_home_view_controller_unittest.mm", |
| 207 "bookmark_ios_unittest.mm", |
| 208 "bookmark_position_cache_unittest.mm", |
| 209 "bookmark_utils_ios_unittest.mm", |
| 210 ] |
| 211 deps = [ |
| 212 ":bookmarks", |
| 213 "//base", |
| 214 "//components/bookmarks/browser", |
| 215 "//components/bookmarks/test", |
| 216 "//components/sync_preferences:test_support", |
| 217 "//ios/chrome/browser", |
| 218 "//ios/chrome/browser/bookmarks", |
| 219 "//ios/chrome/browser/browser_state:test_support", |
| 220 "//ios/web:test_support", |
| 221 "//testing/gtest", |
| 222 ] |
| 223 } |
| 224 |
| 225 source_set("eg_tests") { |
| 226 testonly = true |
| 227 sources = [ |
| 228 "bookmarks_egtest.mm", |
| 229 ] |
| 230 deps = [ |
| 231 "//base", |
| 232 "//components/bookmarks/browser", |
| 233 "//components/prefs", |
| 234 "//components/strings", |
| 235 "//ios/chrome/app/strings", |
| 236 "//ios/chrome/browser", |
| 237 "//ios/chrome/browser/bookmarks", |
| 238 "//ios/chrome/browser/bookmarks:bookmarks_utils", |
| 239 "//ios/chrome/browser/browser_state", |
| 240 "//ios/chrome/browser/ui", |
| 241 "//ios/chrome/browser/ui/commands", |
| 242 "//ios/chrome/browser/ui/toolbar", |
| 243 "//ios/chrome/browser/ui/tools_menu", |
| 244 "//ios/chrome/test/app:test_support", |
| 245 "//ios/chrome/test/earl_grey:test_support", |
| 246 "//ios/public/provider/chrome/browser/signin:test_support", |
| 247 "//ios/testing:ios_test_support", |
| 248 "//ios/third_party/earl_grey", |
| 249 "//ios/web:test_support", |
| 250 "//ui/base", |
| 251 "//url", |
| 252 ] |
| 253 libs = [ |
| 254 "UIKit.framework", |
| 255 "XCTest.framework", |
| 256 ] |
| 257 } |
OLD | NEW |