blob: b82181e5f203372efbc6e69a43803e3530de0de1 [file] [log] [blame]
# Copyright 2016 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("dom") {
split_count = 5
sources = [
"abort_controller.cc",
"abort_controller.h",
"abort_signal.cc",
"abort_signal.h",
"attr.cc",
"attr.h",
"attribute.h",
"attribute_collection.h",
"cdata_section.cc",
"cdata_section.h",
"character_data.cc",
"character_data.h",
"child_frame_disconnector.cc",
"child_frame_disconnector.h",
"child_list_mutation_scope.cc",
"child_list_mutation_scope.h",
"child_node.h",
"child_node_list.cc",
"child_node_list.h",
"class_collection.cc",
"class_collection.h",
"collection_index_cache.h",
"comment.cc",
"comment.h",
"container_node.cc",
"container_node.h",
"context_features.cc",
"context_features.h",
"context_features_client_impl.cc",
"context_features_client_impl.h",
"create_element_flags.h",
"dataset_dom_string_map.cc",
"dataset_dom_string_map.h",
"decoded_data_document_parser.cc",
"decoded_data_document_parser.h",
"distributed_nodes.cc",
"distributed_nodes.h",
"document.cc",
"document.h",
"document_and_element_event_handlers.h",
"document_encoding_data.cc",
"document_encoding_data.h",
"document_fragment.cc",
"document_fragment.h",
"document_init.cc",
"document_init.h",
"document_lifecycle.cc",
"document_lifecycle.h",
"document_or_shadow_root.h",
"document_parser.cc",
"document_parser.h",
"document_parser_client.h",
"document_parser_timing.cc",
"document_parser_timing.h",
"document_shutdown_notifier.cc",
"document_shutdown_notifier.h",
"document_shutdown_observer.cc",
"document_shutdown_observer.h",
"document_statistics_collector.cc",
"document_statistics_collector.h",
"document_timing.cc",
"document_timing.h",
"document_type.cc",
"document_type.h",
"dom_exception.cc",
"dom_exception.h",
"dom_high_res_time_stamp.h",
"dom_implementation.cc",
"dom_implementation.h",
"dom_node_ids.cc",
"dom_node_ids.h",
"dom_string_list.cc",
"dom_string_list.h",
"dom_string_map.cc",
"dom_string_map.h",
"dom_time_stamp.h",
"dom_token_list.cc",
"dom_token_list.h",
"element.cc",
"element.h",
"element_data.cc",
"element_data.h",
"element_data_cache.cc",
"element_data_cache.h",
"element_rare_data.cc",
"element_rare_data.h",
"element_traversal.h",
"element_visibility_observer.cc",
"element_visibility_observer.h",
"empty_node_list.cc",
"empty_node_list.h",
"events/add_event_listener_options_defaults.h",
"events/add_event_listener_options_resolved.cc",
"events/add_event_listener_options_resolved.h",
"events/custom_event.cc",
"events/custom_event.h",
"events/event.cc",
"events/event.h",
"events/event_dispatch_forbidden_scope.cc",
"events/event_dispatch_forbidden_scope.h",
"events/event_dispatch_result.h",
"events/event_dispatcher.cc",
"events/event_dispatcher.h",
"events/event_listener.h",
"events/event_listener_map.cc",
"events/event_listener_map.h",
"events/event_path.cc",
"events/event_path.h",
"events/event_queue.cc",
"events/event_queue.h",
"events/event_target.cc",
"events/event_target.h",
"events/event_target_impl.cc",
"events/event_target_impl.h",
"events/native_event_listener.h",
"events/node_event_context.cc",
"events/node_event_context.h",
"events/registered_event_listener.cc",
"events/registered_event_listener.h",
"events/scoped_event_queue.cc",
"events/scoped_event_queue.h",
"events/simulated_click_options.h",
"events/tree_scope_event_context.cc",
"events/tree_scope_event_context.h",
"events/window_event_context.cc",
"events/window_event_context.h",
"first_letter_pseudo_element.cc",
"first_letter_pseudo_element.h",
"flat_tree_node_data.cc",
"flat_tree_node_data.h",
"flat_tree_traversal.cc",
"flat_tree_traversal.h",
"flat_tree_traversal_forbidden_scope.h",
"frame_request_callback_collection.cc",
"frame_request_callback_collection.h",
"global_event_handlers.h",
"icon_url.cc",
"icon_url.h",
"id_target_observer.cc",
"id_target_observer.h",
"id_target_observer_registry.cc",
"id_target_observer_registry.h",
"idle_deadline.cc",
"idle_deadline.h",
"ignore_opens_during_unload_count_incrementer.h",
"increment_load_event_delay_count.cc",
"increment_load_event_delay_count.h",
"iterator.h",
"layout_tree_builder.cc",
"layout_tree_builder.h",
"layout_tree_builder_traversal.cc",
"layout_tree_builder_traversal.h",
"live_node_list.cc",
"live_node_list.h",
"live_node_list_base.cc",
"live_node_list_base.h",
"live_node_list_registry.cc",
"live_node_list_registry.h",
"mutation_observer.cc",
"mutation_observer.h",
"mutation_observer_interest_group.cc",
"mutation_observer_interest_group.h",
"mutation_observer_registration.cc",
"mutation_observer_registration.h",
"mutation_record.cc",
"mutation_record.h",
"name_node_list.cc",
"name_node_list.h",
"named_node_map.cc",
"named_node_map.h",
"names_map.cc",
"names_map.h",
"node.cc",
"node.h",
"node_child_removal_tracker.cc",
"node_child_removal_tracker.h",
"node_computed_style.h",
"node_iterator.cc",
"node_iterator.h",
"node_iterator_base.cc",
"node_iterator_base.h",
"node_list.h",
"node_lists_node_data.cc",
"node_lists_node_data.h",
"node_rare_data.cc",
"node_rare_data.h",
"node_traversal.cc",
"node_traversal.h",
"node_traversal_strategy.h",
"node_with_index.h",
"non_document_type_child_node.h",
"non_element_parent_node.h",
"nth_index_cache.cc",
"nth_index_cache.h",
"parent_node.h",
"parser_content_policy.h",
"presentation_attribute_style.cc",
"presentation_attribute_style.h",
"processing_instruction.cc",
"processing_instruction.h",
"pseudo_element.cc",
"pseudo_element.h",
"pseudo_element_data.h",
"qualified_name.cc",
"qualified_name.h",
"range.cc",
"range.h",
"range_boundary_point.h",
"raw_data_document_parser.h",
"scoped_window_focus_allowed_indicator.h",
"scriptable_document_parser.cc",
"scriptable_document_parser.h",
"scripted_animation_controller.cc",
"scripted_animation_controller.h",
"scripted_idle_task_controller.cc",
"scripted_idle_task_controller.h",
"scripted_task_queue.cc",
"scripted_task_queue.h",
"scripted_task_queue_controller.cc",
"scripted_task_queue_controller.h",
"shadow_root.cc",
"shadow_root.h",
"shadow_root_v0.cc",
"shadow_root_v0.h",
"sink_document.cc",
"sink_document.h",
"slot_assignment.cc",
"slot_assignment.h",
"slot_assignment_engine.cc",
"slot_assignment_engine.h",
"slot_assignment_recalc_forbidden_scope.h",
"space_split_string.cc",
"space_split_string.h",
"static_node_list.h",
"static_range.cc",
"static_range.h",
"synchronous_mutation_notifier.cc",
"synchronous_mutation_notifier.h",
"synchronous_mutation_observer.cc",
"synchronous_mutation_observer.h",
"tag_collection.cc",
"tag_collection.h",
"task_type_traits.h",
"template_content_document_fragment.h",
"text.cc",
"text.h",
"text_link_colors.cc",
"text_link_colors.h",
"throw_on_dynamic_markup_insertion_count_incrementer.h",
"transform_source.h",
"transform_source_libxslt.cc",
"traversal_range.h",
"tree_ordered_list.cc",
"tree_ordered_list.h",
"tree_ordered_map.cc",
"tree_ordered_map.h",
"tree_scope.cc",
"tree_scope.h",
"tree_scope_adopter.cc",
"tree_scope_adopter.h",
"tree_walker.cc",
"tree_walker.h",
"user_action_element_set.cc",
"user_action_element_set.h",
"user_gesture_indicator.cc",
"user_gesture_indicator.h",
"v0_insertion_point.cc",
"v0_insertion_point.h",
"visited_link_state.cc",
"visited_link_state.h",
"weak_identifier_map.h",
"whitespace_attacher.cc",
"whitespace_attacher.h",
"xml_document.cc",
"xml_document.h",
]
public_deps = [
"//third_party/blink/public/mojom:mojom_core_blink",
# Needed to generate included files, e.g. add_event_listener_options.h
"//third_party/blink/renderer/bindings/core/v8:bindings_core_v8_generated",
]
deps = [
"//services/metrics/public/cpp:metrics_cpp",
"//services/metrics/public/cpp:ukm_builders",
"//services/metrics/public/mojom",
]
}