summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/dom/BUILD.gn
blob: 9d751fa8499b548c4ee3e11508b6ca1c682c6607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# 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") {
  sources = [
    "abort_controller.cc",
    "abort_controller.h",
    "abort_signal.cc",
    "abort_signal.h",
    "attr.cc",
    "attr.h",
    "attribute.h",
    "attribute_collection.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.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_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",
    "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",
    "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_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",
    "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",
  ]
}