Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Side by Side Diff: ios/chrome/browser/ui/tab_switcher/BUILD.gn

Issue 2589843002: Upstream Chrome on iOS source code [11/11]. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/ui/tab_grid/BUILD.gn ('k') | ios/chrome/browser/ui/tabs/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/tabswitcher_full_history.png", 7 "resources/tabswitcher_full_history.png",
8 "resources/tabswitcher_full_history@2x.png", 8 "resources/tabswitcher_full_history@2x.png",
9 "resources/tabswitcher_full_history@3x.png", 9 "resources/tabswitcher_full_history@3x.png",
10 "resources/tabswitcher_incognito.png", 10 "resources/tabswitcher_incognito.png",
(...skipping 30 matching lines...) Expand all
41 "resources/tabswitcher_tab_switcher_button@2x.png", 41 "resources/tabswitcher_tab_switcher_button@2x.png",
42 "resources/tabswitcher_tab_switcher_button@3x.png", 42 "resources/tabswitcher_tab_switcher_button@3x.png",
43 "resources/tabswitcher_tablet.png", 43 "resources/tabswitcher_tablet.png",
44 "resources/tabswitcher_tablet@2x.png", 44 "resources/tabswitcher_tablet@2x.png",
45 "resources/tabswitcher_tablet@3x.png", 45 "resources/tabswitcher_tablet@3x.png",
46 ] 46 ]
47 outputs = [ 47 outputs = [
48 "{{bundle_resources_dir}}/{{source_file_part}}", 48 "{{bundle_resources_dir}}/{{source_file_part}}",
49 ] 49 ]
50 } 50 }
51
52 source_set("tab_switcher") {
53 sources = [
54 "session_changes.h",
55 "session_changes.mm",
56 "tab_model_snapshot.h",
57 "tab_model_snapshot.mm",
58 "tab_switcher.h",
59 "tab_switcher_button.h",
60 "tab_switcher_button.mm",
61 "tab_switcher_cache.h",
62 "tab_switcher_cache.mm",
63 "tab_switcher_controller.h",
64 "tab_switcher_controller.mm",
65 "tab_switcher_header_cell.h",
66 "tab_switcher_header_cell.mm",
67 "tab_switcher_header_view.h",
68 "tab_switcher_header_view.mm",
69 "tab_switcher_model.h",
70 "tab_switcher_model.mm",
71 "tab_switcher_model_private.h",
72 "tab_switcher_panel_cell.h",
73 "tab_switcher_panel_cell.mm",
74 "tab_switcher_panel_collection_view_layout.h",
75 "tab_switcher_panel_collection_view_layout.mm",
76 "tab_switcher_panel_controller.h",
77 "tab_switcher_panel_controller.mm",
78 "tab_switcher_panel_overlay_view.h",
79 "tab_switcher_panel_overlay_view.mm",
80 "tab_switcher_panel_view.h",
81 "tab_switcher_panel_view.mm",
82 "tab_switcher_session_cell_data.h",
83 "tab_switcher_session_cell_data.mm",
84 "tab_switcher_tab_strip_placeholder_view.h",
85 "tab_switcher_tab_strip_placeholder_view.mm",
86 "tab_switcher_transition_context.h",
87 "tab_switcher_transition_context.mm",
88 "tab_switcher_view.h",
89 "tab_switcher_view.mm",
90 ]
91 deps = [
92 ":utils",
93 "//base",
94 "//components/browser_sync",
95 "//components/sessions",
96 "//components/signin/core/browser",
97 "//components/sync",
98 "//components/sync_sessions",
99 "//ios/chrome/app/strings",
100 "//ios/chrome/app/theme",
101 "//ios/chrome/browser",
102 "//ios/chrome/browser/browser_state",
103 "//ios/chrome/browser/favicon",
104 "//ios/chrome/browser/metrics:metrics_internal",
105 "//ios/chrome/browser/sessions",
106 "//ios/chrome/browser/sessions:sessions_internal",
107 "//ios/chrome/browser/signin",
108 "//ios/chrome/browser/sync",
109 "//ios/chrome/browser/tabs",
110 "//ios/chrome/browser/ui",
111 "//ios/chrome/browser/ui/colors",
112 "//ios/chrome/browser/ui/commands",
113 "//ios/chrome/browser/ui/keyboard",
114 "//ios/chrome/browser/ui/material_components",
115 "//ios/chrome/browser/ui/ntp/recent_tabs/views",
116 "//ios/chrome/browser/ui/sync",
117 "//ios/chrome/browser/ui/tab_switcher:resources",
118 "//ios/chrome/browser/ui/tabs",
119 "//ios/chrome/browser/ui/toolbar",
120 "//ios/chrome/common:ios_app_bundle_id_prefix_header",
121 "//ios/public/provider/chrome/browser",
122 "//ios/third_party/material_components_ios",
123 "//ios/third_party/material_roboto_font_loader_ios",
124 "//ios/third_party/material_text_accessibility_ios",
125 "//ios/web",
126 "//ui/base",
127 "//ui/gfx",
128 "//url",
129 ]
130 public_deps = [
131 "//ios/chrome/browser/ui/ntp/recent_tabs",
132 ]
133 allow_circular_includes_from = [ "//ios/chrome/browser/ui/tabs" ]
134 libs = [
135 "QuartzCore.framework",
136 "UIKit.framework",
137 ]
138 }
139
140 source_set("utils") {
141 sources = [
142 "tab_switcher_utils.h",
143 "tab_switcher_utils.mm",
144 ]
145 deps = [
146 "//base",
147 "//components/browser_sync",
148 "//components/sync",
149 "//components/sync_sessions",
150 "//ios/chrome/app/strings",
151 "//ios/chrome/app/theme",
152 "//ios/chrome/browser/browser_state",
153 "//ios/chrome/browser/favicon",
154 "//ios/chrome/browser/sync",
155 "//ui/base",
156 ]
157 }
158
159 source_set("unit_tests") {
160 testonly = true
161 sources = [
162 "tab_model_snapshot_unittest.mm",
163 "tab_switcher_model_unittest.mm",
164 "tab_switcher_utils_unittest.mm",
165 ]
166 deps = [
167 ":tab_switcher",
168 ":utils",
169 "//base",
170 "//ios/chrome/browser/browser_state:test_support",
171 "//ios/chrome/browser/tabs",
172 "//ios/chrome/browser/ui/ntp/recent_tabs",
173 "//testing/gtest",
174 "//third_party/ocmock",
175 ]
176 }
177
178 source_set("eg_tests") {
179 testonly = true
180 sources = [
181 "tab_switcher_controller_egtest.mm",
182 ]
183 deps = [
184 "//base",
185 "//base/test:test_support",
186 "//ios/chrome/app:app_internal",
187 "//ios/chrome/app/strings",
188 "//ios/chrome/browser",
189 "//ios/chrome/browser/ui",
190 "//ios/chrome/browser/ui/commands",
191 "//ios/chrome/browser/ui/tools_menu",
192 "//ios/chrome/test/app:test_support",
193 "//ios/chrome/test/earl_grey:test_support",
194 "//ios/third_party/earl_grey",
195 "//ui/base",
196 ]
197 libs = [
198 "UIKit.framework",
199 "XCTest.framework",
200 ]
201 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/tab_grid/BUILD.gn ('k') | ios/chrome/browser/ui/tabs/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698