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("recent_tabs") { | |
6 sources = [ | |
7 "recent_tabs_bridges.h", | |
8 "recent_tabs_bridges.mm", | |
9 "recent_tabs_panel_controller.h", | |
10 "recent_tabs_panel_controller.mm", | |
11 "recent_tabs_panel_view_controller.h", | |
12 "recent_tabs_panel_view_controller.mm", | |
13 "recent_tabs_table_view_controller.h", | |
14 "recent_tabs_table_view_controller.mm", | |
15 "sessions_sync_user_state.h", | |
16 "synced_sessions.h", | |
17 "synced_sessions.mm", | |
18 "synced_sessions_bridge.h", | |
19 "synced_sessions_bridge.mm", | |
20 ] | |
21 deps = [ | |
22 "//base", | |
23 "//components/browser_sync", | |
24 "//components/sessions", | |
25 "//components/signin/core/browser", | |
26 "//components/sync", | |
27 "//ios/chrome/app/strings", | |
28 "//ios/chrome/app/theme", | |
29 "//ios/chrome/browser/browser_state", | |
30 "//ios/chrome/browser/metrics:metrics_internal", | |
31 "//ios/chrome/browser/sessions", | |
32 "//ios/chrome/browser/sessions:sessions_internal", | |
33 "//ios/chrome/browser/signin", | |
34 "//ios/chrome/browser/sync", | |
35 "//ios/chrome/browser/ui", | |
36 "//ios/chrome/browser/ui/commands", | |
37 "//ios/chrome/browser/ui/context_menu", | |
38 "//ios/chrome/browser/ui/ntp", | |
39 "//ios/chrome/browser/ui/ntp/recent_tabs/views", | |
40 "//ios/web", | |
41 "//ui/base", | |
42 "//url", | |
43 ] | |
44 public_deps = [ | |
45 "//components/sync_sessions", | |
46 ] | |
47 allow_circular_includes_from = | |
48 [ "//ios/chrome/browser/ui/ntp/recent_tabs/views" ] | |
49 libs = [ "UIKit.framework" ] | |
50 } | |
51 | |
52 source_set("unit_tests") { | |
53 testonly = true | |
54 sources = [ | |
55 "recent_tabs_panel_controller_unittest.mm", | |
56 ] | |
57 deps = [ | |
58 ":recent_tabs", | |
59 "//base", | |
60 "//components/browser_sync", | |
61 "//components/browser_sync:test_support", | |
62 "//components/signin/core/browser", | |
63 "//components/sync_sessions", | |
64 "//ios/chrome/browser/browser_state:test_support", | |
65 "//ios/chrome/browser/signin", | |
66 "//ios/chrome/browser/sync", | |
67 "//ios/chrome/browser/sync:test_support", | |
68 "//ios/chrome/browser/ui/ntp:ntp_internal", | |
69 "//ios/chrome/test:test_support", | |
70 "//ios/web:test_support", | |
71 "//testing/gtest", | |
72 "//third_party/ocmock", | |
73 ] | |
74 } | |
75 | |
76 source_set("eg_tests") { | |
77 testonly = true | |
78 sources = [ | |
79 "recent_tabs_panel_controller_egtest.mm", | |
80 ] | |
81 deps = [ | |
82 "//components/strings", | |
83 "//ios/chrome/app/strings", | |
84 "//ios/chrome/browser/ui", | |
85 "//ios/chrome/browser/ui/tools_menu", | |
86 "//ios/chrome/test/app:test_support", | |
87 "//ios/chrome/test/earl_grey:test_support", | |
88 "//ios/third_party/earl_grey", | |
89 "//ios/web:test_support", | |
90 ] | |
91 libs = [ "XCTest.framework" ] | |
92 } | |
OLD | NEW |