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 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 deps = [ | 67 deps = [ |
68 ":sad_tab_tab_helper_delegate", | 68 ":sad_tab_tab_helper_delegate", |
69 ":test_support", | 69 ":test_support", |
70 ":web", | 70 ":web", |
71 "//base:base", | 71 "//base:base", |
72 "//base/test:test_support", | 72 "//base/test:test_support", |
73 "//components/strings:components_strings_grit", | 73 "//components/strings:components_strings_grit", |
74 "//ios/chrome/browser/ui:ui", | 74 "//ios/chrome/browser/ui:ui", |
75 "//ios/chrome/browser/ui/sad_tab", | 75 "//ios/chrome/browser/ui/sad_tab", |
76 "//ios/chrome/test:test_support", | 76 "//ios/chrome/test:test_support", |
77 "//ios/web:test_support", | |
78 "//ios/web:web_arc", | 77 "//ios/web:web_arc", |
| 78 "//ios/web/public/test", |
| 79 "//ios/web/public/test/fakes", |
79 "//testing/gtest", | 80 "//testing/gtest", |
80 "//ui/base:base", | 81 "//ui/base:base", |
81 "//url:url", | 82 "//url:url", |
82 ] | 83 ] |
83 } | 84 } |
84 | 85 |
85 bundle_data("resources") { | 86 bundle_data("resources") { |
86 sources = [ | 87 sources = [ |
87 "resources/autofill_card_american_express.png", | 88 "resources/autofill_card_american_express.png", |
88 "resources/autofill_card_american_express@2x.png", | 89 "resources/autofill_card_american_express@2x.png", |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 "fake_mailto_handler_helpers.h", | 253 "fake_mailto_handler_helpers.h", |
253 "fake_mailto_handler_helpers.mm", | 254 "fake_mailto_handler_helpers.mm", |
254 ] | 255 ] |
255 deps = [ | 256 deps = [ |
256 "//components/password_manager/core/browser:test_support", | 257 "//components/password_manager/core/browser:test_support", |
257 "//ios/chrome/browser/browser_state:test_support", | 258 "//ios/chrome/browser/browser_state:test_support", |
258 "//ios/chrome/browser/passwords", | 259 "//ios/chrome/browser/passwords", |
259 "//ios/chrome/browser/ui:ui_internal", | 260 "//ios/chrome/browser/ui:ui_internal", |
260 "//ios/chrome/browser/web", | 261 "//ios/chrome/browser/web", |
261 "//ios/web", | 262 "//ios/web", |
262 "//ios/web:test_support", | 263 "//ios/web/public/test", |
263 ] | 264 ] |
264 } | 265 } |
265 | 266 |
266 source_set("unit_tests_internal") { | 267 source_set("unit_tests_internal") { |
267 configs += [ "//build/config/compiler:enable_arc" ] | 268 configs += [ "//build/config/compiler:enable_arc" ] |
268 testonly = true | 269 testonly = true |
269 sources = [ | 270 sources = [ |
270 "auto_reload_controller_unittest.mm", | 271 "auto_reload_controller_unittest.mm", |
271 "blocked_popup_tab_helper_unittest.mm", | 272 "blocked_popup_tab_helper_unittest.mm", |
272 "chrome_web_client_unittest.mm", | 273 "chrome_web_client_unittest.mm", |
273 "error_page_generator_unittest.mm", | 274 "error_page_generator_unittest.mm", |
274 "external_app_launcher_unittest.mm", | 275 "external_app_launcher_unittest.mm", |
275 ] | 276 ] |
276 deps = [ | 277 deps = [ |
277 ":test_support", | 278 ":test_support", |
278 ":web_internal", | 279 ":web_internal", |
279 "//base", | 280 "//base", |
280 "//base/test:test_support", | 281 "//base/test:test_support", |
281 "//components/content_settings/core/browser", | 282 "//components/content_settings/core/browser", |
282 "//components/infobars/core", | 283 "//components/infobars/core", |
283 "//ios/chrome/browser/browser_state:test_support", | 284 "//ios/chrome/browser/browser_state:test_support", |
284 "//ios/chrome/browser/content_settings:content_settings", | 285 "//ios/chrome/browser/content_settings:content_settings", |
285 "//ios/chrome/browser/find_in_page", | 286 "//ios/chrome/browser/find_in_page", |
286 "//ios/chrome/browser/infobars", | 287 "//ios/chrome/browser/infobars", |
287 "//ios/chrome/browser/ui", | 288 "//ios/chrome/browser/ui", |
288 "//ios/web", | 289 "//ios/web", |
289 "//ios/web:test_support", | 290 "//ios/web/public/test", |
| 291 "//ios/web/public/test/fakes", |
290 "//net", | 292 "//net", |
291 "//testing/gtest", | 293 "//testing/gtest", |
292 "//third_party/ocmock", | 294 "//third_party/ocmock", |
293 "//url", | 295 "//url", |
294 ] | 296 ] |
295 } | 297 } |
296 | 298 |
297 source_set("eg_tests") { | 299 source_set("eg_tests") { |
298 configs += [ "//build/config/compiler:enable_arc" ] | 300 configs += [ "//build/config/compiler:enable_arc" ] |
299 testonly = true | 301 testonly = true |
(...skipping 25 matching lines...) Expand all Loading... |
325 "//ios/chrome/browser/content_settings", | 327 "//ios/chrome/browser/content_settings", |
326 "//ios/chrome/browser/ui", | 328 "//ios/chrome/browser/ui", |
327 "//ios/chrome/browser/ui/commands", | 329 "//ios/chrome/browser/ui/commands", |
328 "//ios/chrome/test/app:test_support", | 330 "//ios/chrome/test/app:test_support", |
329 "//ios/chrome/test/earl_grey:test_support", | 331 "//ios/chrome/test/earl_grey:test_support", |
330 "//ios/testing:ios_test_support", | 332 "//ios/testing:ios_test_support", |
331 "//ios/testing/earl_grey:earl_grey_support", | 333 "//ios/testing/earl_grey:earl_grey_support", |
332 "//ios/third_party/earl_grey", | 334 "//ios/third_party/earl_grey", |
333 "//ios/third_party/material_components_ios", | 335 "//ios/third_party/material_components_ios", |
334 "//ios/web:earl_grey_test_support", | 336 "//ios/web:earl_grey_test_support", |
335 "//ios/web:test_support", | 337 "//ios/web/public/test", |
| 338 "//ios/web/public/test/http_server", |
336 "//net", | 339 "//net", |
337 "//ui/base", | 340 "//ui/base", |
338 "//url", | 341 "//url", |
339 ] | 342 ] |
340 libs = [ | 343 libs = [ |
341 "UIKit.framework", | 344 "UIKit.framework", |
342 "XCTest.framework", | 345 "XCTest.framework", |
343 ] | 346 ] |
344 } | 347 } |
345 | 348 |
346 source_set("perf_tests") { | 349 source_set("perf_tests") { |
347 configs += [ "//build/config/compiler:enable_arc" ] | 350 configs += [ "//build/config/compiler:enable_arc" ] |
348 testonly = true | 351 testonly = true |
349 sources = [ | 352 sources = [ |
350 "early_page_script_perftest.mm", | 353 "early_page_script_perftest.mm", |
351 ] | 354 ] |
352 deps = [ | 355 deps = [ |
353 "//base", | 356 "//base", |
354 "//ios/chrome/test/base:perf_test_support", | 357 "//ios/chrome/test/base:perf_test_support", |
355 "//ios/web", | 358 "//ios/web", |
356 "//ios/web:test_support", | 359 "//ios/web/public/test", |
| 360 "//ios/web/public/test/fakes", |
357 ] | 361 ] |
358 libs = [ "WebKit.framework" ] | 362 libs = [ "WebKit.framework" ] |
359 } | 363 } |
OLD | NEW |