naiveproxy/third_party/blink/renderer/modules/media_controls/BUILD.gn
2018-08-14 22:19:20 +00:00

103 lines
4.7 KiB
Plaintext

# Copyright 2017 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/modules/modules.gni")
import("//tools/grit/grit_rule.gni")
blink_modules_sources("media_controls") {
sources = [
"elements/media_control_animation_event_listener.cc",
"elements/media_control_animation_event_listener.h",
"elements/media_control_button_panel_element.cc",
"elements/media_control_button_panel_element.h",
"elements/media_control_cast_button_element.cc",
"elements/media_control_cast_button_element.h",
"elements/media_control_current_time_display_element.cc",
"elements/media_control_current_time_display_element.h",
"elements/media_control_div_element.cc",
"elements/media_control_div_element.h",
"elements/media_control_download_button_element.cc",
"elements/media_control_download_button_element.h",
"elements/media_control_element_base.cc",
"elements/media_control_element_base.h",
"elements/media_control_element_type.h",
"elements/media_control_elements_helper.cc",
"elements/media_control_elements_helper.h",
"elements/media_control_fullscreen_button_element.cc",
"elements/media_control_fullscreen_button_element.h",
"elements/media_control_input_element.cc",
"elements/media_control_input_element.h",
"elements/media_control_loading_panel_element.cc",
"elements/media_control_loading_panel_element.h",
"elements/media_control_mute_button_element.cc",
"elements/media_control_mute_button_element.h",
"elements/media_control_overflow_menu_button_element.cc",
"elements/media_control_overflow_menu_button_element.h",
"elements/media_control_overflow_menu_list_element.cc",
"elements/media_control_overflow_menu_list_element.h",
"elements/media_control_overlay_enclosure_element.cc",
"elements/media_control_overlay_enclosure_element.h",
"elements/media_control_overlay_play_button_element.cc",
"elements/media_control_overlay_play_button_element.h",
"elements/media_control_panel_element.cc",
"elements/media_control_panel_element.h",
"elements/media_control_panel_enclosure_element.cc",
"elements/media_control_panel_enclosure_element.h",
"elements/media_control_picture_in_picture_button_element.cc",
"elements/media_control_picture_in_picture_button_element.h",
"elements/media_control_play_button_element.cc",
"elements/media_control_play_button_element.h",
"elements/media_control_popup_menu_element.cc",
"elements/media_control_popup_menu_element.h",
"elements/media_control_remaining_time_display_element.cc",
"elements/media_control_remaining_time_display_element.h",
"elements/media_control_scrubbing_message_element.cc",
"elements/media_control_scrubbing_message_element.h",
"elements/media_control_slider_element.cc",
"elements/media_control_slider_element.h",
"elements/media_control_text_track_list_element.cc",
"elements/media_control_text_track_list_element.h",
"elements/media_control_time_display_element.cc",
"elements/media_control_time_display_element.h",
"elements/media_control_timeline_element.cc",
"elements/media_control_timeline_element.h",
"elements/media_control_timeline_metrics.cc",
"elements/media_control_timeline_metrics.h",
"elements/media_control_toggle_closed_captions_button_element.cc",
"elements/media_control_toggle_closed_captions_button_element.h",
"elements/media_control_volume_slider_element.cc",
"elements/media_control_volume_slider_element.h",
"media_controls_display_cutout_delegate.cc",
"media_controls_display_cutout_delegate.h",
"media_controls_impl.cc",
"media_controls_impl.h",
"media_controls_media_event_listener.cc",
"media_controls_media_event_listener.h",
"media_controls_orientation_lock_delegate.cc",
"media_controls_orientation_lock_delegate.h",
"media_controls_resource_loader.cc",
"media_controls_resource_loader.h",
"media_controls_rotate_to_fullscreen_delegate.cc",
"media_controls_rotate_to_fullscreen_delegate.h",
"media_download_in_product_help_manager.cc",
"media_download_in_product_help_manager.h",
]
deps = [
":media_controls_resources",
"//services/service_manager/public/cpp",
"//third_party/blink/public:media_controls_resources_header",
]
}
grit("media_controls_resources") {
output_dir = "$blink_modules_output_dir/media_controls/resources/"
source = "resources/media_controls_resources.grd"
outputs = [
"grit/media_controls_resources.h",
"media_controls_resources_100_percent.pak",
"media_controls_resources_200_percent.pak",
]
}