blob: be85355a2d40945bc7226f145b5b43427cadae90 [file] [log] [blame]
# Copyright 2016 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.gni")
source_set("demux") {
sources = [
"byte_rate_estimator.cc",
"byte_rate_estimator.h",
"demux.h",
"file_reader.cc",
"file_reader.h",
"http_reader.cc",
"http_reader.h",
"reader.h",
"reader_cache.cc",
"reader_cache.h",
"sparse_byte_buffer.cc",
"sparse_byte_buffer.h",
]
deps = [
"//garnet/bin/http:errors",
"//garnet/bin/mediaplayer/graph",
"//garnet/bin/mediaplayer/util",
"//garnet/public/fidl/fuchsia.net.oldhttp",
"//garnet/public/lib/fsl",
"//garnet/public/lib/fxl",
]
public_deps = [
"//garnet/public/lib/component/cpp",
]
}
test("tests") {
output_name = "mediaplayer_demux_tests"
sources = [
"test/byte_rate_estimator_test.cc",
"test/reader_cache_test.cc",
"test/sparse_byte_buffer_test.cc",
]
deps = [
":demux",
"//third_party/googletest:gtest_main",
]
}