| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 "//base/test:test_support", | 475 "//base/test:test_support", |
| 476 "//ios/public/provider/web", |
| 477 "//ios/web/test:mojo_bindings", |
| 478 "//ios/web/test:packed_resources", |
| 479 "//ios/web/test:resources", |
| 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", |
| 485 ] | 491 ] |
| 486 } | 492 } |
| 487 | 493 |
| 488 js_compile_bundle("web_ui_bundle") { | 494 js_compile_bundle("web_ui_bundle") { |
| 489 visibility = [ ":js_resources" ] | 495 visibility = [ ":js_resources" ] |
| 490 closure_entry_point = "__crWeb.webUIBundle" | 496 closure_entry_point = "__crWeb.webUIBundle" |
| 491 | 497 |
| 492 sources = [ | 498 sources = [ |
| 493 "../third_party/requirejs/require.js", | 499 "../third_party/requirejs/require.js", |
| 494 "webui/resources/web_ui_base.js", | 500 "webui/resources/web_ui_base.js", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 ] | 534 ] |
| 529 } | 535 } |
| 530 | 536 |
| 531 grit("resources") { | 537 grit("resources") { |
| 532 source = "ios_web_resources.grd" | 538 source = "ios_web_resources.grd" |
| 533 use_qualified_include = true | 539 use_qualified_include = true |
| 534 outputs = [ | 540 outputs = [ |
| 535 "grit/ios_web_resources.h", | 541 "grit/ios_web_resources.h", |
| 536 "ios_web_resources.pak", | 542 "ios_web_resources.pak", |
| 537 ] | 543 ] |
| 538 grit_flags = [ | |
| 539 "-E", | |
| 540 "root_out_dir=" + rebase_path(root_out_dir, root_build_dir), | |
| 541 ] | |
| 542 } | 544 } |
| OLD | NEW |