blob: 034c9a2f49a3c510ba9ee58c009d5149bcfcbd59 [file] [log] [blame]
# Copyright 2019 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("//build/buildflag_header.gni")
import("//build/config/ui.gni")
assert(is_linux)
source_set("linux") {
defines = [ "MEDIA_GPU_IMPLEMENTATION" ]
sources = [
"platform_video_frame_utils.cc",
"platform_video_frame_utils.h",
]
deps = [
"//base",
"//media",
"//media/gpu:common",
"//ui/gfx:buffer_types",
"//ui/gfx:memory_buffer",
]
if (use_ozone) {
deps += [ "//ui/ozone" ]
}
}
source_set("video_frame_mapper") {
defines = [ "MEDIA_GPU_IMPLEMENTATION" ]
sources = [
"generic_dmabuf_video_frame_mapper.cc",
"generic_dmabuf_video_frame_mapper.h",
]
deps = [
"//base",
"//media",
"//media/gpu:common",
"//media/gpu:video_frame_mapper_common",
]
}