shaka-packager/packager/media/chunking/CMakeLists.txt

33 lines
708 B
CMake

# Copyright 2022 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(chunking STATIC
chunking_handler.cc
cue_alignment_handler.cc
sync_point_queue.cc
text_chunker.cc
)
target_link_libraries(chunking
media_base
)
add_executable(chunking_unittest
chunking_handler_unittest.cc
cue_alignment_handler_unittest.cc
text_chunker_unittest.cc
)
target_link_libraries(chunking_unittest
gmock
gtest
gtest_main
media_handler_test_base
chunking
)
add_test(NAME chunking_unittest COMMAND chunking_unittest)