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

Side by Side Diff: ios/chrome/browser/web/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/webui/BUILD.gn ('k') | ios/chrome/test/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 import("//ios/web/js_compile.gni") 5 import("//ios/web/js_compile.gni")
6 6
7 source_set("web") { 7 source_set("web") {
8 configs += [ "//build/config/compiler:enable_arc" ] 8 configs += [ "//build/config/compiler:enable_arc" ]
9 sources = [ 9 sources = [
10 "dom_altering_lock.h", 10 "dom_altering_lock.h",
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 outputs = [ 148 outputs = [
149 "{{bundle_resources_dir}}/{{source_file_part}}", 149 "{{bundle_resources_dir}}/{{source_file_part}}",
150 ] 150 ]
151 } 151 }
152 152
153 js_compile_unchecked("injected_js") { 153 js_compile_unchecked("injected_js") {
154 sources = [ 154 sources = [
155 "resources/print.js", 155 "resources/print.js",
156 ] 156 ]
157 } 157 }
158
159 source_set("web_internal") {
160 sources = [
161 "auto_reload_bridge.h",
162 "auto_reload_bridge.mm",
163 "auto_reload_controller.h",
164 "auto_reload_controller.mm",
165 "blocked_popup_handler.h",
166 "blocked_popup_handler.mm",
167 "chrome_web_client.h",
168 "chrome_web_client.mm",
169 "error_page_content.h",
170 "error_page_content.mm",
171 "external_app_launcher.h",
172 "external_app_launcher.mm",
173 "passkit_dialog_provider.h",
174 "print_observer.h",
175 "print_observer.mm",
176 ]
177 deps = [
178 "//base",
179 "//components/content_settings/core/browser",
180 "//components/dom_distiller/core",
181 "//components/error_page/common",
182 "//components/infobars/core",
183 "//components/prefs",
184 "//components/resources",
185 "//components/strings",
186 "//components/task_scheduler_util/initialization",
187 "//components/task_scheduler_util/variations",
188 "//components/version_info",
189 "//ios/chrome/app/strings",
190 "//ios/chrome/browser",
191 "//ios/chrome/browser:browser_impl",
192 "//ios/chrome/browser/browser_state",
193 "//ios/chrome/browser/content_settings",
194 "//ios/chrome/browser/ssl",
195 "//ios/chrome/browser/ui/commands",
196 "//ios/chrome/browser/ui/overscroll_actions",
197 "//ios/chrome/browser/ui/static_content",
198 "//ios/chrome/browser/web:injected_js",
199 "//ios/chrome/browser/web:resources",
200 "//ios/public/provider/chrome/browser",
201 "//ios/public/provider/chrome/browser/voice",
202 "//ios/third_party/material_components_ios",
203 "//ios/web",
204 "//ios/web:user_agent",
205 "//net",
206 "//ui/base",
207 "//ui/gfx",
208 "//url",
209 ]
210 libs = [ "UIKit.framework" ]
211 }
212
213 source_set("test_support") {
214 testonly = true
215 sources = [
216 "chrome_web_test.h",
217 "chrome_web_test.mm",
218 ]
219 deps = [
220 "//components/password_manager/core/browser:test_support",
221 "//ios/chrome/browser/browser_state:test_support",
222 "//ios/chrome/browser/passwords",
223 "//ios/chrome/browser/ui:ui_internal",
224 "//ios/web",
225 "//ios/web:test_support",
226 ]
227 }
228
229 source_set("unit_tests_internal") {
230 testonly = true
231 sources = [
232 "auto_reload_controller_unittest.mm",
233 "chrome_web_client_unittest.mm",
234 "error_page_content_unittest.mm",
235 "external_app_launcher_unittest.mm",
236 "find_in_page_js_unittest.mm",
237 "js_findinpage_manager_unittest.mm",
238 ]
239 deps = [
240 ":test_support",
241 ":web_internal",
242 "//base",
243 "//base/test:test_support",
244 "//ios/chrome/browser/find_in_page",
245 "//ios/chrome/browser/ui",
246 "//ios/web",
247 "//ios/web:test_support",
248 "//net",
249 "//testing/gtest",
250 "//third_party/ocmock",
251 "//url",
252 ]
253 }
254
255 source_set("eg_tests") {
256 testonly = true
257 sources = [
258 "browsing_egtest.mm",
259 "browsing_prevent_default_egtest.mm",
260 "cache_egtest.mm",
261 "child_window_open_by_dom_egtest.mm",
262 "forms_egtest.mm",
263 "js_print_egtest.mm",
264 "navigation_egtest.mm",
265 "progress_indicator_egtest.mm",
266 "push_and_replace_state_navigation_egtest.mm",
267 "stop_loading_egtest.mm",
268 "visible_url_egtest.mm",
269 "window_open_by_dom_egtest.mm",
270 ]
271 deps = [
272 "//base",
273 "//base/test:test_support",
274 "//components/content_settings/core/browser",
275 "//components/content_settings/core/common",
276 "//components/strings",
277 "//ios/chrome/app/strings",
278 "//ios/chrome/browser",
279 "//ios/chrome/browser/browser_state",
280 "//ios/chrome/browser/content_settings",
281 "//ios/chrome/browser/ui",
282 "//ios/chrome/browser/ui/commands",
283 "//ios/chrome/test/app:test_support",
284 "//ios/chrome/test/earl_grey:test_support",
285 "//ios/testing:ios_test_support",
286 "//ios/testing/earl_grey:earl_grey_support",
287 "//ios/third_party/earl_grey",
288 "//ios/third_party/material_components_ios",
289 "//ios/web:earl_grey_test_support",
290 "//ios/web:test_support",
291 "//net",
292 "//ui/base",
293 "//url",
294 ]
295 libs = [
296 "UIKit.framework",
297 "XCTest.framework",
298 ]
299 }
300
301 source_set("perf_tests") {
302 testonly = true
303 sources = [
304 "early_page_script_perftest.mm",
305 ]
306 deps = [
307 "//base",
308 "//ios/chrome/test/base:perf_test_support",
309 "//ios/web",
310 "//ios/web:test_support",
311 ]
312 libs = [ "WebKit.framework" ]
313 }
314
315 # Clean Skeleton targets.
316 source_set("web_clean_skeleton") {
317 sources = [
318 "web_mediator+internal.h",
319 "web_mediator.h",
320 "web_mediator.mm",
321 ]
322
323 configs += [ "//build/config/compiler:enable_arc" ]
324 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/webui/BUILD.gn ('k') | ios/chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698