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

Side by Side Diff: ios/chrome/browser/tabs/BUILD.gn

Issue 2886763003: [ios] Convert //ios/chrome/browser/tabs:unit_tests to ARC. (Closed)
Patch Set: Rebase Created 3 years, 7 months 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 | « no previous file | ios/chrome/browser/tabs/tab_model_unittest.mm » ('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 source_set("tabs") { 5 source_set("tabs") {
6 sources = [ 6 sources = [
7 "legacy_tab_helper.h", 7 "legacy_tab_helper.h",
8 "tab.h", 8 "tab.h",
9 "tab_delegate.h", 9 "tab_delegate.h",
10 "tab_dialog_delegate.h", 10 "tab_dialog_delegate.h",
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 "CoreLocation.framework", 135 "CoreLocation.framework",
136 "Foundation.framework", 136 "Foundation.framework",
137 "UIKit.framework", 137 "UIKit.framework",
138 ] 138 ]
139 configs += [ "//build/config/compiler:enable_arc" ] 139 configs += [ "//build/config/compiler:enable_arc" ]
140 } 140 }
141 141
142 source_set("unit_tests") { 142 source_set("unit_tests") {
143 testonly = true 143 testonly = true
144 sources = [ 144 sources = [
145 "tab_model_list_unittest.mm",
145 "tab_model_unittest.mm", 146 "tab_model_unittest.mm",
146 "tab_unittest.mm", 147 "tab_unittest.mm",
147 ] 148 ]
148 deps = [ 149 deps = [
149 ":tabs", 150 ":tabs",
150 ":tabs_internal", 151 ":tabs_internal",
151 ":unit_tests_arc",
152 "//base", 152 "//base",
153 "//components/bookmarks/test", 153 "//components/bookmarks/test",
154 "//components/history/core/browser", 154 "//components/history/core/browser",
155 "//components/keyed_service/core", 155 "//components/keyed_service/core",
156 "//ios/chrome/browser", 156 "//ios/chrome/browser",
157 "//ios/chrome/browser/bookmarks", 157 "//ios/chrome/browser/bookmarks",
158 "//ios/chrome/browser/browser_state:test_support", 158 "//ios/chrome/browser/browser_state:test_support",
159 "//ios/chrome/browser/history", 159 "//ios/chrome/browser/history",
160 "//ios/chrome/browser/infobars", 160 "//ios/chrome/browser/infobars",
161 "//ios/chrome/browser/sessions", 161 "//ios/chrome/browser/sessions",
162 "//ios/chrome/browser/sessions:serialisation", 162 "//ios/chrome/browser/sessions:serialisation",
163 "//ios/chrome/browser/sessions:test_support", 163 "//ios/chrome/browser/sessions:test_support",
164 "//ios/chrome/browser/ui:ui_internal", 164 "//ios/chrome/browser/ui:ui_internal",
165 "//ios/chrome/browser/web:web_internal", 165 "//ios/chrome/browser/web:web_internal",
166 "//ios/chrome/browser/web_state_list", 166 "//ios/chrome/browser/web_state_list",
167 "//ios/chrome/test:test_support", 167 "//ios/chrome/test:test_support",
168 "//ios/public/provider/chrome/browser", 168 "//ios/public/provider/chrome/browser",
169 "//ios/public/provider/chrome/browser:test_support", 169 "//ios/public/provider/chrome/browser:test_support",
170 "//ios/public/provider/chrome/browser/native_app_launcher:test_support", 170 "//ios/public/provider/chrome/browser/native_app_launcher:test_support",
171 "//ios/testing:ocmock_support", 171 "//ios/testing:ocmock_support",
172 "//ios/web", 172 "//ios/web",
173 "//ios/web:test_support", 173 "//ios/web:test_support",
174 "//net", 174 "//net",
175 "//testing/gtest", 175 "//testing/gtest",
176 "//third_party/ocmock", 176 "//third_party/ocmock",
177 ] 177 ]
178 }
179
180 source_set("unit_tests_arc") {
181 testonly = true
182 sources = [
183 "tab_model_list_unittest.mm",
184 ]
185 deps = [
186 ":tabs",
187 ":tabs_internal",
188 "//base",
189 "//ios/chrome/browser/browser_state:test_support",
190 "//ios/chrome/browser/sessions:test_support",
191 "//ios/web:test_support",
192 "//testing/gtest",
193 ]
194 configs += [ "//build/config/compiler:enable_arc" ] 178 configs += [ "//build/config/compiler:enable_arc" ]
195 } 179 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/tab_model_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698