| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//third_party/blink/renderer/core/core.gni") |
| |
| blink_core_sources("script") { |
| sources = [ |
| "classic_pending_script.cc", |
| "classic_pending_script.h", |
| "classic_script.cc", |
| "classic_script.h", |
| "document_modulator_impl.cc", |
| "document_modulator_impl.h", |
| "document_write_intervention.cc", |
| "document_write_intervention.h", |
| "dynamic_module_resolver.cc", |
| "dynamic_module_resolver.h", |
| "fetch_client_settings_object_impl.cc", |
| "fetch_client_settings_object_impl.h", |
| "html_parser_script_runner.cc", |
| "html_parser_script_runner.h", |
| "html_parser_script_runner_host.h", |
| "ignore_destructive_write_count_incrementer.h", |
| "import_map.cc", |
| "import_map.h", |
| "js_module_script.cc", |
| "js_module_script.h", |
| "layered_api.cc", |
| "layered_api.h", |
| "layered_api_module.h", |
| "layered_api_resources.h", |
| "modulator.cc", |
| "modulator.h", |
| "modulator_impl_base.cc", |
| "modulator_impl_base.h", |
| "module_import_meta.h", |
| "module_map.cc", |
| "module_map.h", |
| "module_pending_script.cc", |
| "module_pending_script.h", |
| "module_record_resolver.h", |
| "module_record_resolver_impl.cc", |
| "module_record_resolver_impl.h", |
| "module_script.cc", |
| "module_script.h", |
| "parsed_specifier.cc", |
| "parsed_specifier.h", |
| "pending_import_map.cc", |
| "pending_import_map.h", |
| "pending_script.cc", |
| "pending_script.h", |
| "script.cc", |
| "script.h", |
| "script_element_base.cc", |
| "script_element_base.h", |
| "script_loader.cc", |
| "script_loader.h", |
| "script_runner.cc", |
| "script_runner.h", |
| "script_scheduling_type.h", |
| "value_wrapper_synthetic_module_script.cc", |
| "value_wrapper_synthetic_module_script.h", |
| "worker_modulator_impl.cc", |
| "worker_modulator_impl.h", |
| "worklet_modulator_impl.cc", |
| "worklet_modulator_impl.h", |
| "xml_parser_script_runner.cc", |
| "xml_parser_script_runner.h", |
| "xml_parser_script_runner_host.h", |
| ] |
| |
| deps = [ "//third_party/blink/public:resources" ] |
| |
| jumbo_excluded_sources = [ "modulator.cc" ] # https://crbug.com/716395 |
| } |
| |
| copy("layered_apis_elements_virtual_scroller_js") { |
| testonly = true |
| |
| sources = [ |
| "resources/layered_api/elements/virtual-scroller/find-element.mjs", |
| "resources/layered_api/elements/virtual-scroller/sets.mjs", |
| "resources/layered_api/elements/virtual-scroller/visibility-manager.mjs", |
| ] |
| |
| outputs = [ "{{source_gen_dir}}/{{source_file_part}}" ] |
| } |
| |
| group("js_files_for_web_tests") { |
| testonly = true |
| data_deps = [ ":layered_apis_elements_virtual_scroller_js" ] |
| } |