2023-08-31 23:59:46 +00:00
|
|
|
# Copyright 2014 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(wvm STATIC
|
|
|
|
wvm_media_parser.cc
|
|
|
|
wvm_media_parser.h
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(wvm
|
2023-10-13 19:42:47 +00:00
|
|
|
absl::log
|
2023-08-31 23:59:46 +00:00
|
|
|
media_base
|
|
|
|
media_codecs
|
|
|
|
mp2t
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(wvm_unittest
|
|
|
|
wvm_media_parser_unittest.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(wvm_unittest
|
2023-10-13 19:42:47 +00:00
|
|
|
absl::flags
|
|
|
|
absl::log
|
2023-08-31 23:59:46 +00:00
|
|
|
file
|
|
|
|
file_test_util
|
|
|
|
gmock
|
|
|
|
gtest
|
|
|
|
gtest_main
|
2023-10-13 19:42:47 +00:00
|
|
|
media_event
|
|
|
|
media_handler_test_base
|
|
|
|
mock_muxer_listener
|
|
|
|
test_data_util
|
|
|
|
wvm
|
2023-08-31 23:59:46 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_test(NAME wvm_unittest COMMAND wvm_unittest)
|