blob: f4373f5c267fb34877f16aac19f952967eb8fa06 [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/bindings/bindings.gni")
import("//third_party/blink/renderer/config.gni")
# The paths in this file are absolute since this file is imported and the
# file lists must be valid from multple "current directories".
bindings_modules_output_dir = "$bindings_output_dir/modules"
blink_modules_output_dir = "$root_gen_dir/third_party/blink/renderer/modules"
modules_core_global_constructors_original_interfaces = [
"AnimationWorkletGlobalScope",
"AudioWorkletGlobalScope",
"PaintWorkletGlobalScope",
"ServiceWorkerGlobalScope",
]
# The size and the order in the following list must match to the previous one.
modules_core_global_constructors_original_interface_basenames = [
"animation_worklet_global_scope",
"audio_worklet_global_scope",
"paint_worklet_global_scope",
"service_worker_global_scope",
]
modules_global_constructors_original_interfaces = [
"AnimationWorkletGlobalScope",
"AudioWorkletGlobalScope",
"DedicatedWorkerGlobalScope",
"PaintWorkletGlobalScope",
"ServiceWorkerGlobalScope",
"SharedWorkerGlobalScope",
"Window",
]
# The size and the order in the following list must match to the previous one.
modules_global_constructors_original_interface_basenames = [
"animation_worklet_global_scope",
"audio_worklet_global_scope",
"dedicated_worker_global_scope",
"paint_worklet_global_scope",
"service_worker_global_scope",
"shared_worker_global_scope",
"window",
]
# The interfaces aren't technically files, but we can treat them as file names
# to get process_file_template to generate lists of IDL files corresponding
# to each interface.
modules_core_global_constructors_generated_idl_files = process_file_template(
modules_core_global_constructors_original_interface_basenames,
[ "$blink_modules_output_dir/{{source_name_part}}_core_constructors.idl" ])
modules_global_constructors_generated_idl_files = process_file_template(
modules_global_constructors_original_interface_basenames,
[ "$blink_modules_output_dir/{{source_name_part}}_modules_constructors.idl" ])
modules_idl_files =
get_path_info(
[
"animationworklet/animation_worklet_global_scope.idl",
"animationworklet/effect_proxy.idl",
"animationworklet/worklet_animation.idl",
"animationworklet/worklet_group_effect_proxy.idl",
"app_banner/before_install_prompt_event.idl",
"background_fetch/background_fetch_event.idl",
"background_fetch/background_fetch_manager.idl",
"background_fetch/background_fetch_record.idl",
"background_fetch/background_fetch_registration.idl",
"background_fetch/background_fetch_update_ui_event.idl",
"background_sync/sync_event.idl",
"background_sync/sync_manager.idl",
"badging/experimental_badge.idl",
"battery/battery_manager.idl",
"bluetooth/bluetooth.idl",
"bluetooth/bluetooth_advertising_event.idl",
"bluetooth/bluetooth_characteristic_properties.idl",
"bluetooth/bluetooth_device.idl",
"bluetooth/bluetooth_le_scan.idl",
"bluetooth/bluetooth_manufacturer_data_map.idl",
"bluetooth/bluetooth_remote_gatt_characteristic.idl",
"bluetooth/bluetooth_remote_gatt_descriptor.idl",
"bluetooth/bluetooth_remote_gatt_server.idl",
"bluetooth/bluetooth_remote_gatt_service.idl",
"bluetooth/bluetooth_service_data_map.idl",
"bluetooth/bluetooth_uuid.idl",
"broadcastchannel/broadcast_channel.idl",
"cache_storage/cache.idl",
"cache_storage/cache_storage.idl",
"canvas/canvas2d/canvas_gradient.idl",
"canvas/canvas2d/canvas_pattern.idl",
"canvas/canvas2d/canvas_rendering_context_2d.idl",
"canvas/canvas2d/path_2d.idl",
"canvas/imagebitmap/image_bitmap_rendering_context.idl",
"canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl",
"clipboard/clipboard.idl",
"contacts_picker/contacts_manager.idl",
"cookie_store/cookie_change_event.idl",
"cookie_store/cookie_store.idl",
"cookie_store/extendable_cookie_change_event.idl",
"credentialmanager/authenticator_assertion_response.idl",
"credentialmanager/authenticator_attestation_response.idl",
"credentialmanager/authenticator_response.idl",
"credentialmanager/credential.idl",
"credentialmanager/credentials_container.idl",
"credentialmanager/federated_credential.idl",
"credentialmanager/password_credential.idl",
"credentialmanager/public_key_credential.idl",
"crypto/crypto.idl",
"crypto/crypto_key.idl",
"crypto/subtle_crypto.idl",
"csspaint/paint_rendering_context_2d.idl",
"csspaint/paint_size.idl",
"csspaint/paint_worklet_global_scope.idl",
"device_orientation/device_motion_event.idl",
"device_orientation/device_motion_event_acceleration.idl",
"device_orientation/device_motion_event_rotation_rate.idl",
"device_orientation/device_orientation_event.idl",
"encoding/text_decoder.idl",
"encoding/text_decoder_stream.idl",
"encoding/text_encoder.idl",
"encoding/text_encoder_stream.idl",
"encryptedmedia/media_encrypted_event.idl",
"encryptedmedia/media_key_message_event.idl",
"encryptedmedia/media_key_session.idl",
"encryptedmedia/media_key_status_map.idl",
"encryptedmedia/media_key_system_access.idl",
"encryptedmedia/media_keys.idl",
"eventsource/event_source.idl",
"filesystem/directory_entry.idl",
"filesystem/directory_entry_sync.idl",
"filesystem/directory_reader.idl",
"filesystem/directory_reader_sync.idl",
"filesystem/dom_file_system.idl",
"filesystem/dom_file_system_sync.idl",
"filesystem/entries_callback.idl",
"filesystem/entry.idl",
"filesystem/entry_callback.idl",
"filesystem/entry_sync.idl",
"filesystem/error_callback.idl",
"filesystem/file_callback.idl",
"filesystem/file_entry.idl",
"filesystem/file_entry_sync.idl",
"filesystem/file_system_base_handle.idl",
"filesystem/file_system_callback.idl",
"filesystem/file_system_directory_handle.idl",
"filesystem/file_system_directory_iterator.idl",
"filesystem/file_system_file_handle.idl",
"filesystem/file_system_writer.idl",
"filesystem/file_writer.idl",
"filesystem/file_writer_callback.idl",
"filesystem/file_writer_sync.idl",
"filesystem/metadata.idl",
"filesystem/metadata_callback.idl",
"gamepad/gamepad.idl",
"gamepad/gamepad_axis_event.idl",
"gamepad/gamepad_button.idl",
"gamepad/gamepad_button_event.idl",
"gamepad/gamepad_event.idl",
"gamepad/gamepad_haptic_actuator.idl",
"gamepad/gamepad_list.idl",
"gamepad/gamepad_pose.idl",
"geolocation/coordinates.idl",
"geolocation/geolocation.idl",
"geolocation/position.idl",
"geolocation/position_error.idl",
"hid/hid.idl",
"idle/idle_manager.idl",
"idle/idle_state.idl",
"idle/idle_status.idl",
"imagecapture/image_capture.idl",
"imagecapture/media_settings_range.idl",
"imagecapture/photo_capabilities.idl",
"indexeddb/idb_cursor.idl",
"indexeddb/idb_cursor_with_value.idl",
"indexeddb/idb_database.idl",
"indexeddb/idb_factory.idl",
"indexeddb/idb_index.idl",
"indexeddb/idb_key_range.idl",
"indexeddb/idb_object_store.idl",
"indexeddb/idb_observation.idl",
"indexeddb/idb_observer.idl",
"indexeddb/idb_observer_changes.idl",
"indexeddb/idb_open_db_request.idl",
"indexeddb/idb_request.idl",
"indexeddb/idb_transaction.idl",
"indexeddb/idb_version_change_event.idl",
"installedapp/related_application.idl",
"keyboard/keyboard.idl",
"keyboard/keyboard_layout_map.idl",
"locks/lock.idl",
"locks/lock_manager.idl",
"media_capabilities/media_capabilities.idl",
"mediacapturefromelement/canvas_capture_media_stream_track.idl",
"mediarecorder/blob_event.idl",
"mediarecorder/media_recorder.idl",
"mediasession/media_metadata.idl",
"mediasession/media_session.idl",
"mediasource/media_source.idl",
"mediasource/source_buffer.idl",
"mediasource/source_buffer_list.idl",
"mediasource/track_default.idl",
"mediasource/track_default_list.idl",
"mediasource/video_playback_quality.idl",
"mediastream/input_device_info.idl",
"mediastream/media_device_info.idl",
"mediastream/media_devices.idl",
"mediastream/media_stream.idl",
"mediastream/media_stream_event.idl",
"mediastream/media_stream_track.idl",
"mediastream/media_stream_track_event.idl",
"mediastream/overconstrained_error.idl",
"netinfo/network_information.idl",
"nfc/nfc.idl",
"notifications/notification.idl",
"notifications/notification_event.idl",
"notifications/timestamp_trigger.idl",
"payments/abort_payment_event.idl",
"payments/can_make_payment_event.idl",
"payments/merchant_validation_event.idl",
"payments/payment_address.idl",
"payments/payment_instruments.idl",
"payments/payment_manager.idl",
"payments/payment_method_change_event.idl",
"payments/payment_request.idl",
"payments/payment_request_event.idl",
"payments/payment_request_update_event.idl",
"payments/payment_response.idl",
"peerconnection/rtc_certificate.idl",
"peerconnection/rtc_data_channel.idl",
"peerconnection/rtc_data_channel_event.idl",
"peerconnection/rtc_dtls_transport.idl",
"peerconnection/rtc_dtmf_sender.idl",
"peerconnection/rtc_dtmf_tone_change_event.idl",
"peerconnection/rtc_error.idl",
"peerconnection/rtc_error_event.idl",
"peerconnection/rtc_ice_candidate.idl",
"peerconnection/rtc_ice_transport.idl",
"peerconnection/rtc_legacy_stats_report.idl",
"peerconnection/rtc_peer_connection.idl",
"peerconnection/rtc_peer_connection_ice_event.idl",
"peerconnection/rtc_quic_stream.idl",
"peerconnection/rtc_quic_stream_event.idl",
"peerconnection/rtc_quic_transport.idl",
"peerconnection/rtc_rtp_receiver.idl",
"peerconnection/rtc_rtp_sender.idl",
"peerconnection/rtc_rtp_transceiver.idl",
"peerconnection/rtc_sctp_transport.idl",
"peerconnection/rtc_session_description.idl",
"peerconnection/rtc_stats_report.idl",
"peerconnection/rtc_stats_response.idl",
"peerconnection/rtc_track_event.idl",
"permissions/permission_status.idl",
"permissions/permissions.idl",
"picture_in_picture/enter_picture_in_picture_event.idl",
"picture_in_picture/picture_in_picture_window.idl",
"plugins/mime_type.idl",
"plugins/mime_type_array.idl",
"plugins/plugin.idl",
"plugins/plugin_array.idl",
"presentation/presentation.idl",
"presentation/presentation_availability.idl",
"presentation/presentation_connection.idl",
"presentation/presentation_connection_available_event.idl",
"presentation/presentation_connection_close_event.idl",
"presentation/presentation_connection_list.idl",
"presentation/presentation_receiver.idl",
"presentation/presentation_request.idl",
"push_messaging/push_event.idl",
"push_messaging/push_manager.idl",
"push_messaging/push_message_data.idl",
"push_messaging/push_subscription.idl",
"push_messaging/push_subscription_options.idl",
"quota/deprecated_storage_info.idl",
"quota/deprecated_storage_quota.idl",
"quota/dom_error.idl",
"quota/storage_manager.idl",
"remoteplayback/remote_playback.idl",
"screen_orientation/screen_orientation.idl",
"sensor/absolute_orientation_sensor.idl",
"sensor/accelerometer.idl",
"sensor/ambient_light_sensor.idl",
"sensor/gyroscope.idl",
"sensor/linear_acceleration_sensor.idl",
"sensor/magnetometer.idl",
"sensor/orientation_sensor.idl",
"sensor/relative_orientation_sensor.idl",
"sensor/sensor.idl",
"sensor/sensor_error_event.idl",
"service_worker/client.idl",
"service_worker/clients.idl",
"service_worker/extendable_event.idl",
"service_worker/extendable_message_event.idl",
"service_worker/fetch_event.idl",
"service_worker/install_event.idl",
"service_worker/navigation_preload_manager.idl",
"service_worker/service_worker.idl",
"service_worker/service_worker_container.idl",
"service_worker/service_worker_global_scope.idl",
"service_worker/service_worker_registration.idl",
"service_worker/window_client.idl",
"shapedetection/barcode_detector.idl",
"shapedetection/detected_barcode.idl",
"shapedetection/detected_face.idl",
"shapedetection/detected_text.idl",
"shapedetection/face_detector.idl",
"shapedetection/text_detector.idl",
"speech/speech_grammar.idl",
"speech/speech_grammar_list.idl",
"speech/speech_recognition.idl",
"speech/speech_recognition_alternative.idl",
"speech/speech_recognition_error.idl",
"speech/speech_recognition_event.idl",
"speech/speech_recognition_result.idl",
"speech/speech_recognition_result_list.idl",
"speech/speech_synthesis.idl",
"speech/speech_synthesis_error_event.idl",
"speech/speech_synthesis_event.idl",
"speech/speech_synthesis_utterance.idl",
"speech/speech_synthesis_voice.idl",
"storage/storage.idl",
"storage/storage_event.idl",
"vr/vr_display.idl",
"vr/vr_display_capabilities.idl",
"vr/vr_display_event.idl",
"vr/vr_eye_parameters.idl",
"vr/vr_frame_data.idl",
"vr/vr_pose.idl",
"vr/vr_stage_parameters.idl",
"wake_lock/wake_lock.idl",
"wake_lock/wake_lock_request.idl",
"webaudio/analyser_node.idl",
"webaudio/audio_buffer.idl",
"webaudio/audio_buffer_source_node.idl",
"webaudio/audio_context.idl",
"webaudio/audio_destination_node.idl",
"webaudio/audio_listener.idl",
"webaudio/audio_node.idl",
"webaudio/audio_param.idl",
"webaudio/audio_param_map.idl",
"webaudio/audio_processing_event.idl",
"webaudio/audio_scheduled_source_node.idl",
"webaudio/audio_worklet.idl",
"webaudio/audio_worklet_global_scope.idl",
"webaudio/audio_worklet_node.idl",
"webaudio/audio_worklet_processor.idl",
"webaudio/base_audio_context.idl",
"webaudio/biquad_filter_node.idl",
"webaudio/channel_merger_node.idl",
"webaudio/channel_splitter_node.idl",
"webaudio/constant_source_node.idl",
"webaudio/convolver_node.idl",
"webaudio/delay_node.idl",
"webaudio/dynamics_compressor_node.idl",
"webaudio/gain_node.idl",
"webaudio/iir_filter_node.idl",
"webaudio/media_element_audio_source_node.idl",
"webaudio/media_stream_audio_destination_node.idl",
"webaudio/media_stream_audio_source_node.idl",
"webaudio/offline_audio_completion_event.idl",
"webaudio/offline_audio_context.idl",
"webaudio/oscillator_node.idl",
"webaudio/panner_node.idl",
"webaudio/periodic_wave.idl",
"webaudio/script_processor_node.idl",
"webaudio/stereo_panner_node.idl",
"webaudio/wave_shaper_node.idl",
"webdatabase/database.idl",
"webdatabase/sql_error.idl",
"webdatabase/sql_result_set.idl",
"webdatabase/sql_result_set_row_list.idl",
"webdatabase/sql_statement_callback.idl",
"webdatabase/sql_statement_error_callback.idl",
"webdatabase/sql_transaction.idl",
"webdatabase/sql_transaction_callback.idl",
"webdatabase/sql_transaction_error_callback.idl",
"webgl/angle_instanced_arrays.idl",
"webgl/ext_blend_min_max.idl",
"webgl/ext_color_buffer_float.idl",
"webgl/ext_color_buffer_half_float.idl",
"webgl/ext_disjoint_timer_query.idl",
"webgl/ext_disjoint_timer_query_webgl2.idl",
"webgl/ext_frag_depth.idl",
"webgl/ext_shader_texture_lod.idl",
"webgl/ext_srgb.idl",
"webgl/ext_texture_filter_anisotropic.idl",
"webgl/khr_parallel_shader_compile.idl",
"webgl/oes_element_index_uint.idl",
"webgl/oes_standard_derivatives.idl",
"webgl/oes_texture_float.idl",
"webgl/oes_texture_float_linear.idl",
"webgl/oes_texture_half_float.idl",
"webgl/oes_texture_half_float_linear.idl",
"webgl/oes_vertex_array_object.idl",
"webgl/webgl2_rendering_context.idl",
"webgl/webgl_active_info.idl",
"webgl/webgl_buffer.idl",
"webgl/webgl_color_buffer_float.idl",
"webgl/webgl_compressed_texture_astc.idl",
"webgl/webgl_compressed_texture_etc.idl",
"webgl/webgl_compressed_texture_etc1.idl",
"webgl/webgl_compressed_texture_pvrtc.idl",
"webgl/webgl_compressed_texture_s3tc.idl",
"webgl/webgl_compressed_texture_s3tc_srgb.idl",
"webgl/webgl_context_event.idl",
"webgl/webgl_debug_renderer_info.idl",
"webgl/webgl_debug_shaders.idl",
"webgl/webgl_depth_texture.idl",
"webgl/webgl_draw_buffers.idl",
"webgl/webgl_framebuffer.idl",
"webgl/webgl_lose_context.idl",
"webgl/webgl_multi_draw_instanced.idl",
"webgl/webgl_multi_draw.idl",
"webgl/webgl_multiview.idl",
"webgl/webgl_program.idl",
"webgl/webgl_query.idl",
"webgl/webgl_renderbuffer.idl",
"webgl/webgl_rendering_context.idl",
"webgl/webgl_sampler.idl",
"webgl/webgl_shader.idl",
"webgl/webgl_shader_precision_format.idl",
"webgl/webgl_sync.idl",
"webgl/webgl_texture.idl",
"webgl/webgl_timer_query_ext.idl",
"webgl/webgl_transform_feedback.idl",
"webgl/webgl_uniform_location.idl",
"webgl/webgl_vertex_array_object.idl",
"webgl/webgl_vertex_array_object_oes.idl",
"webgpu/gpu.idl",
"webgpu/gpu_adapter.idl",
"webgpu/gpu_device.idl",
"webgpu/gpu_queue.idl",
"webmidi/midi_access.idl",
"webmidi/midi_connection_event.idl",
"webmidi/midi_input.idl",
"webmidi/midi_input_map.idl",
"webmidi/midi_message_event.idl",
"webmidi/midi_output.idl",
"webmidi/midi_output_map.idl",
"webmidi/midi_port.idl",
"websockets/close_event.idl",
"websockets/websocket.idl",
"webusb/usb.idl",
"webusb/usb_alternate_interface.idl",
"webusb/usb_configuration.idl",
"webusb/usb_connection_event.idl",
"webusb/usb_device.idl",
"webusb/usb_endpoint.idl",
"webusb/usb_in_transfer_result.idl",
"webusb/usb_interface.idl",
"webusb/usb_isochronous_in_transfer_packet.idl",
"webusb/usb_isochronous_in_transfer_result.idl",
"webusb/usb_isochronous_out_transfer_packet.idl",
"webusb/usb_isochronous_out_transfer_result.idl",
"webusb/usb_out_transfer_result.idl",
"xr/xr.idl",
"xr/xr_bounded_reference_space.idl",
"xr/xr_frame.idl",
"xr/xr_hit_result.idl",
"xr/xr_input_source.idl",
"xr/xr_input_source_event.idl",
"xr/xr_layer.idl",
"xr/xr_pose.idl",
"xr/xr_presentation_context.idl",
"xr/xr_ray.idl",
"xr/xr_reference_space.idl",
"xr/xr_render_state.idl",
"xr/xr_rigid_transform.idl",
"xr/xr_session.idl",
"xr/xr_session_event.idl",
"xr/xr_space.idl",
"xr/xr_stage_bounds.idl",
"xr/xr_stationary_reference_space.idl",
"xr/xr_unbounded_reference_space.idl",
"xr/xr_view.idl",
"xr/xr_viewer_pose.idl",
"xr/xr_viewport.idl",
"xr/xr_webgl_layer.idl",
],
"abspath")
if (!is_android) {
modules_idl_files += get_path_info([
"serial/serial.idl",
"serial/serial_port.idl",
],
"abspath")
}
if (support_webgl2_compute_context) {
modules_idl_files +=
get_path_info([ "webgl/webgl2_compute_rendering_context.idl" ], "abspath")
}
modules_callback_function_idl_files =
get_path_info([
"quota/deprecated_storage_callbacks.idl",
"xr/xr_frame_request_callback.idl",
],
"abspath")
modules_dictionary_idl_files =
get_path_info(
[
"app_banner/app_banner_prompt_result.idl",
"app_banner/before_install_prompt_event_init.idl",
"background_fetch/background_fetch_event_init.idl",
"background_fetch/background_fetch_options.idl",
"background_fetch/background_fetch_ui_options.idl",
"background_sync/sync_event_init.idl",
"bluetooth/bluetooth_advertising_event_init.idl",
"bluetooth/bluetooth_le_scan_filter_init.idl",
"bluetooth/bluetooth_le_scan_options.idl",
"bluetooth/request_device_options.idl",
"cache_storage/cache_query_options.idl",
"cache_storage/multi_cache_query_options.idl",
"canvas/canvas2d/canvas_rendering_context_2d_settings.idl",
"canvas/canvas2d/hit_region_options.idl",
"canvas/htmlcanvas/canvas_context_creation_attributes_module.idl",
"contacts_picker/contact_info.idl",
"contacts_picker/contacts_select_options.idl",
"cookie_store/cookie_change_event_init.idl",
"cookie_store/cookie_list_item.idl",
"cookie_store/cookie_store_delete_options.idl",
"cookie_store/cookie_store_get_options.idl",
"cookie_store/cookie_store_set_extra_options.idl",
"cookie_store/cookie_store_set_options.idl",
"cookie_store/extendable_cookie_change_event_init.idl",
"credentialmanager/authentication_extensions_client_inputs.idl",
"credentialmanager/authentication_extensions_client_outputs.idl",
"credentialmanager/authenticator_selection_criteria.idl",
"credentialmanager/cable_authentication_data.idl",
"credentialmanager/cable_registration_data.idl",
"credentialmanager/collected_client_data.idl",
"credentialmanager/credential_creation_options.idl",
"credentialmanager/credential_data.idl",
"credentialmanager/credential_request_options.idl",
"credentialmanager/federated_credential_init.idl",
"credentialmanager/federated_credential_request_options.idl",
"credentialmanager/password_credential_data.idl",
"credentialmanager/public_key_credential_creation_options.idl",
"credentialmanager/public_key_credential_descriptor.idl",
"credentialmanager/public_key_credential_entity.idl",
"credentialmanager/public_key_credential_parameters.idl",
"credentialmanager/public_key_credential_request_options.idl",
"credentialmanager/public_key_credential_rp_entity.idl",
"credentialmanager/public_key_credential_user_entity.idl",
"csspaint/paint_rendering_context_2d_settings.idl",
"device_orientation/device_motion_event_acceleration_init.idl",
"device_orientation/device_motion_event_init.idl",
"device_orientation/device_motion_event_rotation_rate_init.idl",
"device_orientation/device_orientation_event_init.idl",
"encoding/text_decode_options.idl",
"encoding/text_decoder_options.idl",
"encoding/text_encoder_encode_into_result.idl",
"encryptedmedia/media_encrypted_event_init.idl",
"encryptedmedia/media_key_message_event_init.idl",
"encryptedmedia/media_key_system_configuration.idl",
"encryptedmedia/media_key_system_media_capability.idl",
"encryptedmedia/media_keys_policy.idl",
"eventsource/event_source_init.idl",
"filesystem/choose_file_system_entries_options.idl",
"filesystem/choose_file_system_entries_options_accepts.idl",
"filesystem/file_system_directory_iterator_entry.idl",
"filesystem/file_system_flags.idl",
"filesystem/file_system_get_directory_options.idl",
"filesystem/file_system_get_file_options.idl",
"filesystem/get_system_directory_options.idl",
"gamepad/gamepad_axis_event_init.idl",
"gamepad/gamepad_button_event_init.idl",
"gamepad/gamepad_effect_parameters.idl",
"gamepad/gamepad_event_init.idl",
"geolocation/position_options.idl",
"idle/idle_options.idl",
"imagecapture/constrain_point_2d_parameters.idl",
"imagecapture/photo_settings.idl",
"imagecapture/point_2d.idl",
"indexeddb/idb_database_info.idl",
"indexeddb/idb_index_parameters.idl",
"indexeddb/idb_object_store_parameters.idl",
"indexeddb/idb_observer_init.idl",
"indexeddb/idb_version_change_event_init.idl",
"locks/lock_info.idl",
"locks/lock_manager_snapshot.idl",
"locks/lock_options.idl",
"manifest/image_resource.idl",
"media_capabilities/audio_configuration.idl",
"media_capabilities/media_configuration.idl",
"media_capabilities/media_capabilities_decoding_info.idl",
"media_capabilities/media_capabilities_info.idl",
"media_capabilities/media_capabilities_key_system_configuration.idl",
"media_capabilities/media_decoding_configuration.idl",
"media_capabilities/media_encoding_configuration.idl",
"media_capabilities/video_configuration.idl",
"mediarecorder/blob_event_init.idl",
"mediarecorder/media_recorder_options.idl",
"mediasession/media_image.idl",
"mediasession/media_metadata_init.idl",
"mediastream/constrain_boolean_parameters.idl",
"mediastream/constrain_dom_string_parameters.idl",
"mediastream/constrain_double_range.idl",
"mediastream/constrain_long_range.idl",
"mediastream/double_range.idl",
"mediastream/long_range.idl",
"mediastream/media_stream_constraints.idl",
"mediastream/media_stream_event_init.idl",
"mediastream/media_stream_track_event_init.idl",
"mediastream/media_track_capabilities.idl",
"mediastream/media_track_constraint_set.idl",
"mediastream/media_track_constraints.idl",
"mediastream/media_track_settings.idl",
"mediastream/media_track_supported_constraints.idl",
"nfc/ndef_message.idl",
"nfc/nfc_push_options.idl",
"nfc/ndef_record.idl",
"nfc/nfc_watch_options.idl",
"notifications/get_notification_options.idl",
"notifications/notification_action.idl",
"notifications/notification_event_init.idl",
"notifications/notification_options.idl",
"payments/address_errors.idl",
"payments/android_pay_method_data.idl",
"payments/android_pay_tokenization.idl",
"payments/basic_card_request.idl",
"payments/can_make_payment_event_init.idl",
"payments/image_object.idl",
"payments/merchant_validation_event_init.idl",
"payments/payer_errors.idl",
"payments/payment_currency_amount.idl",
"payments/payment_details_base.idl",
"payments/payment_details_init.idl",
"payments/payment_details_modifier.idl",
"payments/payment_details_update.idl",
"payments/payment_handler_response.idl",
"payments/payment_instrument.idl",
"payments/payment_item.idl",
"payments/payment_method_change_event_init.idl",
"payments/payment_method_data.idl",
"payments/payment_options.idl",
"payments/payment_request_event_init.idl",
"payments/payment_request_update_event_init.idl",
"payments/payment_shipping_option.idl",
"payments/payment_validation_errors.idl",
"peerconnection/rtc_answer_options.idl",
"peerconnection/rtc_configuration.idl",
"peerconnection/rtc_data_channel_event_init.idl",
"peerconnection/rtc_data_channel_init.idl",
"peerconnection/rtc_dtls_fingerprint.idl",
"peerconnection/rtc_dtmf_tone_change_event_init.idl",
"peerconnection/rtc_error_event_init.idl",
"peerconnection/rtc_error_init.idl",
"peerconnection/rtc_ice_candidate_init.idl",
"peerconnection/rtc_ice_candidate_pair.idl",
"peerconnection/rtc_ice_gather_options.idl",
"peerconnection/rtc_ice_parameters.idl",
"peerconnection/rtc_ice_server.idl",
"peerconnection/rtc_offer_answer_options.idl",
"peerconnection/rtc_offer_options.idl",
"peerconnection/rtc_peer_connection_ice_event_init.idl",
"peerconnection/rtc_quic_parameters.idl",
"peerconnection/rtc_quic_stream_event_init.idl",
"peerconnection/rtc_quic_stream_read_result.idl",
"peerconnection/rtc_quic_stream_write_parameters.idl",
"peerconnection/rtc_quic_transport_stats.idl",
"peerconnection/rtc_rtcp_parameters.idl",
"peerconnection/rtc_rtp_capabilities.idl",
"peerconnection/rtc_rtp_codec_capability.idl",
"peerconnection/rtc_rtp_codec_parameters.idl",
"peerconnection/rtc_rtp_coding_parameters.idl",
"peerconnection/rtc_rtp_contributing_source.idl",
"peerconnection/rtc_rtp_decoding_parameters.idl",
"peerconnection/rtc_rtp_encoding_parameters.idl",
"peerconnection/rtc_rtp_header_extension_capability.idl",
"peerconnection/rtc_rtp_header_extension_parameters.idl",
"peerconnection/rtc_rtp_parameters.idl",
"peerconnection/rtc_rtp_receive_parameters.idl",
"peerconnection/rtc_rtp_send_parameters.idl",
"peerconnection/rtc_rtp_synchronization_source.idl",
"peerconnection/rtc_rtp_transceiver_init.idl",
"peerconnection/rtc_session_description_init.idl",
"peerconnection/rtc_track_event_init.idl",
"permissions/clipboard_permission_descriptor.idl",
"permissions/midi_permission_descriptor.idl",
"permissions/permission_descriptor.idl",
"permissions/push_permission_descriptor.idl",
"picture_in_picture/enter_picture_in_picture_event_init.idl",
"presentation/presentation_connection_available_event_init.idl",
"presentation/presentation_connection_close_event_init.idl",
"push_messaging/push_event_init.idl",
"push_messaging/push_subscription_options_init.idl",
"quota/storage_estimate.idl",
"quota/storage_usage_details.idl",
"sensor/sensor_error_event_init.idl",
"sensor/sensor_options.idl",
"sensor/spatial_sensor_options.idl",
"service_worker/client_query_options.idl",
"service_worker/extendable_event_init.idl",
"service_worker/extendable_message_event_init.idl",
"service_worker/fetch_event_init.idl",
"service_worker/navigation_preload_state.idl",
"service_worker/registration_options.idl",
"shapedetection/face_detector_options.idl",
"shapedetection/landmark.idl",
"speech/speech_recognition_error_init.idl",
"speech/speech_recognition_event_init.idl",
"speech/speech_synthesis_error_event_init.idl",
"speech/speech_synthesis_event_init.idl",
"storage/storage_event_init.idl",
"vr/vr_display_event_init.idl",
"vr/vr_layer_init.idl",
"webaudio/analyser_options.idl",
"webaudio/audio_buffer_options.idl",
"webaudio/audio_buffer_source_options.idl",
"webaudio/audio_context_options.idl",
"webaudio/audio_node_options.idl",
"webaudio/audio_param_descriptor.idl",
"webaudio/audio_processing_event_init.idl",
"webaudio/audio_timestamp.idl",
"webaudio/audio_worklet_node_options.idl",
"webaudio/biquad_filter_options.idl",
"webaudio/channel_merger_options.idl",
"webaudio/channel_splitter_options.idl",
"webaudio/constant_source_options.idl",
"webaudio/convolver_options.idl",
"webaudio/delay_options.idl",
"webaudio/dynamics_compressor_options.idl",
"webaudio/gain_options.idl",
"webaudio/iir_filter_options.idl",
"webaudio/media_element_audio_source_options.idl",
"webaudio/media_stream_audio_source_options.idl",
"webaudio/offline_audio_completion_event_init.idl",
"webaudio/offline_audio_context_options.idl",
"webaudio/oscillator_options.idl",
"webaudio/panner_options.idl",
"webaudio/periodic_wave_constraints.idl",
"webaudio/periodic_wave_options.idl",
"webaudio/stereo_panner_options.idl",
"webaudio/wave_shaper_options.idl",
"webgl/webgl_context_attributes.idl",
"webgl/webgl_context_event_init.idl",
"webgpu/gpu_device_descriptor.idl",
"webgpu/gpu_extensions.idl",
"webgpu/gpu_limits.idl",
"webgpu/gpu_request_adapter_options.idl",
"webmidi/midi_connection_event_init.idl",
"webmidi/midi_message_event_init.idl",
"webmidi/midi_options.idl",
"webshare/share_data.idl",
"websockets/close_event_init.idl",
"webusb/usb_connection_event_init.idl",
"webusb/usb_control_transfer_parameters.idl",
"webusb/usb_device_filter.idl",
"webusb/usb_device_request_options.idl",
"xr/xr_input_source_event_init.idl",
"xr/xr_reference_space_options.idl",
"xr/xr_render_state_init.idl",
"xr/xr_session_creation_options.idl",
"xr/xr_session_event_init.idl",
"xr/xr_webgl_layer_init.idl",
],
"abspath")
if (!is_android) {
modules_dictionary_idl_files +=
get_path_info([
"serial/serial_options.idl",
"serial/serial_port_request_options.idl",
],
"abspath")
}
# 'partial interface' or target (right side of) 'implements'
modules_dependency_idl_files =
get_path_info(
[
"animationworklet/css_animation_worklet.idl",
"app_banner/window_installation.idl",
"audio_output_devices/html_media_element_audio_output_device.idl",
"background_fetch/service_worker_global_scope_background_fetch.idl",
"background_fetch/service_worker_registration_background_fetch.idl",
"background_sync/service_worker_global_scope_sync.idl",
"background_sync/service_worker_registration_sync.idl",
"battery/navigator_battery.idl",
"beacon/navigator_beacon.idl",
"bluetooth/navigator_bluetooth.idl",
"cache_storage/window_cache_storage.idl",
"cache_storage/worker_cache_storage.idl",
"canvas/canvas2d/canvas_path.idl",
"clipboard/navigator_clipboard.idl",
"contacts_picker/navigator_contacts.idl",
"cookie_store/service_worker_global_scope_cookie_store.idl",
"cookie_store/window_cookie_store.idl",
"credentialmanager/credential_user_data.idl",
"credentialmanager/navigator_credentials.idl",
"crypto/window_crypto.idl",
"crypto/worker_global_scope_crypto.idl",
"csspaint/css_paint_worklet.idl",
"device_orientation/window_device_motion.idl",
"device_orientation/window_device_orientation.idl",
"donottrack/navigator_do_not_track.idl",
"encryptedmedia/html_media_element_encrypted_media.idl",
"encryptedmedia/media_keys_get_status_for_policy.idl",
"encryptedmedia/navigator_request_media_key_system_access.idl",
"filesystem/data_transfer_item_file_system.idl",
"filesystem/dedicated_worker_global_scope_file_system.idl",
"filesystem/dev_tools_host_file_system.idl",
"filesystem/html_input_element_file_system.idl",
"filesystem/shared_worker_global_scope_file_system.idl",
"filesystem/window_file_system.idl",
"gamepad/navigator_gamepad.idl",
"geolocation/navigator_geolocation.idl",
"hid/navigator_hid.idl",
"idle/navigator_idle.idl",
"idle/worker_navigator_idle.idl",
"indexeddb/window_indexed_database.idl",
"indexeddb/worker_global_scope_indexed_database.idl",
"installedapp/navigator_installed_app.idl",
"keyboard/navigator_keyboard.idl",
"locks/navigator_locks.idl",
"locks/worker_navigator_locks.idl",
"media_capabilities/navigator_media_capabilities.idl",
"mediacapturefromelement/html_canvas_element_capture.idl",
"mediacapturefromelement/html_media_element_capture.idl",
"mediasession/navigator_media_session.idl",
"mediasource/audio_track_source_buffer.idl",
"mediasource/html_video_element_media_source.idl",
"mediasource/url_media_source.idl",
"mediasource/video_track_source_buffer.idl",
"mediastream/media_stream_track_content_hint.idl",
"mediastream/navigator_media_stream.idl",
"mediastream/navigator_user_media.idl",
"mediastream/window_media_stream.idl",
"navigatorcontentutils/navigator_content_utils.idl",
"netinfo/navigator_network_information.idl",
"netinfo/worker_navigator_network_information.idl",
"nfc/navigator_nfc.idl",
"notifications/service_worker_global_scope_notifications.idl",
"notifications/service_worker_registration_notifications.idl",
"payments/html_iframe_element_payments.idl",
"payments/payment_app_service_worker_global_scope.idl",
"payments/payment_app_service_worker_registration.idl",
"permissions/navigator_permissions.idl",
"permissions/worker_navigator_permissions.idl",
"picture_in_picture/document_picture_in_picture.idl",
"picture_in_picture/html_video_element_picture_in_picture.idl",
"picture_in_picture/shadow_root_picture_in_picture.idl",
"plugins/navigator_plugins.idl",
"presentation/navigator_presentation.idl",
"push_messaging/service_worker_global_scope_push.idl",
"push_messaging/service_worker_registration_push.idl",
"quota/navigator_storage_quota.idl",
"quota/window_quota.idl",
"quota/worker_navigator_storage_quota.idl",
"remoteplayback/html_media_element_remote_playback.idl",
"screen_orientation/screen_screen_orientation.idl",
"service_worker/navigator_service_worker.idl",
"speech/window_speech.idl",
"speech/window_speech_synthesis.idl",
"srcobject/html_media_element_src_object.idl",
"storage/window_storage.idl",
"vibration/navigator_vibration.idl",
"vr/navigator_vr.idl",
"wake_lock/navigator_wake_lock.idl",
"wake_lock/screen_wake_lock.idl",
"webdatabase/window_web_database.idl",
"webgl/webgl2_rendering_context_base.idl",
"webgl/webgl_rendering_context_base.idl",
"webgpu/navigator_gpu.idl",
"webmidi/navigator_web_midi.idl",
"webshare/navigator_share.idl",
"webusb/navigator_usb.idl",
"webusb/worker_navigator_usb.idl",
],
"abspath")
if (!is_android) {
modules_dependency_idl_files +=
get_path_info([
"serial/navigator_serial.idl",
"serial/worker_navigator_serial.idl",
],
"abspath")
}
if (support_webgl2_compute_context) {
modules_dependency_idl_files += get_path_info(
[
"canvas/htmlcanvas/html_canvas_element_module_support_webgl2_compute.idl",
"canvas/offscreencanvas/offscreen_canvas_module_support_webgl2_compute.idl",
"webgl/webgl2_compute_rendering_context_base.idl",
],
"abspath")
} else {
modules_dependency_idl_files +=
get_path_info([
"canvas/htmlcanvas/html_canvas_element_module.idl",
"canvas/offscreencanvas/offscreen_canvas_module.idl",
],
"abspath")
}
modules_testing_dependency_idl_files =
get_path_info([
"accessibility/testing/internals_accessibility.idl",
"mediastream/testing/internals_media_stream.idl",
"netinfo/testing/internals_net_info.idl",
"peerconnection/testing/internals_rtc_certificate.idl",
"peerconnection/testing/internals_rtc_peer_connection.idl",
"service_worker/testing/internals_service_worker.idl",
"speech/testing/internals_speech_synthesis.idl",
"vibration/testing/internals_vibration.idl",
"webaudio/testing/internals_web_audio.idl",
],
"abspath")
modules_definition_idl_files = modules_dictionary_idl_files + modules_idl_files
# Static IDL files
modules_static_interface_idl_files = modules_callback_function_idl_files
modules_static_dependency_idl_files =
modules_dependency_idl_files + modules_testing_dependency_idl_files
modules_generated_dependency_idl_files =
modules_core_global_constructors_generated_idl_files +
modules_global_constructors_generated_idl_files
# 'modules_dependency_idl_files' is already used in Source/modules, so avoid
# collision
modules_all_dependency_idl_files =
modules_static_dependency_idl_files + modules_generated_dependency_idl_files