2023-07-13 23:25:42 +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
|
|
|
|
|
|
|
|
add_library(media_event STATIC
|
|
|
|
combined_muxer_listener.cc
|
|
|
|
hls_notify_muxer_listener.cc
|
|
|
|
mpd_notify_muxer_listener.cc
|
|
|
|
multi_codec_muxer_listener.cc
|
|
|
|
muxer_listener_factory.cc
|
|
|
|
muxer_listener_internal.cc
|
|
|
|
vod_media_info_dump_muxer_listener.cc
|
|
|
|
)
|
|
|
|
target_link_libraries(media_event
|
|
|
|
file
|
|
|
|
mpd_media_info_proto
|
|
|
|
media_base
|
2023-07-21 10:41:49 +00:00
|
|
|
media_codecs
|
2023-07-13 23:25:42 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(mock_muxer_listener STATIC
|
|
|
|
mock_muxer_listener.cc
|
|
|
|
)
|
|
|
|
target_link_libraries(mock_muxer_listener
|
|
|
|
gmock
|
|
|
|
media_event
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(media_event_unittest
|
|
|
|
hls_notify_muxer_listener_unittest.cc
|
|
|
|
muxer_listener_internal_unittest.cc
|
2023-08-22 01:41:18 +00:00
|
|
|
mpd_notify_muxer_listener_unittest.cc
|
2023-07-13 23:25:42 +00:00
|
|
|
multi_codec_muxer_listener_unittest.cc
|
|
|
|
muxer_listener_test_helper.cc
|
|
|
|
vod_media_info_dump_muxer_listener_unittest.cc
|
|
|
|
)
|
|
|
|
target_link_libraries(media_event_unittest
|
|
|
|
file
|
|
|
|
file_test_util
|
2023-08-22 01:41:18 +00:00
|
|
|
mpd_mocks
|
2023-07-13 23:25:42 +00:00
|
|
|
mpd_media_info_proto
|
|
|
|
gmock
|
|
|
|
gtest
|
|
|
|
gtest_main
|
|
|
|
media_event
|
|
|
|
mock_muxer_listener
|
|
|
|
)
|
2023-07-17 23:11:41 +00:00
|
|
|
add_gtest(media_event_unittest)
|