blob: 87731cb0141e9ef8645af7d683b424e41ba3b93d [file] [log] [blame]
# Copyright 2019 The Fuchsia 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/test/test_package.gni")
# TODO(turnage): low_layer part needs to not be test-only.
group("sw") {
testonly = true
deps = [
":codec_adapter_sw",
":codec_runner_sw",
"ffmpeg",
"low_layer",
"sbc",
]
}
config("codec_runner_sw_include_config") {
include_dirs = [ "." ]
}
source_set("codec_runner_sw") {
sources = [
"local_single_codec_factory.h",
]
public = [
"codec_runner_app.h",
]
deps = [
"//garnet/lib/media/codec_impl",
"//garnet/public/lib/component/cpp",
]
public_deps = [
"//garnet/public/lib/syslog/cpp",
]
}
config("codec_adapter_sw_include_config") {
include_dirs = [ "." ]
}
source_set("codec_adapter_sw") {
sources = [
"buffer_pool.cc",
]
public = [
"buffer_pool.h",
"codec_adapter_sw.h",
]
public_configs = [ ":codec_adapter_sw_include_config" ]
public_deps = [
"//garnet/bin/media/codecs:mpsc_queue",
"//garnet/lib/media/codec_impl",
"//sdk/fidl/fuchsia.mediacodec",
"//src/lib/fxl",
"//zircon/public/lib/async-loop-cpp",
]
}