OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/build/config.gni") | 5 import("//ios/build/config.gni") |
6 import("//ios/web/js_compile.gni") | 6 import("//ios/web/js_compile.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 | 9 |
10 source_set("web_arc") { | 10 source_set("web_arc") { |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 source_set("test_support") { | 356 source_set("test_support") { |
357 testonly = true | 357 testonly = true |
358 | 358 |
359 deps = [ | 359 deps = [ |
360 ":web", | 360 ":web", |
361 "//base", | 361 "//base", |
362 "//base/test:test_support", | 362 "//base/test:test_support", |
363 "//ios/testing:ios_test_support", | 363 "//ios/testing:ios_test_support", |
364 "//ios/testing:ocmock_support", | 364 "//ios/testing:ocmock_support", |
365 "//ios/third_party/gcdwebserver", | 365 "//ios/third_party/gcdwebserver", |
| 366 "//ios/web/public/image_fetcher", |
366 "//ios/web/test:mojo_bindings", | 367 "//ios/web/test:mojo_bindings", |
367 "//net:test_support", | 368 "//net:test_support", |
368 "//testing/gmock", | 369 "//testing/gmock", |
369 "//testing/gtest", | 370 "//testing/gtest", |
370 "//third_party/ocmock", | 371 "//third_party/ocmock", |
371 "//ui/base:base", | 372 "//ui/base:base", |
372 ] | 373 ] |
373 | 374 |
374 sources = [ | 375 sources = [ |
375 "public/test/crw_test_js_injection_receiver.h", | 376 "public/test/crw_test_js_injection_receiver.h", |
376 "public/test/crw_test_js_injection_receiver.mm", | 377 "public/test/crw_test_js_injection_receiver.mm", |
377 "public/test/http_server.h", | 378 "public/test/http_server.h", |
378 "public/test/http_server.mm", | 379 "public/test/http_server.mm", |
379 "public/test/http_server_util.h", | 380 "public/test/http_server_util.h", |
380 "public/test/http_server_util.mm", | 381 "public/test/http_server_util.mm", |
381 "public/test/js_test_util.h", | 382 "public/test/js_test_util.h", |
382 "public/test/js_test_util.mm", | 383 "public/test/js_test_util.mm", |
| 384 "public/test/mock_image_data_fetcher.h", |
| 385 "public/test/mock_image_data_fetcher.mm", |
383 "public/test/native_controller_test_util.h", | 386 "public/test/native_controller_test_util.h", |
384 "public/test/native_controller_test_util.mm", | 387 "public/test/native_controller_test_util.mm", |
385 "public/test/navigation_test_util.h", | 388 "public/test/navigation_test_util.h", |
386 "public/test/navigation_test_util.mm", | 389 "public/test/navigation_test_util.mm", |
387 "public/test/response_providers/data_response_provider.h", | 390 "public/test/response_providers/data_response_provider.h", |
388 "public/test/response_providers/data_response_provider.mm", | 391 "public/test/response_providers/data_response_provider.mm", |
389 "public/test/response_providers/delayed_response_provider.h", | 392 "public/test/response_providers/delayed_response_provider.h", |
390 "public/test/response_providers/delayed_response_provider.mm", | 393 "public/test/response_providers/delayed_response_provider.mm", |
391 "public/test/response_providers/error_page_response_provider.h", | 394 "public/test/response_providers/error_page_response_provider.h", |
392 "public/test/response_providers/error_page_response_provider.mm", | 395 "public/test/response_providers/error_page_response_provider.mm", |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 deps = [ | 474 deps = [ |
472 ":core", | 475 ":core", |
473 ":ios_web_unittests_bundle_data", | 476 ":ios_web_unittests_bundle_data", |
474 ":run_all_unittests", | 477 ":run_all_unittests", |
475 ":test_support", | 478 ":test_support", |
476 ":web", | 479 ":web", |
477 "//base", | 480 "//base", |
478 "//base/test:test_support", | 481 "//base/test:test_support", |
479 "//ios/net", | 482 "//ios/net", |
480 "//ios/testing:ocmock_support", | 483 "//ios/testing:ocmock_support", |
| 484 "//ios/web/public/image_fetcher:unit_tests", |
481 "//ios/web/test:mojo_bindings", | 485 "//ios/web/test:mojo_bindings", |
482 "//net:test_support", | 486 "//net:test_support", |
483 "//services/service_manager/public/cpp", | 487 "//services/service_manager/public/cpp", |
484 "//testing/gmock", | 488 "//testing/gmock", |
485 "//testing/gtest", | 489 "//testing/gtest", |
486 "//third_party/ocmock", | 490 "//third_party/ocmock", |
487 "//ui/base:test_support", | 491 "//ui/base:test_support", |
488 ] | 492 ] |
489 | 493 |
490 sources = [ | 494 sources = [ |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 } | 618 } |
615 | 619 |
616 grit("resources") { | 620 grit("resources") { |
617 source = "ios_web_resources.grd" | 621 source = "ios_web_resources.grd" |
618 use_qualified_include = true | 622 use_qualified_include = true |
619 outputs = [ | 623 outputs = [ |
620 "grit/ios_web_resources.h", | 624 "grit/ios_web_resources.h", |
621 "ios_web_resources.pak", | 625 "ios_web_resources.pak", |
622 ] | 626 ] |
623 } | 627 } |
OLD | NEW |