| 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 group("all_tests") { | 10 group("all_tests") { |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 "web_state/ui/crw_wk_navigation_states.mm", | 227 "web_state/ui/crw_wk_navigation_states.mm", |
| 228 "web_thread_impl.cc", | 228 "web_thread_impl.cc", |
| 229 "web_thread_impl.h", | 229 "web_thread_impl.h", |
| 230 "web_view_creation_util.mm", | 230 "web_view_creation_util.mm", |
| 231 "webui/crw_web_ui_manager.h", | 231 "webui/crw_web_ui_manager.h", |
| 232 "webui/crw_web_ui_manager.mm", | 232 "webui/crw_web_ui_manager.mm", |
| 233 "webui/crw_web_ui_page_builder.h", | 233 "webui/crw_web_ui_page_builder.h", |
| 234 "webui/crw_web_ui_page_builder.mm", | 234 "webui/crw_web_ui_page_builder.mm", |
| 235 "webui/mojo_facade.h", | 235 "webui/mojo_facade.h", |
| 236 "webui/mojo_facade.mm", | 236 "webui/mojo_facade.mm", |
| 237 "webui/mojo_js_constants.cc", | |
| 238 "webui/mojo_js_constants.h", | |
| 239 "webui/shared_resources_data_source_ios.h", | 237 "webui/shared_resources_data_source_ios.h", |
| 240 "webui/shared_resources_data_source_ios.mm", | 238 "webui/shared_resources_data_source_ios.mm", |
| 241 "webui/url_data_manager_ios.cc", | 239 "webui/url_data_manager_ios.cc", |
| 242 "webui/url_data_manager_ios.h", | 240 "webui/url_data_manager_ios.h", |
| 243 "webui/url_data_manager_ios_backend.h", | 241 "webui/url_data_manager_ios_backend.h", |
| 244 "webui/url_data_manager_ios_backend.mm", | 242 "webui/url_data_manager_ios_backend.mm", |
| 245 "webui/url_data_source_ios.mm", | 243 "webui/url_data_source_ios.mm", |
| 246 "webui/url_data_source_ios_impl.cc", | 244 "webui/url_data_source_ios_impl.cc", |
| 247 "webui/url_data_source_ios_impl.h", | 245 "webui/url_data_source_ios_impl.h", |
| 248 "webui/url_fetcher_block_adapter.h", | 246 "webui/url_fetcher_block_adapter.h", |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 ] | 773 ] |
| 776 } | 774 } |
| 777 | 775 |
| 778 test("ios_web_inttests") { | 776 test("ios_web_inttests") { |
| 779 configs += [ "//build/config/compiler:enable_arc" ] | 777 configs += [ "//build/config/compiler:enable_arc" ] |
| 780 deps = [ | 778 deps = [ |
| 781 ":web", | 779 ":web", |
| 782 "//base/test:test_support", | 780 "//base/test:test_support", |
| 783 "//ios/testing:http_server_bundle_data", | 781 "//ios/testing:http_server_bundle_data", |
| 784 "//ios/testing:ios_test_support", | 782 "//ios/testing:ios_test_support", |
| 783 "//ios/web:resources_grit", |
| 785 "//ios/web/public/test", | 784 "//ios/web/public/test", |
| 786 "//ios/web/public/test/fakes", | 785 "//ios/web/public/test/fakes", |
| 787 "//ios/web/public/test/http_server", | 786 "//ios/web/public/test/http_server", |
| 788 "//ios/web/test:mojo_bindings", | 787 "//ios/web/test:mojo_bindings", |
| 789 "//ios/web/test:packed_resources", | 788 "//ios/web/test:packed_resources", |
| 790 "//ios/web/test:resources", | 789 "//ios/web/test:resources", |
| 791 "//ios/web/test:test_constants", | 790 "//ios/web/test:test_constants", |
| 792 "//ios/web/test:test_support", | 791 "//ios/web/test:test_support", |
| 793 "//mojo/edk/system", | 792 "//mojo/edk/system", |
| 794 "//net:test_support", | 793 "//net:test_support", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 809 ] | 808 ] |
| 810 | 809 |
| 811 assert_no_deps = ios_assert_no_deps | 810 assert_no_deps = ios_assert_no_deps |
| 812 } | 811 } |
| 813 | 812 |
| 814 js_compile_bundle("web_ui_bundle") { | 813 js_compile_bundle("web_ui_bundle") { |
| 815 visibility = [ ":js_resources" ] | 814 visibility = [ ":js_resources" ] |
| 816 closure_entry_point = "__crWeb.webUIBundle" | 815 closure_entry_point = "__crWeb.webUIBundle" |
| 817 | 816 |
| 818 sources = [ | 817 sources = [ |
| 819 "../third_party/requirejs/require.js", | 818 "webui/resources/mojo_api.js", |
| 820 "webui/resources/web_ui_base.js", | 819 "webui/resources/web_ui_base.js", |
| 821 "webui/resources/web_ui_bind.js", | 820 "webui/resources/web_ui_bind.js", |
| 822 "webui/resources/web_ui_bundle.js", | 821 "webui/resources/web_ui_bundle.js", |
| 823 "webui/resources/web_ui_module_load_notifier.js", | |
| 824 "webui/resources/web_ui_send.js", | 822 "webui/resources/web_ui_send.js", |
| 825 ] | 823 ] |
| 826 } | 824 } |
| 827 | 825 |
| 828 js_compile_bundle("web_bundle") { | 826 js_compile_bundle("web_bundle") { |
| 829 visibility = [ ":js_resources" ] | 827 visibility = [ ":js_resources" ] |
| 830 closure_entry_point = "__crWeb.webBundle" | 828 closure_entry_point = "__crWeb.webBundle" |
| 831 | 829 |
| 832 sources = [ | 830 sources = [ |
| 833 "web_state/js/resources/base.js", | 831 "web_state/js/resources/base.js", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 861 source = "ios_web_resources.grd" | 859 source = "ios_web_resources.grd" |
| 862 outputs = [ | 860 outputs = [ |
| 863 "grit/ios_web_resources.h", | 861 "grit/ios_web_resources.h", |
| 864 "ios_web_resources.pak", | 862 "ios_web_resources.pak", |
| 865 ] | 863 ] |
| 866 grit_flags = [ | 864 grit_flags = [ |
| 867 "-E", | 865 "-E", |
| 868 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), | 866 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
| 869 ] | 867 ] |
| 870 deps = [ | 868 deps = [ |
| 871 "//mojo/public/js:bindings", | 869 "//mojo/public/js:new_bindings", |
| 872 ] | 870 ] |
| 873 } | 871 } |
| OLD | NEW |