# Copyright 2016 The Chromium Authors
# 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")
blink_modules_sources("mediacapturefromelement") {
sources = [
"auto_canvas_draw_listener.cc",
"auto_canvas_draw_listener.h",
"canvas_capture_handler.cc",
"canvas_capture_handler.h",
"canvas_capture_media_stream_track.cc",
"canvas_capture_media_stream_track.h",
"html_audio_element_capturer_source.cc",
"html_audio_element_capturer_source.h",
"html_canvas_element_capture.cc",
"html_canvas_element_capture.h",
"html_media_element_capture.cc",
"html_media_element_capture.h",
"html_video_element_capturer_source.cc",
"html_video_element_capturer_source.h",
"on_request_canvas_draw_listener.cc",
"on_request_canvas_draw_listener.h",
"timed_canvas_draw_listener.cc",
"timed_canvas_draw_listener.h",
]
deps = [
"//components/viz/common",
"//gpu/command_buffer/client:raster_interface",
"//media",
"//media/capture:capture_lib",
"//skia",
"//third_party/blink/renderer/modules/encryptedmedia",
"//third_party/blink/renderer/modules/mediastream",
"//third_party/libyuv",
]
}