# 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/WebKit/Source/modules/modules.gni") import("//tools/grit/grit_rule.gni") blink_modules_sources("media_controls") { sources = [ "MediaControlsImpl.cpp", "MediaControlsImpl.h", "MediaControlsMediaEventListener.cpp", "MediaControlsMediaEventListener.h", "MediaControlsOrientationLockDelegate.cpp", "MediaControlsOrientationLockDelegate.h", "MediaControlsResourceLoader.cpp", "MediaControlsResourceLoader.h", "MediaControlsRotateToFullscreenDelegate.cpp", "MediaControlsRotateToFullscreenDelegate.h", "MediaControlsWindowEventListener.cpp", "MediaControlsWindowEventListener.h", "MediaDownloadInProductHelpManager.cpp", "MediaDownloadInProductHelpManager.h", "elements/MediaControlAnimationEventListener.cpp", "elements/MediaControlAnimationEventListener.h", "elements/MediaControlButtonPanelElement.cpp", "elements/MediaControlButtonPanelElement.h", "elements/MediaControlCastButtonElement.cpp", "elements/MediaControlCastButtonElement.h", "elements/MediaControlCurrentTimeDisplayElement.cpp", "elements/MediaControlCurrentTimeDisplayElement.h", "elements/MediaControlDivElement.cpp", "elements/MediaControlDivElement.h", "elements/MediaControlDownloadButtonElement.cpp", "elements/MediaControlDownloadButtonElement.h", "elements/MediaControlElementBase.cpp", "elements/MediaControlElementBase.h", "elements/MediaControlElementType.h", "elements/MediaControlElementsHelper.cpp", "elements/MediaControlElementsHelper.h", "elements/MediaControlFullscreenButtonElement.cpp", "elements/MediaControlFullscreenButtonElement.h", "elements/MediaControlInputElement.cpp", "elements/MediaControlInputElement.h", "elements/MediaControlLoadingPanelElement.cpp", "elements/MediaControlLoadingPanelElement.h", "elements/MediaControlMuteButtonElement.cpp", "elements/MediaControlMuteButtonElement.h", "elements/MediaControlOverflowMenuButtonElement.cpp", "elements/MediaControlOverflowMenuButtonElement.h", "elements/MediaControlOverflowMenuListElement.cpp", "elements/MediaControlOverflowMenuListElement.h", "elements/MediaControlOverlayEnclosureElement.cpp", "elements/MediaControlOverlayEnclosureElement.h", "elements/MediaControlOverlayPlayButtonElement.cpp", "elements/MediaControlOverlayPlayButtonElement.h", "elements/MediaControlPanelElement.cpp", "elements/MediaControlPanelElement.h", "elements/MediaControlPanelEnclosureElement.cpp", "elements/MediaControlPanelEnclosureElement.h", "elements/MediaControlPlayButtonElement.cpp", "elements/MediaControlPlayButtonElement.h", "elements/MediaControlRemainingTimeDisplayElement.cpp", "elements/MediaControlRemainingTimeDisplayElement.h", "elements/MediaControlSliderElement.cpp", "elements/MediaControlSliderElement.h", "elements/MediaControlTextTrackListElement.cpp", "elements/MediaControlTextTrackListElement.h", "elements/MediaControlTimeDisplayElement.cpp", "elements/MediaControlTimeDisplayElement.h", "elements/MediaControlTimelineElement.cpp", "elements/MediaControlTimelineElement.h", "elements/MediaControlTimelineMetrics.cpp", "elements/MediaControlTimelineMetrics.h", "elements/MediaControlToggleClosedCaptionsButtonElement.cpp", "elements/MediaControlToggleClosedCaptionsButtonElement.h", "elements/MediaControlVolumeSliderElement.cpp", "elements/MediaControlVolumeSliderElement.h", ] deps = [ "//device/screen_orientation/public/interfaces:interfaces_blink", "//services/device/public/interfaces:constants_blink", "//services/service_manager/public/cpp", "//third_party/WebKit/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", ] }