Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: port media/test #1116

Merged
merged 5 commits into from
Oct 25, 2022
Merged

Conversation

joeyparrish
Copy link
Member

@joeyparrish joeyparrish commented Oct 24, 2022

Rewrite test_data_util.cc to locate files relative to the source file itself, rather than using a service from chromium base::.

Issue #1047 (CMake porting)
Issue #346 (absl porting)

Rewrite test_data_util.h to locate files relative to the source file
itself, rather than using a service from chromium base::.  This makes
the functionality header-only, but there is no meaningful downside to
inlining complex functions for tests.
@kevleyski
Copy link

Ah great, thanks Joey

@joeyparrish
Copy link
Member Author

This makes the functionality header-only, but there is no meaningful downside to inlining complex functions for tests.

I was wrong! Now that I'm progressing through tests, I'm getting duplicate symbol errors at linking. This needs to be updated.

@joeyparrish
Copy link
Member Author

This is working now. After this lands, I have another PR ready with the crypto code from media/base, which needed a lot of changes.

Copy link
Contributor

@zdanek zdanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please consider my notices

packager/media/CMakeLists.txt Outdated Show resolved Hide resolved
packager/media/test/test_data_util.cc Show resolved Hide resolved
packager/media/test/test_data_util.cc Show resolved Hide resolved
@joeyparrish joeyparrish merged commit a9a4f0d into shaka-project:cmake Oct 25, 2022
@joeyparrish joeyparrish deleted the media-test branch October 25, 2022 16:15
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants