# Copyright 2014 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. # All paths in this file should be absolute so it can be imported into # different contexts. import("//third_party/blink/renderer/bindings/modules/v8/v8.gni") bindings_core_v8_files = get_path_info([ "core/v8/custom/v8_custom_xpath_ns_resolver.cc", "core/v8/custom/v8_custom_xpath_ns_resolver.h", "core/v8/custom/v8_dev_tools_host_custom.cc", "core/v8/custom/v8_element_custom.cc", "core/v8/custom/v8_error_event_custom.cc", "core/v8/custom/v8_event_target_custom.cc", "core/v8/custom/v8_html_all_collection_custom.cc", "core/v8/custom/v8_html_plugin_element_custom.cc", "core/v8/custom/v8_message_channel_custom.cc", "core/v8/custom/v8_message_event_custom.cc", "core/v8/custom/v8_pop_state_event_custom.cc", "core/v8/custom/v8_promise_rejection_event_custom.cc", "core/v8/custom/v8_shadow_root_custom.cc", "core/v8/custom/v8_window_custom.cc", "core/v8/custom/v8_xml_http_request_custom.cc", "core/v8/active_script_wrappable.h", "core/v8/array_value.cc", "core/v8/array_value.h", "core/v8/binding_security.cc", "core/v8/binding_security.h", "core/v8/callback_promise_adapter.h", "core/v8/dictionary.cc", "core/v8/dictionary.h", "core/v8/dictionary_helper_for_core.cc", "core/v8/exception_messages.cc", "core/v8/exception_messages.h", "core/v8/exception_state.cc", "core/v8/exception_state.h", "core/v8/generated_code_helper.cc", "core/v8/generated_code_helper.h", "core/v8/initialize_v8_extras_binding.cc", "core/v8/initialize_v8_extras_binding.h", "core/v8/idl_dictionary_base.cc", "core/v8/idl_dictionary_base.h", "core/v8/idl_types.h", "core/v8/idl_types_base.h", "core/v8/iterable.h", "core/v8/local_window_proxy.cc", "core/v8/local_window_proxy.h", "core/v8/maplike.h", "core/v8/native_value_traits.h", "core/v8/native_value_traits_impl.h", "core/v8/referrer_script_info.cc", "core/v8/referrer_script_info.h", "core/v8/rejected_promises.cc", "core/v8/rejected_promises.h", "core/v8/remote_window_proxy.cc", "core/v8/remote_window_proxy.h", "core/v8/retained_object_info.h", "core/v8/scheduled_action.cc", "core/v8/scheduled_action.h", "core/v8/script_controller.cc", "core/v8/script_controller.h", "core/v8/script_custom_element_definition.cc", "core/v8/script_custom_element_definition.h", "core/v8/script_custom_element_definition_builder.cc", "core/v8/script_custom_element_definition_builder.h", "core/v8/script_event_listener.cc", "core/v8/script_event_listener.h", "core/v8/script_function.cc", "core/v8/script_function.h", "core/v8/script_iterator.cc", "core/v8/script_iterator.h", "core/v8/script_module.cc", "core/v8/script_module.h", "core/v8/script_promise.cc", "core/v8/script_promise.h", "core/v8/script_promise_property.h", "core/v8/script_promise_property_base.cc", "core/v8/script_promise_property_base.h", "core/v8/script_promise_resolver.cc", "core/v8/script_promise_resolver.h", "core/v8/script_regexp.cc", "core/v8/script_regexp.h", "core/v8/script_source_code.cc", "core/v8/script_source_code.h", "core/v8/script_source_location_type.h", "core/v8/script_streamer.cc", "core/v8/script_streamer.h", "core/v8/script_streamer_thread.cc", "core/v8/script_streamer_thread.h", "core/v8/script_value.cc", "core/v8/script_value.h", "core/v8/source_location.cc", "core/v8/source_location.h", "core/v8/to_v8_for_core.cc", "core/v8/to_v8_for_core.h", "core/v8/use_counter_callback.cc", "core/v8/use_counter_callback.h", "core/v8/v0_custom_element_constructor_builder.cc", "core/v8/v0_custom_element_constructor_builder.h", "core/v8/v8_abstract_event_listener.cc", "core/v8/v8_abstract_event_listener.h", "core/v8/v8_binding_for_core.cc", "core/v8/v8_binding_for_core.h", "core/v8/v8_cache_options.h", "core/v8/v8_cross_origin_setter_info.h", "core/v8/v8_dom_configuration.cc", "core/v8/v8_dom_configuration.h", "core/v8/v8_embedder_graph_builder.cc", "core/v8/v8_embedder_graph_builder.h", "core/v8/v8_error_handler.cc", "core/v8/v8_error_handler.h", "core/v8/v8_event_listener.cc", "core/v8/v8_event_listener.h", "core/v8/v8_event_listener_helper.cc", "core/v8/v8_event_listener_helper.h", "core/v8/v8_event_listener_info.h", "core/v8/v8_gc_controller.cc", "core/v8/v8_gc_controller.h", "core/v8/v8_gc_for_context_dispose.cc", "core/v8/v8_gc_for_context_dispose.h", "core/v8/v8_html_constructor.cc", "core/v8/v8_html_constructor.h", "core/v8/v8_idle_task_runner.h", "core/v8/v8_initializer.cc", "core/v8/v8_initializer.h", "core/v8/v8_intersection_observer_delegate.cc", "core/v8/v8_intersection_observer_delegate.h", "core/v8/v8_throw_dom_exception.cc", "core/v8/v8_throw_dom_exception.h", "core/v8/v8_iterator_result_value.cc", "core/v8/v8_iterator_result_value.h", "core/v8/v8_lazy_event_listener.cc", "core/v8/v8_lazy_event_listener.h", "core/v8/v8_object_builder.cc", "core/v8/v8_object_builder.h", "core/v8/v8_object_parser.cc", "core/v8/v8_object_parser.h", "core/v8/v8_page_popup_controller_binding.cc", "core/v8/v8_page_popup_controller_binding.h", "core/v8/v8_persistent_value_vector.h", "core/v8/v8_script_runner.cc", "core/v8/v8_script_runner.h", "core/v8/v8_context_snapshot.cc", "core/v8/v8_context_snapshot.h", "core/v8/v8_string_resource.h", "core/v8/v8_v0_custom_element_lifecycle_callbacks.cc", "core/v8/v8_v0_custom_element_lifecycle_callbacks.h", "core/v8/v8_wasm_response_extensions.cc", "core/v8/v8_wasm_response_extensions.h", "core/v8/v8_worker_or_worklet_event_listener.cc", "core/v8/v8_worker_or_worklet_event_listener.h", "core/v8/window_proxy.cc", "core/v8/window_proxy.h", "core/v8/window_proxy_manager.cc", "core/v8/window_proxy_manager.h", "core/v8/worker_or_worklet_script_controller.cc", "core/v8/worker_or_worklet_script_controller.h", "core/v8/serialization/serialized_color_params.cc", "core/v8/serialization/serialized_color_params.h", "core/v8/serialization/serialization_tag.h", "core/v8/serialization/serialized_script_value.cc", "core/v8/serialization/serialized_script_value.h", "core/v8/serialization/serialized_script_value_factory.cc", "core/v8/serialization/serialized_script_value_factory.h", "core/v8/serialization/transferables.h", "core/v8/serialization/unpacked_serialized_script_value.cc", "core/v8/serialization/unpacked_serialized_script_value.h", "core/v8/serialization/v8_script_value_deserializer.cc", "core/v8/serialization/v8_script_value_deserializer.h", "core/v8/serialization/v8_script_value_serializer.cc", "core/v8/serialization/v8_script_value_serializer.h", ], "abspath") bindings_dir = get_path_info(".", "abspath") blink_output_dir = "$root_gen_dir/third_party/blink/renderer" bindings_output_dir = "$root_gen_dir/third_party/blink/renderer/bindings" bindings_core_v8_output_dir = "$bindings_output_dir/core/v8" bindings_unittest_files = get_path_info( [ "core/v8/activity_logger_test.cc", "core/v8/binding_security_test.cc", "core/v8/dictionary_test.cc", "core/v8/dom_wrapper_world_test.cc", "core/v8/initialize_v8_extras_binding_test.cc", "core/v8/idl_types_test.cc", "core/v8/native_value_traits_impl_test.cc", "core/v8/native_value_traits_test.cc", "core/v8/referrer_script_info_test.cc", "core/v8/script_module_test.cc", "core/v8/script_promise_property_test.cc", "core/v8/script_promise_resolver_test.cc", "core/v8/script_promise_test.cc", "core/v8/script_streamer_test.cc", "core/v8/script_wrappable_marking_visitor_test.cc", "core/v8/to_v8_test.cc", "core/v8/trace_wrapper_member_test.cc", "core/v8/v8_binding_for_testing.cc", "core/v8/v8_binding_for_testing.h", "core/v8/window_proxy_test.cc", "core/v8/v8_object_builder_test.cc", "core/v8/v8_script_runner_test.cc", "core/v8/serialization/serialized_script_value_test.cc", "core/v8/serialization/serialized_script_value_threaded_test.cc", "core/v8/serialization/v8_script_value_serializer_test.cc", "core/v8/v8_extras_test_utils.cc", "core/v8/v8_extras_test_utils.h", ], "abspath") bindings_unittest_files += bindings_modules_v8_unittest_files