fix: publish android debug symbols#84
Open
ovitrif wants to merge 8 commits into
Open
Conversation
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs synonymdev/bitkit-android#982
Summary
ldk-node-androidartifacts with usable native symbol metadata.0.7.0-rc.48.cargo ndk --no-stripso the published AAR can feed Bitkit Android'snative-debug-symbols.zip.libldk_node.solacks.symtab,.debug_*, or.gnu_debugdatafor any Android ABI.readelf/llvm-readelfprogram-header output.libldk_node.sosymbols through Gradle release AAR packaging.Release
Validation
com.synonym:ldk-node-android:0.7.0-rc.48.ANDROID_NDK_ROOT=/Users/ovitrif/Library/Android/sdk/ndk/28.1.13356709 LLVM_ARCH_PATH=darwin-x86_64 BINDGEN_GOBLEY_INSTALLED=1 scripts/uniffi_bindgen_generate_kotlin_android.sh.bindings/kotlin/ldk-node-android/gradlew --project-dir bindings/kotlin/ldk-node-android build -Pversion=0.7.0-rc.48.bash -n scripts/uniffi_bindgen_generate_kotlin_android.sh.cargo fmt --check(stable rustfmt prints warnings for nightly-only config keys).git diff --check.llvm-readelf -S: generated Androidlibldk_node.soincludes.symtaband.debug_*sections.llvm-readelf -W -l: generated Androidarm64-v8a/libldk_node.soLOAD alignment is0x4000.afadaec20a4d580b877282da609d7882233a8a1137f8cb621c894892aa3dbaae.