Skip to content

Build native code with release profile for release variants - #42

Merged
thombles merged 1 commit into
mainfrom
android-release-profile
Aug 17, 2026
Merged

thombles merged 1 commit into
mainfrom
android-release-profile

Conversation

@thombles

Copy link
Copy Markdown
Owner

Fixes #34.

The Cargo profile was hardcoded to debug, so both mergeDebugNativeLibs and mergeReleaseNativeLibs packaged debug-profile native code. Select the release profile when the requested Gradle tasks target the release build type, and keep debug otherwise.

The cargo profile was hardcoded to debug, so both mergeDebugNativeLibs
and mergeReleaseNativeLibs packaged debug-profile native code. Select
the release profile when the requested Gradle tasks target the release
build type, and keep debug otherwise.

Fixes #34
@thombles
thombles merged commit 6adfe45 into main Aug 17, 2026
5 checks passed
@thombles
thombles deleted the android-release-profile branch August 17, 2026 00:03
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.

Android release variant builds native code with Cargo debug profile

1 participant