2023-08-22 01:41:18 +00:00
|
|
|
|
|
|
|
# Copyright 2016 Google LLC. All rights reserved.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
# https://developers.google.com/open-source/licenses/bsd
|
|
|
|
|
|
|
|
|
|
|
|
add_library(hls_builder
|
|
|
|
base/hls_notifier.h
|
|
|
|
base/master_playlist.cc
|
|
|
|
base/master_playlist.h
|
|
|
|
base/media_playlist.cc
|
|
|
|
base/media_playlist.h
|
|
|
|
base/simple_hls_notifier.cc
|
|
|
|
base/simple_hls_notifier.h
|
|
|
|
base/tag.cc
|
|
|
|
base/tag.h
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(hls_builder
|
|
|
|
absl::flags
|
2023-10-13 19:42:47 +00:00
|
|
|
absl::log
|
2023-08-22 01:41:18 +00:00
|
|
|
absl::strings
|
|
|
|
absl::str_format
|
2023-10-13 19:42:47 +00:00
|
|
|
file
|
|
|
|
manifest_base
|
|
|
|
media_base
|
|
|
|
mpd_media_info_proto
|
|
|
|
widevine_protos
|
2023-08-22 01:41:18 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(hls_unittest
|
|
|
|
base/master_playlist_unittest.cc
|
|
|
|
base/media_playlist_unittest.cc
|
|
|
|
base/mock_media_playlist.cc
|
|
|
|
base/mock_media_playlist.h
|
|
|
|
base/simple_hls_notifier_unittest.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(hls_unittest
|
2023-10-13 19:42:47 +00:00
|
|
|
absl::flags
|
2023-08-22 01:41:18 +00:00
|
|
|
file
|
|
|
|
file_test_util
|
|
|
|
gmock
|
|
|
|
gtest
|
2023-10-13 19:42:47 +00:00
|
|
|
gtest_main
|
|
|
|
hls_builder
|
|
|
|
test_data_util)
|
2023-08-22 01:41:18 +00:00
|
|
|
|
2023-10-13 19:42:47 +00:00
|
|
|
add_test(NAME hls_unittest COMMAND hls_unittest)
|