2023-07-05 22:18:36 +00:00
|
|
|
# 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
|
|
|
|
|
2023-07-21 10:41:49 +00:00
|
|
|
add_library(media_chunking STATIC
|
2023-07-05 22:18:36 +00:00
|
|
|
chunking_handler.cc
|
|
|
|
cue_alignment_handler.cc
|
|
|
|
sync_point_queue.cc
|
|
|
|
text_chunker.cc
|
|
|
|
)
|
2023-07-21 10:41:49 +00:00
|
|
|
target_link_libraries(media_chunking
|
2023-07-05 22:18:36 +00:00
|
|
|
media_base
|
|
|
|
)
|
|
|
|
|
2023-07-21 10:41:49 +00:00
|
|
|
add_executable(media_chunking_unittest
|
2023-07-05 22:18:36 +00:00
|
|
|
chunking_handler_unittest.cc
|
|
|
|
cue_alignment_handler_unittest.cc
|
|
|
|
text_chunker_unittest.cc
|
|
|
|
)
|
2023-07-21 10:41:49 +00:00
|
|
|
target_link_libraries(media_chunking_unittest
|
2023-07-05 22:18:36 +00:00
|
|
|
gmock
|
|
|
|
gtest
|
|
|
|
gtest_main
|
2023-07-21 10:41:49 +00:00
|
|
|
media_chunking
|
2023-07-05 22:18:36 +00:00
|
|
|
media_handler_test_base
|
|
|
|
)
|
2023-07-21 10:41:49 +00:00
|
|
|
add_gtest(media_chunking_unittest)
|