Commit 929655db authored by Daniel Cheng's avatar Daniel Cheng Committed by Commit Bot

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

The goal is to split up modules_idl_files.gni into smaller .gni files
that are owned by OWNERS of the corresponding module, so top-level
module OWNERS don't need to review every CL that adds a new IDL file.

This patch splits out the build files for IDLs that define
dictionaries.

Bug: 1048907
Change-Id: I1ec3d198ca89a02f69e088d7d739145da820f21e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2043770
Commit-Queue: Kentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Auto-Submit: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#739373}
parent 7437f69a
......@@ -4,4 +4,9 @@
modules_idl_files = [ "before_install_prompt_event.idl" ]
modules_dictionary_idl_files = [
"app_banner_prompt_result.idl",
"before_install_prompt_event_init.idl",
]
modules_dependency_idl_files = [ "window_installation.idl" ]
......@@ -10,6 +10,12 @@ modules_idl_files = [
"background_fetch_update_ui_event.idl",
]
modules_dictionary_idl_files = [
"background_fetch_event_init.idl",
"background_fetch_options.idl",
"background_fetch_ui_options.idl",
]
modules_dependency_idl_files = [
"service_worker_global_scope_background_fetch.idl",
"service_worker_registration_background_fetch.idl",
......
......@@ -9,6 +9,12 @@ modules_idl_files = [
"sync_manager.idl",
]
modules_dictionary_idl_files = [
"background_sync_options.idl",
"sync_event_init.idl",
"periodic_sync_event_init.idl",
]
modules_dependency_idl_files = [
"service_worker_global_scope_sync.idl",
"service_worker_registration_sync.idl",
......
......@@ -17,4 +17,11 @@ modules_idl_files = [
"bluetooth_uuid.idl",
]
modules_dictionary_idl_files = [
"bluetooth_advertising_event_init.idl",
"bluetooth_le_scan_filter_init.idl",
"bluetooth_le_scan_options.idl",
"request_device_options.idl",
]
modules_dependency_idl_files = [ "navigator_bluetooth.idl" ]
......@@ -7,6 +7,11 @@ modules_idl_files = [
"cache_storage.idl",
]
modules_dictionary_idl_files = [
"cache_query_options.idl",
"multi_cache_query_options.idl",
]
modules_dependency_idl_files = [
"window_cache_storage.idl",
"worker_cache_storage.idl",
......
......@@ -13,6 +13,12 @@ modules_idl_files = [
"offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl",
]
modules_dictionary_idl_files = [
"canvas2d/canvas_rendering_context_2d_settings.idl",
"canvas2d/hit_region_options.idl",
"htmlcanvas/canvas_context_creation_attributes_module.idl",
]
modules_dependency_idl_files = [ "canvas2d/canvas_path.idl" ]
if (support_webgl2_compute_context) {
......
......@@ -7,4 +7,6 @@ modules_idl_files = [
"clipboard_item.idl",
]
modules_dictionary_idl_files = [ "clipboard_item_options.idl" ]
modules_dependency_idl_files = [ "navigator_clipboard.idl" ]
......@@ -7,4 +7,9 @@ modules_idl_files = [
"contacts_manager.idl",
]
modules_dictionary_idl_files = [
"contact_info.idl",
"contacts_select_options.idl",
]
modules_dependency_idl_files = [ "navigator_contacts.idl" ]
......@@ -7,6 +7,12 @@ modules_idl_files = [
"content_index_event.idl",
]
modules_dictionary_idl_files = [
"content_description.idl",
"content_icon_definition.idl",
"content_index_event_init.idl",
]
modules_dependency_idl_files = [
"service_worker_global_scope_content_index.idl",
"service_worker_registration_content_index.idl",
......
......@@ -9,6 +9,16 @@ modules_idl_files = [
"extendable_cookie_change_event.idl",
]
modules_dictionary_idl_files = [
"cookie_change_event_init.idl",
"cookie_list_item.idl",
"cookie_store_delete_options.idl",
"cookie_store_get_options.idl",
"cookie_store_set_extra_options.idl",
"cookie_store_set_options.idl",
"extendable_cookie_change_event_init.idl",
]
modules_dependency_idl_files = [
"service_worker_global_scope_cookie_store.idl",
"service_worker_registration_cookies.idl",
......
......@@ -13,6 +13,28 @@ modules_idl_files = [
"public_key_credential.idl",
]
modules_dictionary_idl_files = [
"authentication_extensions_client_inputs.idl",
"authentication_extensions_client_outputs.idl",
"authenticator_selection_criteria.idl",
"cable_authentication_data.idl",
"cable_registration_data.idl",
"collected_client_data.idl",
"credential_creation_options.idl",
"credential_data.idl",
"credential_request_options.idl",
"federated_credential_init.idl",
"federated_credential_request_options.idl",
"password_credential_data.idl",
"public_key_credential_creation_options.idl",
"public_key_credential_descriptor.idl",
"public_key_credential_entity.idl",
"public_key_credential_parameters.idl",
"public_key_credential_request_options.idl",
"public_key_credential_rp_entity.idl",
"public_key_credential_user_entity.idl",
]
modules_dependency_idl_files = [
"credential_user_data.idl",
"navigator_credentials.idl",
......
......@@ -8,4 +8,6 @@ modules_idl_files = [
"paint_worklet_global_scope.idl",
]
modules_dictionary_idl_files = [ "paint_rendering_context_2d_settings.idl" ]
modules_dependency_idl_files = [ "css_paint_worklet.idl" ]
......@@ -9,6 +9,13 @@ modules_idl_files = [
"device_orientation_event.idl",
]
modules_dictionary_idl_files = [
"device_motion_event_acceleration_init.idl",
"device_motion_event_init.idl",
"device_motion_event_rotation_rate_init.idl",
"device_orientation_event_init.idl",
]
modules_dependency_idl_files = [
"window_device_motion.idl",
"window_device_orientation.idl",
......
......@@ -8,3 +8,9 @@ modules_idl_files = [
"text_encoder.idl",
"text_encoder_stream.idl",
]
modules_dictionary_idl_files = [
"text_decode_options.idl",
"text_decoder_options.idl",
"text_encoder_encode_into_result.idl",
]
......@@ -11,6 +11,14 @@ modules_idl_files = [
"media_keys.idl",
]
modules_dictionary_idl_files = [
"media_encrypted_event_init.idl",
"media_key_message_event_init.idl",
"media_key_system_configuration.idl",
"media_key_system_media_capability.idl",
"media_keys_policy.idl",
]
modules_dependency_idl_files = [
"html_media_element_encrypted_media.idl",
"media_keys_get_status_for_policy.idl",
......
......@@ -3,3 +3,5 @@
# found in the LICENSE file.
modules_idl_files = [ "event_source.idl" ]
modules_dictionary_idl_files = [ "event_source_init.idl" ]
......@@ -25,6 +25,8 @@ modules_idl_files = [
"metadata_callback.idl",
]
modules_dictionary_idl_files = [ "file_system_flags.idl" ]
modules_dependency_idl_files = [
"data_transfer_item_file_system.idl",
"dedicated_worker_global_scope_file_system.idl",
......
......@@ -12,4 +12,11 @@ modules_idl_files = [
"gamepad_list.idl",
]
modules_dictionary_idl_files = [
"gamepad_axis_event_init.idl",
"gamepad_button_event_init.idl",
"gamepad_effect_parameters.idl",
"gamepad_event_init.idl",
]
modules_dependency_idl_files = [ "navigator_gamepad.idl" ]
......@@ -9,4 +9,6 @@ modules_idl_files = [
"geolocation_position_error.idl",
]
modules_dictionary_idl_files = [ "position_options.idl" ]
modules_dependency_idl_files = [ "navigator_geolocation.idl" ]
......@@ -12,4 +12,10 @@ modules_idl_files = [
"hid_report_item.idl",
]
modules_dictionary_idl_files = [
"hid_connection_event_init.idl",
"hid_device_filter.idl",
"hid_device_request_options.idl",
]
modules_dependency_idl_files = [ "navigator_hid.idl" ]
......@@ -6,3 +6,5 @@ modules_idl_files = [
"idle_detector.idl",
"idle_state.idl",
]
modules_dictionary_idl_files = [ "idle_options.idl" ]
......@@ -7,3 +7,9 @@ modules_idl_files = [
"media_settings_range.idl",
"photo_capabilities.idl",
]
modules_dictionary_idl_files = [
"constrain_point_2d_parameters.idl",
"photo_settings.idl",
"point_2d.idl",
]
......@@ -19,6 +19,15 @@ modules_idl_files = [
"idb_version_change_event.idl",
]
modules_dictionary_idl_files = [
"idb_database_info.idl",
"idb_index_parameters.idl",
"idb_object_store_parameters.idl",
"idb_observer_init.idl",
"idb_transaction_options.idl",
"idb_version_change_event_init.idl",
]
modules_dependency_idl_files = [
"window_indexed_database.idl",
"worker_global_scope_indexed_database.idl",
......
......@@ -3,3 +3,5 @@
# found in the LICENSE file.
modules_dependency_idl_files = [ "navigator_installed_app.idl" ]
modules_dictionary_idl_files = [ "related_application.idl" ]
......@@ -7,6 +7,12 @@ modules_idl_files = [
"lock_manager.idl",
]
modules_dictionary_idl_files = [
"lock_info.idl",
"lock_manager_snapshot.idl",
"lock_options.idl",
]
modules_dependency_idl_files = [
"navigator_locks.idl",
"worker_navigator_locks.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_dictionary_idl_files = [ "image_resource.idl" ]
......@@ -4,6 +4,18 @@
modules_idl_files = [ "media_capabilities.idl" ]
modules_dictionary_idl_files = [
"audio_configuration.idl",
"key_system_track_configuration.idl",
"media_configuration.idl",
"media_capabilities_decoding_info.idl",
"media_capabilities_info.idl",
"media_capabilities_key_system_configuration.idl",
"media_decoding_configuration.idl",
"media_encoding_configuration.idl",
"video_configuration.idl",
]
modules_dependency_idl_files = [
"navigator_media_capabilities.idl",
"worker_navigator_media_capabilities.idl",
......
......@@ -6,3 +6,8 @@ modules_idl_files = [
"blob_event.idl",
"media_recorder.idl",
]
modules_dictionary_idl_files = [
"blob_event_init.idl",
"media_recorder_options.idl",
]
......@@ -7,4 +7,12 @@ modules_idl_files = [
"media_session.idl",
]
modules_dictionary_idl_files = [
"media_image.idl",
"media_metadata_init.idl",
"media_position_state.idl",
"media_session_action_details.idl",
"media_session_seek_to_action_details.idl",
]
modules_dependency_idl_files = [ "navigator_media_session.idl" ]
......@@ -11,4 +11,17 @@ modules_idl_files = [
"file_system_writer.idl",
]
modules_dictionary_idl_files = [
"choose_file_system_entries_options.idl",
"choose_file_system_entries_options_accepts.idl",
"file_system_create_writer_options.idl",
"file_system_get_directory_options.idl",
"file_system_get_file_options.idl",
"file_system_handle_permission_descriptor.idl",
"file_system_remove_options.idl",
"get_system_directory_options.idl",
"native_file_system_directory_iterator_entry.idl",
"write_params.idl",
]
modules_dependency_idl_files = [ "window_native_file_system.idl" ]
......@@ -9,3 +9,11 @@ modules_idl_files = [
"ndef_reading_event.idl",
"ndef_writer.idl",
]
modules_dictionary_idl_files = [
"ndef_message_init.idl",
"ndef_record_init.idl",
"ndef_reading_event_init.idl",
"ndef_scan_options.idl",
"ndef_write_options.idl",
]
......@@ -8,6 +8,13 @@ modules_idl_files = [
"timestamp_trigger.idl",
]
modules_dictionary_idl_files = [
"get_notification_options.idl",
"notification_action.idl",
"notification_event_init.idl",
"notification_options.idl",
]
modules_dependency_idl_files = [
"service_worker_global_scope_notifications.idl",
"service_worker_registration_notifications.idl",
......
......@@ -16,6 +16,34 @@ modules_idl_files = [
"payment_response.idl",
]
modules_dictionary_idl_files = [
"address_errors.idl",
"android_pay_method_data.idl",
"android_pay_tokenization.idl",
"basic_card_request.idl",
"can_make_payment_event_init.idl",
"image_object.idl",
"merchant_validation_event_init.idl",
"payer_errors.idl",
"payment_address_init.idl",
"payment_currency_amount.idl",
"payment_details_base.idl",
"payment_details_init.idl",
"payment_details_modifier.idl",
"payment_details_update.idl",
"payment_handler_response.idl",
"payment_instrument.idl",
"payment_item.idl",
"payment_method_change_event_init.idl",
"payment_method_data.idl",
"payment_options.idl",
"payment_request_details_update.idl",
"payment_request_event_init.idl",
"payment_request_update_event_init.idl",
"payment_shipping_option.idl",
"payment_validation_errors.idl",
]
modules_dependency_idl_files = [
"html_iframe_element_payments.idl",
"payment_app_service_worker_global_scope.idl",
......
......@@ -7,6 +7,11 @@ modules_idl_files = [
"picture_in_picture_window.idl",
]
modules_dictionary_idl_files = [
"enter_picture_in_picture_event_init.idl",
"picture_in_picture_options.idl",
]
modules_dependency_idl_files = [
"document_picture_in_picture.idl",
"html_element_picture_in_picture.idl",
......
......@@ -13,4 +13,9 @@ modules_idl_files = [
"presentation_request.idl",
]
modules_dictionary_idl_files = [
"presentation_connection_available_event_init.idl",
"presentation_connection_close_event_init.idl",
]
modules_dependency_idl_files = [ "navigator_presentation.idl" ]
......@@ -11,6 +11,12 @@ modules_idl_files = [
"push_subscription_options.idl",
]
modules_dictionary_idl_files = [
"push_event_init.idl",
"push_subscription_change_event_init.idl",
"push_subscription_options_init.idl",
]
modules_dependency_idl_files = [
"service_worker_global_scope_push.idl",
"service_worker_registration_push.idl",
......
......@@ -8,4 +8,6 @@ modules_idl_files = [
"task_signal.idl",
]
modules_dictionary_idl_files = [ "scheduler_post_task_options.idl" ]
modules_dependency_idl_files = [ "window_scheduler.idl" ]
......@@ -14,3 +14,9 @@ modules_idl_files = [
"sensor.idl",
"sensor_error_event.idl",
]
modules_dictionary_idl_files = [
"sensor_error_event_init.idl",
"sensor_options.idl",
"spatial_sensor_options.idl",
]
......@@ -10,3 +10,9 @@ modules_idl_files = [
"face_detector.idl",
"text_detector.idl",
]
modules_dictionary_idl_files = [
"barcode_detector_options.idl",
"face_detector_options.idl",
"landmark.idl",
]
......@@ -7,4 +7,6 @@ modules_idl_files = [
"sms_receiver.idl",
]
modules_dictionary_idl_files = [ "sms_receiver_options.idl" ]
modules_dependency_idl_files = [ "navigator_sms.idl" ]
......@@ -7,4 +7,6 @@ modules_idl_files = [
"storage_event.idl",
]
modules_dictionary_idl_files = [ "storage_event_init.idl" ]
modules_dependency_idl_files = [ "window_storage.idl" ]
......@@ -9,3 +9,8 @@ modules_idl_files = [
"video_track_reader.idl",
"video_track_writer.idl",
]
modules_dictionary_idl_files = [
"video_decoder_init_parameters.idl",
"video_track_writer_parameters.idl",
]
......@@ -13,4 +13,10 @@ modules_idl_files = [
"midi_port.idl",
]
modules_dictionary_idl_files = [
"midi_connection_event_init.idl",
"midi_message_event_init.idl",
"midi_options.idl",
]
modules_dependency_idl_files = [ "navigator_web_midi.idl" ]
......@@ -2,4 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
modules_dictionary_idl_files = [ "share_data.idl" ]
modules_dependency_idl_files = [ "navigator_share.idl" ]
......@@ -7,3 +7,10 @@ modules_idl_files = [
"websocket.idl",
"websocket_stream.idl",
]
modules_dictionary_idl_files = [
"close_event_init.idl",
"websocket_close_info.idl",
"websocket_connection.idl",
"websocket_stream_options.idl",
]
......@@ -7,3 +7,8 @@ modules_idl_files = [
"quic_transport.idl",
"send_stream.idl",
]
modules_dictionary_idl_files = [
"web_transport_close_info.idl",
"stream_abort_info.idl",
]
......@@ -18,6 +18,13 @@ modules_idl_files = [
"usb_out_transfer_result.idl",
]
modules_dictionary_idl_files = [
"usb_connection_event_init.idl",
"usb_control_transfer_parameters.idl",
"usb_device_filter.idl",
"usb_device_request_options.idl",
]
modules_dependency_idl_files = [
"navigator_usb.idl",
"worker_navigator_usb.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