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

[ANDR] Adding linker flags to only android platform #193

Merged
merged 3 commits into from
Jan 23, 2025

Conversation

FranAguilera
Copy link
Contributor

@FranAguilera FranAguilera commented Jan 23, 2025

Issue

Potential fix for building issues on previous 0.16.9 attempt (see previous failure on https://github.com/bitdriftlabs/capture-sdk/actions/runs/12916680190/job/36022967272)

Test plan

Will follow similar steps listed on prior PR's description #173

@FranAguilera FranAguilera requested a review from murki January 23, 2025 13:02
] + select({
"@platforms//os:android": ["-Wl,--retain-symbols-file=$(location :jni_symbols.lds)"],
"@platforms//os:android": ["-Wl,-z,max-page-size=16384,--retain-symbols-file=$(location :jni_symbols.lds)"],
Copy link
Contributor

@murki murki Jan 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should work, the best way to test this still works would be not to test before/after the pr changes but with and without this flag

@murki
Copy link
Contributor

murki commented Jan 23, 2025

also for testing this shouldn't affect the gradle test app (that flag is set somewhere else) but only bazel

Copy link
Contributor

@murki murki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this work locally on my 16-kb enabled emulator

@murki murki enabled auto-merge (squash) January 23, 2025 16:52
@murki murki merged commit a226bc9 into main Jan 23, 2025
14 checks passed
@murki murki deleted the franjam/BIT-4362-update-linker-flags branch January 23, 2025 17:19
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants