-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Cosmin Stejerean <cstejerean@meta.com>
- Loading branch information
Showing
19 changed files
with
134 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# 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 | ||
codecs | ||
) | ||
|
||
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 | ||
# needs MockMpdNotifier from mpd/base | ||
# mpd_notify_muxer_listener_unittest.cc | ||
multi_codec_muxer_listener_unittest.cc | ||
muxer_listener_test_helper.cc | ||
vod_media_info_dump_muxer_listener_unittest.cc | ||
) | ||
|
||
#target_link_libraries(media_base_unittest | ||
# file | ||
# file_test_util | ||
# media_base | ||
# gmock | ||
# gtest | ||
# gtest_main | ||
# test_data_util) | ||
# | ||
|
||
target_link_libraries(media_event_unittest | ||
file | ||
file_test_util | ||
mpd_media_info_proto | ||
gmock | ||
gtest | ||
gtest_main | ||
media_event | ||
mock_muxer_listener | ||
) | ||
|
||
add_test(NAME media_base_unittest COMMAND media_event_unittest) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.