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/web/js_compile.gni") | 5 import("//ios/web/js_compile.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 | 8 |
9 source_set("web") { | 9 source_set("web") { |
10 deps = [ | 10 deps = [ |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 "webui/crw_web_ui_page_builder_unittest.mm", | 465 "webui/crw_web_ui_page_builder_unittest.mm", |
466 "webui/mojo_facade_unittest.mm", | 466 "webui/mojo_facade_unittest.mm", |
467 "webui/url_fetcher_block_adapter_unittest.mm", | 467 "webui/url_fetcher_block_adapter_unittest.mm", |
468 ] | 468 ] |
469 } | 469 } |
470 | 470 |
471 test("ios_web_inttests") { | 471 test("ios_web_inttests") { |
472 deps = [ | 472 deps = [ |
473 ":test_support", | 473 ":test_support", |
474 ":web", | 474 ":web", |
| 475 "test:mojo_bindings", |
| 476 "test:packed_resources", |
| 477 "test:resources", |
475 "//base/test:test_support", | 478 "//base/test:test_support", |
| 479 "//ios/public/provider/web", |
476 "//mojo/edk/system", | 480 "//mojo/edk/system", |
477 "//net:test_support", | 481 "//net:test_support", |
| 482 "//services/shell/public/cpp", |
478 "//testing/gtest", | 483 "//testing/gtest", |
479 "//ui/base:test_support", | 484 "//ui/base:test_support", |
480 ] | 485 ] |
481 sources = [ | 486 sources = [ |
482 "browser_state_web_view_partition_inttest.mm", | 487 "browser_state_web_view_partition_inttest.mm", |
483 "public/test/http_server_inttest.mm", | 488 "public/test/http_server_inttest.mm", |
484 "test/run_all_unittests.cc", | 489 "test/run_all_unittests.cc", |
| 490 "webui/web_ui_mojo_inttest.mm", |
| 491 ] |
| 492 data = [ |
| 493 "$root_gen_dir/ios/web/test/resources.pak", |
485 ] | 494 ] |
486 } | 495 } |
487 | 496 |
488 js_compile_bundle("web_ui_bundle") { | 497 js_compile_bundle("web_ui_bundle") { |
489 visibility = [ ":js_resources" ] | 498 visibility = [ ":js_resources" ] |
490 closure_entry_point = "__crWeb.webUIBundle" | 499 closure_entry_point = "__crWeb.webUIBundle" |
491 | 500 |
492 sources = [ | 501 sources = [ |
493 "../third_party/requirejs/require.js", | 502 "../third_party/requirejs/require.js", |
494 "webui/resources/web_ui_base.js", | 503 "webui/resources/web_ui_base.js", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 | 539 |
531 grit("resources") { | 540 grit("resources") { |
532 source = "ios_web_resources.grd" | 541 source = "ios_web_resources.grd" |
533 use_qualified_include = true | 542 use_qualified_include = true |
534 outputs = [ | 543 outputs = [ |
535 "grit/ios_web_resources.h", | 544 "grit/ios_web_resources.h", |
536 "ios_web_resources.pak", | 545 "ios_web_resources.pak", |
537 ] | 546 ] |
538 grit_flags = [ | 547 grit_flags = [ |
539 "-E", | 548 "-E", |
540 "root_out_dir=" + rebase_path(root_out_dir, root_build_dir), | 549 "root_gen_dir=" + rebase_path(root_out_dir, root_build_dir), |
541 ] | 550 ] |
542 } | 551 } |
OLD | NEW |