1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 20:31:16 +00:00

Remove go mod download as part of build (#1395)

This commit is contained in:
Simon Frei 2019-09-05 18:08:02 +02:00
parent 0d8e10afa1
commit 4a290c2be5
No known key found for this signature in database
GPG key ID: 7C31D23ECB1006F3

View file

@ -113,7 +113,6 @@ for target in BUILD_TARGETS:
'CGO_ENABLED': '1',
})
subprocess.check_call(['go', 'mod', 'download'], cwd=syncthing_dir)
subprocess.check_call([
'go', 'run', 'build.go', '-goos', 'android', '-goarch', target['goarch'], '-cc', os.path.join(standalone_ndk_dir, 'bin', target['cc'])
] + pkg_argument + ['-no-upgrade', 'build'], env=environ, cwd=syncthing_dir)