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

Generate shared object mapping files in separate class #304

Merged

Conversation

fractalwrench
Copy link
Contributor

@fractalwrench fractalwrench commented Sep 21, 2020

Goal

Refactors the generation of shared object mapping files into a separate factory class.

This creates a new class named SharedObjectMappingFactory which generates a mapping file for a given shared object. This will make it easier to create different mapping files for NDK vs Unity SO files, and avoids any new Unity Gradle task needing to rely on code within BugsnagGenerateNdkSoMappingTask.

The implementation has remained the same with the exception that a SharedObjectMappingFileFactory.Params class has been added, and that the architecture is supplied as Abi rather than String.

Testing

Relied on existing E2E test coverage as this does not involve any functional changes.

@fractalwrench fractalwrench marked this pull request as ready for review September 21, 2020 10:45
@fractalwrench fractalwrench merged commit f6caf0e into proj-symbolicate-android-unity Sep 21, 2020
@fractalwrench fractalwrench deleted the PLAT-4965/shared-object-factory branch September 21, 2020 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants