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

Build debug version of libroc when building debug AAR #56

Open
gavv opened this issue Feb 5, 2023 · 0 comments
Open

Build debug version of libroc when building debug AAR #56

gavv opened this issue Feb 5, 2023 · 0 comments
Labels
android Android-related tasks build system Build scripts good first issue Good for newcomers help wanted Contributions are welcome

Comments

@gavv
Copy link
Member

gavv commented Feb 5, 2023

We build two versions of AAR, debug and release, and both use release version of native libroc.so.

It would be convenient to build debug version of libroc, and use it in debug version of AAR. Debug version of libroc should have better stacktraces.

libroc is built using scripts/android/build_roc.sh. Currently it builds 4 versions of the lib (for 4 android ABIs). Now it'll need to build 8 versions (debug + release for each ABI), and gradle will need to use appropriate version.

To enable debugging, pass --enable-debug option to scons.

@gavv gavv added enhancement New feature or request good first issue Good for newcomers help wanted Contributions are welcome labels Feb 5, 2023
@gavv gavv added build system Build scripts and removed enhancement New feature or request labels Apr 3, 2023
@gavv gavv changed the title Use debug version of libroc when in debug AAR Build debug version of libroc when building debug AAR Apr 6, 2023
@gavv gavv added the android Android-related tasks label May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Android-related tasks build system Build scripts good first issue Good for newcomers help wanted Contributions are welcome
Projects
None yet
Development

No branches or pull requests

1 participant