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

Support Unity builds using internal Gradle #315

Conversation

fractalwrench
Copy link
Contributor

@fractalwrench fractalwrench commented Sep 30, 2020

Goal

It's possible to build a Unity project either by exporting symbols to an archive, which is supported, or by using Unity's internal Gradle build. This changeset adds support for uploading Unity SO mapping files for the second use case.

Changeset

  • Searched the Temp/StagingArea/symbols directory for libunity/libil2cpp SO files
  • Generated SO mapping files using the symbols in the Temp/StagingArea/symbols directory

Testing

Manually tested on a Unity 2018 and 2019 example project and confirmed that a SO mapping file was generated in the appropriate build directory. Due to the nature of the change E2E tests were not seen as feasible on CI for now and manual testing was agreed as part of the design.

@fractalwrench fractalwrench force-pushed the PLAT-4967/support-internal-build branch 3 times, most recently from 4b86b38 to 8dddd15 Compare September 30, 2020 13:28
@fractalwrench fractalwrench marked this pull request as ready for review September 30, 2020 14:04
@fractalwrench fractalwrench merged commit 60be5f1 into proj-symbolicate-android-unity Oct 1, 2020
@fractalwrench fractalwrench deleted the PLAT-4967/support-internal-build branch October 1, 2020 11:14
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