Skip to content

gradle: Clean up go and syncthing files; fix build on Windows - #231

Merged
chenxiaolong merged 1 commit into
masterfrom
build-clean-windows
Aug 20, 2026
Merged

gradle: Clean up go and syncthing files; fix build on Windows#231
chenxiaolong merged 1 commit into
masterfrom
build-clean-windows

Conversation

@chenxiaolong

@chenxiaolong chenxiaolong commented Aug 19, 2026

Copy link
Copy Markdown
Owner

This allows the APK to be built, but the stbridge tests will not be able to run on Windows.

Builds on Windows are reproducible as long as core.autocrlf=false and core.eol=lf are set before cloning the repo. Otherwise, Syncthing's GUI assets will have CRLF line endings.

The gradle scripts now also have to strip out the .comment ELF section since the same version of the NDK writes different comment strings on different host platforms.

@chenxiaolong chenxiaolong self-assigned this Aug 19, 2026
@chenxiaolong
chenxiaolong force-pushed the build-clean-windows branch 10 times, most recently from e4e6c80 to 1594c8a Compare August 20, 2026 04:37
This allows the APK to be built, but the stbridge tests will not be able
to run on Windows.

Builds on Windows are reproducible as long as core.autocrlf=false and
core.eol=lf are set before cloning the repo. Otherwise, Syncthing's GUI
assets will have CRLF line endings.

The gradle scripts now also have to strip out the .comment ELF section
since the same version of the NDK writes different comment strings on
different host platforms.

Signed-off-by: Andrew Gunnerson <[email protected]>
chenxiaolong added a commit that referenced this pull request Aug 20, 2026
Signed-off-by: Andrew Gunnerson <[email protected]>
@chenxiaolong
chenxiaolong merged commit ea7c1d2 into master Aug 20, 2026
1 check passed
@chenxiaolong
chenxiaolong deleted the build-clean-windows branch August 20, 2026 17:15
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.

1 participant