Commit e4c4597c authored by Daniel Cheng's avatar Daniel Cheng Committed by Commit Bot

Split apart Blink's module_idl_files.gni (patch 2 of n)

This patch splits out:
- accessibility
- canvas
- mediastream
- netinfo
- peerconnection
- permissions
- quota
- serial
- service_worker
- speech
- vibration
- video_raf
- webaudio
- xr

These modules were prioritized in order to reduce the number of special
cases in modules_idl_files.gni.

Bug: 1048907
Change-Id: If8d215ed00ad2decb83bc916205c0ac611d9c37c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040956
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#739008}
parent d12aaf6c
# Copyright 2020 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.
modules_testing_dependency_idl_files = [ "testing/internals_accessibility.idl" ]
# Copyright 2020 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/config.gni")
modules_idl_files = [
"canvas2d/canvas_gradient.idl",
"canvas2d/canvas_pattern.idl",
"canvas2d/canvas_rendering_context_2d.idl",
"canvas2d/path_2d.idl",
"imagebitmap/image_bitmap_rendering_context.idl",
"offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl",
]
modules_dependency_idl_files = []
if (support_webgl2_compute_context) {
modules_dependency_idl_files += [
"htmlcanvas/html_canvas_element_module_support_webgl2_compute.idl",
"offscreencanvas/offscreen_canvas_module_support_webgl2_compute.idl",
]
} else {
modules_dependency_idl_files += [
"htmlcanvas/html_canvas_element_module.idl",
"offscreencanvas/offscreen_canvas_module.idl",
]
}
# Copyright 2020 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.
modules_idl_files = [
"input_device_info.idl",
"media_device_info.idl",
"media_devices.idl",
"media_stream.idl",
"media_stream_event.idl",
"media_stream_track.idl",
"media_stream_track_event.idl",
"overconstrained_error.idl",
]
modules_dictionary_idl_files = [
"constrain_boolean_parameters.idl",
"constrain_dom_string_parameters.idl",
"constrain_double_range.idl",
"constrain_long_range.idl",
"double_range.idl",
"long_range.idl",
"media_stream_constraints.idl",
"media_stream_event_init.idl",
"media_stream_track_event_init.idl",
"media_track_capabilities.idl",
"media_track_constraint_set.idl",
"media_track_constraints.idl",
"media_track_settings.idl",
"media_track_supported_constraints.idl",
]
modules_dependency_idl_files = [
"media_stream_track_content_hint.idl",
"navigator_media_stream.idl",
"navigator_user_media.idl",
"window_media_stream.idl",
]
modules_testing_dependency_idl_files = [ "testing/internals_media_stream.idl" ]
# Copyright 2020 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.
modules_idl_files = [ "network_information.idl" ]
modules_dependency_idl_files = [
"navigator_network_information.idl",
"worker_navigator_network_information.idl",
]
modules_testing_dependency_idl_files = [ "testing/internals_net_info.idl" ]
# Copyright 2020 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.
modules_idl_files = [
"rtc_certificate.idl",
"rtc_data_channel.idl",
"rtc_data_channel_event.idl",
"rtc_dtls_transport.idl",
"rtc_dtmf_sender.idl",
"rtc_dtmf_tone_change_event.idl",
"rtc_error.idl",
"rtc_error_event.idl",
"rtc_ice_candidate.idl",
"rtc_ice_transport.idl",
"rtc_legacy_stats_report.idl",
"rtc_peer_connection.idl",
"rtc_peer_connection_ice_error_event.idl",
"rtc_peer_connection_ice_event.idl",
"rtc_quic_stream.idl",
"rtc_quic_stream_event.idl",
"rtc_quic_transport.idl",
"rtc_rtp_receiver.idl",
"rtc_rtp_sender.idl",
"rtc_rtp_transceiver.idl",
"rtc_sctp_transport.idl",
"rtc_session_description.idl",
"rtc_stats_report.idl",
"rtc_stats_response.idl",
"rtc_track_event.idl",
]
modules_dictionary_idl_files = [
"rtc_answer_options.idl",
"rtc_configuration.idl",
"rtc_data_channel_event_init.idl",
"rtc_data_channel_init.idl",
"rtc_dtls_fingerprint.idl",
"rtc_dtmf_tone_change_event_init.idl",
"rtc_error_event_init.idl",
"rtc_error_init.idl",
"rtc_ice_candidate_init.idl",
"rtc_ice_candidate_pair.idl",
"rtc_ice_gather_options.idl",
"rtc_ice_parameters.idl",
"rtc_ice_server.idl",
"rtc_offer_answer_options.idl",
"rtc_offer_options.idl",
"rtc_peer_connection_ice_error_event_init.idl",
"rtc_peer_connection_ice_event_init.idl",
"rtc_quic_parameters.idl",
"rtc_quic_stream_event_init.idl",
"rtc_quic_stream_read_result.idl",
"rtc_quic_stream_write_parameters.idl",
"rtc_quic_transport_stats.idl",
"rtc_rtcp_parameters.idl",
"rtc_rtp_capabilities.idl",
"rtc_rtp_codec_capability.idl",
"rtc_rtp_codec_parameters.idl",
"rtc_rtp_coding_parameters.idl",
"rtc_rtp_contributing_source.idl",
"rtc_rtp_decoding_parameters.idl",
"rtc_rtp_encoding_parameters.idl",
"rtc_rtp_header_extension_capability.idl",
"rtc_rtp_header_extension_parameters.idl",
"rtc_rtp_parameters.idl",
"rtc_rtp_receive_parameters.idl",
"rtc_rtp_send_parameters.idl",
"rtc_rtp_synchronization_source.idl",
"rtc_rtp_transceiver_init.idl",
"rtc_session_description_init.idl",
"rtc_track_event_init.idl",
]
modules_testing_dependency_idl_files = [
"testing/internals_rtc_certificate.idl",
"testing/internals_rtc_peer_connection.idl",
]
# Copyright 2020 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.
modules_idl_files = [
"permission_status.idl",
"permissions.idl",
]
modules_dictionary_idl_files = [
"clipboard_permission_descriptor.idl",
"midi_permission_descriptor.idl",
"permission_descriptor.idl",
"push_permission_descriptor.idl",
"wake_lock_permission_descriptor.idl",
]
modules_dependency_idl_files = [
"navigator_permissions.idl",
"worker_navigator_permissions.idl",
]
modules_testing_dependency_idl_files = [ "testing/internals_permission.idl" ]
# Copyright 2020 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.
modules_idl_files = [
"deprecated_storage_info.idl",
"deprecated_storage_quota.idl",
"dom_error.idl",
"storage_manager.idl",
]
modules_callback_function_idl_files = [ "deprecated_storage_callbacks.idl" ]
modules_dictionary_idl_files = [
"storage_estimate.idl",
"storage_usage_details.idl",
]
modules_dependency_idl_files = [
"navigator_storage_quota.idl",
"window_quota.idl",
"worker_navigator_storage_quota.idl",
]
# 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.
modules_idl_files = [
"serial.idl",
"serial_port.idl",
]
modules_dictionary_idl_files = [
"serial_input_signals.idl",
"serial_options.idl",
"serial_output_signals.idl",
"serial_port_filter.idl",
"serial_port_request_options.idl",
]
modules_dependency_idl_files = [
"navigator_serial.idl",
"worker_navigator_serial.idl",
]
# Copyright 2020 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.
modules_idl_files = [
"client.idl",
"clients.idl",
"extendable_event.idl",
"extendable_message_event.idl",
"fetch_event.idl",
"install_event.idl",
"navigation_preload_manager.idl",
"service_worker.idl",
"service_worker_container.idl",
"service_worker_global_scope.idl",
"service_worker_registration.idl",
"window_client.idl",
]
modules_dictionary_idl_files = [
"client_query_options.idl",
"extendable_event_init.idl",
"extendable_message_event_init.idl",
"fetch_event_init.idl",
"navigation_preload_state.idl",
"registration_options.idl",
]
modules_dependency_idl_files = [ "navigator_service_worker.idl" ]
modules_testing_dependency_idl_files =
[ "testing/internals_service_worker.idl" ]
# Copyright 2020 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.
modules_idl_files = [
"speech_grammar.idl",
"speech_grammar_list.idl",
"speech_recognition.idl",
"speech_recognition_alternative.idl",
"speech_recognition_error_event.idl",
"speech_recognition_event.idl",
"speech_recognition_result.idl",
"speech_recognition_result_list.idl",
"speech_synthesis.idl",
"speech_synthesis_error_event.idl",
"speech_synthesis_event.idl",
"speech_synthesis_utterance.idl",
"speech_synthesis_voice.idl",
]
modules_dictionary_idl_files = [
"speech_recognition_error_event_init.idl",
"speech_recognition_event_init.idl",
"speech_synthesis_error_event_init.idl",
"speech_synthesis_event_init.idl",
]
modules_dependency_idl_files = [
"window_speech.idl",
"window_speech_synthesis.idl",
]
modules_testing_dependency_idl_files =
[ "testing/internals_speech_synthesis.idl" ]
# Copyright 2020 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.
modules_dependency_idl_files = [ "navigator_vibration.idl" ]
modules_testing_dependency_idl_files = [ "testing/internals_vibration.idl" ]
# Copyright 2020 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.
modules_callback_function_idl_files = [ "video_frame_request_callback.idl" ]
modules_dictionary_idl_files = [ "video_frame_metadata.idl" ]
modules_dependency_idl_files =
[ "html_video_element_video_request_animation_frame.idl" ]
# Copyright 2020 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.
modules_idl_files = [
"analyser_node.idl",
"audio_buffer.idl",
"audio_buffer_source_node.idl",
"audio_context.idl",
"audio_destination_node.idl",
"audio_listener.idl",
"audio_node.idl",
"audio_param.idl",
"audio_param_map.idl",
"audio_processing_event.idl",
"audio_scheduled_source_node.idl",
"audio_worklet.idl",
"audio_worklet_global_scope.idl",
"audio_worklet_node.idl",
"audio_worklet_processor.idl",
"base_audio_context.idl",
"biquad_filter_node.idl",
"channel_merger_node.idl",
"channel_splitter_node.idl",
"constant_source_node.idl",
"convolver_node.idl",
"delay_node.idl",
"dynamics_compressor_node.idl",
"gain_node.idl",
"iir_filter_node.idl",
"media_element_audio_source_node.idl",
"media_stream_audio_destination_node.idl",
"media_stream_audio_source_node.idl",
"offline_audio_completion_event.idl",
"offline_audio_context.idl",
"oscillator_node.idl",
"panner_node.idl",
"periodic_wave.idl",
"script_processor_node.idl",
"stereo_panner_node.idl",
"wave_shaper_node.idl",
]
modules_dictionary_idl_files = [
"analyser_options.idl",
"audio_buffer_options.idl",
"audio_buffer_source_options.idl",
"audio_context_options.idl",
"audio_node_options.idl",
"audio_param_descriptor.idl",
"audio_processing_event_init.idl",
"audio_timestamp.idl",
"audio_worklet_node_options.idl",
"biquad_filter_options.idl",
"channel_merger_options.idl",
"channel_splitter_options.idl",
"constant_source_options.idl",
"convolver_options.idl",
"delay_options.idl",
"dynamics_compressor_options.idl",
"gain_options.idl",
"iir_filter_options.idl",
"media_element_audio_source_options.idl",
"media_stream_audio_source_options.idl",
"offline_audio_completion_event_init.idl",
"offline_audio_context_options.idl",
"oscillator_options.idl",
"panner_options.idl",
"periodic_wave_constraints.idl",
"periodic_wave_options.idl",
"stereo_panner_options.idl",
"wave_shaper_options.idl",
]
modules_testing_dependency_idl_files = [ "testing/internals_web_audio.idl" ]
# Copyright 2020 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.
modules_idl_files = [
"xr.idl",
"xr_anchor.idl",
"xr_anchor_set.idl",
"xr_bounded_reference_space.idl",
"xr_dom_overlay_state.idl",
"xr_cube_map.idl",
"xr_frame.idl",
"xr_hit_result.idl",
"xr_input_source.idl",
"xr_input_source_array.idl",
"xr_input_source_event.idl",
"xr_input_sources_change_event.idl",
"xr_light_estimation.idl",
"xr_light_estimation_state.idl",
"xr_light_probe.idl",
"xr_plane.idl",
"xr_plane_detection_state.idl",
"xr_plane_set.idl",
"xr_pose.idl",
"xr_ray.idl",
"xr_reference_space.idl",
"xr_reference_space_event.idl",
"xr_reflection_probe.idl",
"xr_render_state.idl",
"xr_rigid_transform.idl",
"xr_hit_test_result.idl",
"xr_hit_test_source.idl",
"xr_session.idl",
"xr_session_event.idl",
"xr_space.idl",
"xr_spherical_harmonics.idl",
"xr_transient_input_hit_test_result.idl",
"xr_transient_input_hit_test_source.idl",
"xr_view.idl",
"xr_viewer_pose.idl",
"xr_viewport.idl",
"xr_webgl_layer.idl",
"xr_world_information.idl",
"xr_world_tracking_state.idl",
]
modules_callback_function_idl_files = [ "xr_frame_request_callback.idl" ]
modules_dictionary_idl_files = [
"xr_dom_overlay_init.idl",
"xr_hit_test_options_init.idl",
"xr_input_source_event_init.idl",
"xr_input_sources_change_event_init.idl",
"xr_light_estimation_state_init.idl",
"xr_plane_detection_state_init.idl",
"xr_reference_space_event_init.idl",
"xr_render_state_init.idl",
"xr_session_event_init.idl",
"xr_session_init.idl",
"xr_transient_input_hit_test_options_init.idl",
"xr_webgl_layer_init.idl",
"xr_world_tracking_state_init.idl",
]
modules_dependency_idl_files = [
"element_xr.idl",
"navigator_xr.idl",
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment