chromium/third_party/blink/renderer/core/dom/build.gni

# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/compiler/compiler.gni")

blink_core_hot_sources_dom = [
  "container_node.cc",
  "container_node.h",
  "document.cc",
  "document.h",
  "element.cc",
  "element.h",
  "element_data_cache.cc",
  "element_data_cache.h",
  "events/event_dispatcher.cc",
  "events/event_dispatcher.h",
  "events/event_path.cc",
  "events/event_path.h",
  "qualified_name.cc",
  "qualified_name.h",
  "node_computed_style.h",
  "tree_scope.cc",
  "tree_scope.h",
]

blink_core_sources_dom = [
  "abort_controller.cc",
  "abort_controller.h",
  "abort_signal.cc",
  "abort_signal.h",
  "abort_signal_composition_manager.cc",
  "abort_signal_composition_manager.h",
  "abort_signal_composition_type.h",
  "abort_signal_registry.cc",
  "abort_signal_registry.h",
  "abstract_range.cc",
  "abstract_range.h",
  "attr.cc",
  "attr.h",
  "attribute.h",
  "attribute_collection.h",
  "attribute_part.cc",
  "attribute_part.h",
  "beforeunload_event_listener.cc",
  "beforeunload_event_listener.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_list.cc",
  "child_node_list.h",
  "child_node_part.cc",
  "child_node_part.h",
  "class_collection.cc",
  "class_collection.h",
  "collection_index_cache.h",
  "comment.cc",
  "comment.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",
  "document_data.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_parser.cc",
  "document_parser.h",
  "document_parser_client.h",
  "document_parser_timing.cc",
  "document_parser_timing.h",
  "document_part_root.cc",
  "document_part_root.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_data.cc",
  "element_data.h",
  "element_rare_data_field.h",
  "element_rare_data_vector.cc",
  "element_rare_data_vector.h",
  "element_traversal.h",
  "empty_node_list.cc",
  "empty_node_list.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_listener.h",
  "events/event_listener_map.cc",
  "events/event_listener_map.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/mutation_event_suppression_scope.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",
  "focus_params.h",
  "focused_element_change_observer.h",
  "focusgroup_flags.cc",
  "focusgroup_flags.h",
  "frame_request_callback_collection.cc",
  "frame_request_callback_collection.h",
  "has_invalidation_flags.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",
  "ignore_opens_during_unload_count_incrementer.h",
  "increment_load_event_delay_count.cc",
  "increment_load_event_delay_count.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",
  "node_list_invalidation_type.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_cloning_data.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_part.cc",
  "node_part.h",
  "node_rare_data.cc",
  "node_rare_data.h",
  "node_traversal.cc",
  "node_traversal.h",
  "node_traversal_strategy.h",
  "node_with_index.h",
  "nth_index_cache.cc",
  "nth_index_cache.h",
  "observable_internal_observer.h",
  "observable.cc",
  "observable.h",
  "parser_content_policy.h",
  "part.cc",
  "part.h",
  "part_root.cc",
  "part_root.h",
  "popover_data.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",
  "range.cc",
  "range.h",
  "range_boundary_point.h",
  "raw_data_document_parser.h",
  "scoped_abort_state.h",
  "scoped_window_focus_allowed_indicator.h",
  "scriptable_document_parser.cc",
  "scriptable_document_parser.h",
  "scripted_animation_controller.cc",
  "scripted_animation_controller.h",
  "scroll_button_pseudo_element.cc",
  "scroll_button_pseudo_element.h",
  "scroll_marker_group_pseudo_element.cc",
  "scroll_marker_group_pseudo_element.h",
  "scroll_marker_pseudo_element.cc",
  "scroll_marker_pseudo_element.h",
  "shadow_root.cc",
  "shadow_root.h",
  "shadow_including_tree_order_traversal.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",
  "space_split_string_wrapper.h",
  "static_node_list.h",
  "static_range.cc",
  "static_range.h",
  "subscriber.cc",
  "subscriber.h",
  "synchronous_mutation_observer.cc",
  "synchronous_mutation_observer.h",
  "tag_collection.cc",
  "tag_collection.h",
  "template_content_document_fragment.h",
  "text.cc",
  "text.h",
  "text_diff_range.cc",
  "text_diff_range.h",
  "text_link_colors.cc",
  "text_link_colors.h",
  "text_visitor.h",
  "throw_on_dynamic_markup_insertion_count_incrementer.h",
  "transform_source.h",
  "transform_source_libxslt.cc",
  "transition_pseudo_element_data.h",
  "traversal_range.h",
  "tree_ordered_list.cc",
  "tree_ordered_list.h",
  "tree_ordered_map.cc",
  "tree_ordered_map.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",
  "visited_link_state.cc",
  "visited_link_state.h",
  "weak_identifier_map.h",
  "whitespace_attacher.cc",
  "whitespace_attacher.h",
  "xml_document.cc",
  "xml_document.h",
]

blink_core_tests_dom = [
  "abort_signal_test.cc",
  "attr_test.cc",
  "container_node_test.cc",
  "document_statistics_collector_test.cc",
  "document_test.cc",
  "dom_node_ids_test.cc",
  "element_test.cc",
  "events/event_path_test.cc",
  "events/event_target_test.cc",
  "events/listener_leak_test.cc",
  "events/mutation_event_suppression_scope_test.cc",
  "first_letter_pseudo_element_test.cc",
  "flat_tree_traversal_test.cc",
  "layout_tree_builder_traversal_test.cc",
  "live_node_list_registry_test.cc",
  "mutation_observer_test.cc",
  "names_map_test.cc",
  "node_test.cc",
  "node_traversal_test.cc",
  "nth_index_cache_test.cc",
  "pseudo_element_test.cc",
  "qualified_name_test.cc",
  "range_test.cc",
  "scripted_animation_controller_test.cc",
  "shadow_including_tree_order_traversal_test.cc",
  "slot_assignment_test.cc",
  "space_split_string_test.cc",
  "static_range_test.cc",
  "text_test.cc",
  "tree_ordered_list_test.cc",
  "tree_ordered_map_test.cc",
  "tree_scope_adopter_test.cc",
  "tree_scope_test.cc",
  "weak_identifier_map_test.cc",
  "whitespace_attacher_test.cc",
]