Skip to content
Draft
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
8bac076
update status-go to adopt sds
Ivansete-status Aug 27, 2025
d7f7875
Common.mk: remove duplicated line
Ivansete-status Aug 27, 2025
f95e2bb
buildStatusGo.sh: prepare sds for status-go
Ivansete-status Aug 27, 2025
74ad340
buildStatusGo export ANDROID_TARGET and ANDROID_NDK_HOME
Ivansete-status Aug 27, 2025
db7f780
add GOOS and GOARCH in EnvVariables.mk
Ivansete-status Aug 28, 2025
7a989c5
bump status-go vendor
Ivansete-status Aug 28, 2025
3b7fc87
revert previous change
Ivansete-status Aug 28, 2025
39be774
temporary change add more log level make
Ivansete-status Aug 28, 2025
e88b994
rm GOOS and GOARCH env vars
Ivansete-status Aug 28, 2025
7b33f3e
export GOOS GOARCH
Ivansete-status Aug 28, 2025
e841d46
avoid make generate in Android
Ivansete-status Aug 28, 2025
3c61b02
update GOOS and GOARCH when statusgo-lib/main.go
Ivansete-status Aug 28, 2025
b67cc53
try make generate again with correct GOOS and GOHOSTOS
Ivansete-status Aug 28, 2025
ef62739
bump status-go
Ivansete-status Aug 28, 2025
c1b15e9
status-go bump
Ivansete-status Aug 28, 2025
c53cdeb
build ANDROID_TARGET=35
Ivansete-status Aug 29, 2025
e46fcdf
add libsds.so to the resulting Status-tablet apk
Ivansete-status Aug 29, 2025
47cf960
restoring sds target to 28
Ivansete-status Aug 29, 2025
ca2b5a9
add SDS_LIB
Ivansete-status Aug 29, 2025
db9d182
properly cp libsds.so
Ivansete-status Aug 29, 2025
4da571d
typo fix
Ivansete-status Aug 29, 2025
5695f2f
copy libsds.so library
Ivansete-status Aug 29, 2025
17ad6f8
fix path libsds.so cp
Ivansete-status Aug 29, 2025
38fb40d
fix cp path with STATUS_GO var
Ivansete-status Aug 29, 2025
8af5596
fix path cp libsds.so
Ivansete-status Aug 29, 2025
f9d9567
android-build add default/ to path to upload
Ivansete-status Aug 29, 2025
deaec44
update status-go for win support
Ivansete-status Sep 11, 2025
2654af0
Update modules.txt in status-go
Ivansete-status Sep 11, 2025
6424862
update vendor/status-go/
Ivansete-status Sep 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ mobile-run: deps-common

mobile-build: | deps-common
echo -e "\033[92mBuilding:\033[39m mobile app"
$(MAKE) -C mobile
$(MAKE) -C mobile V=3

mobile-clean:
echo -e "\033[92mCleaning:\033[39m mobile app"
Expand Down
1 change: 0 additions & 1 deletion mobile/scripts/Common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ STATUS_DESKTOP_UI_FILES := $(shell find $(STATUS_DESKTOP)/ui -type f \( -iname '
STATUS_Q_FILES := $(shell find $(STATUSQ) -type f \( -iname '*.cpp' -o -iname '*.h' \) -not -iname '*.qrc' -not -iname '*.qml')
STATUS_Q_UI_FILES := $(shell find $(STATUSQ) -type f \( -iname '*.qml' -o -iname '*.qrc' \))
STATUS_GO_FILES := $(shell find $(STATUS_GO) -type f \( -iname '*.go' \))
STATUS_GO_SCRIPT := $(SCRIPTS_PATH)/buildStatusGo.sh
DOTHERSIDE_FILES := $(shell find $(DOTHERSIDE) -type f \( -iname '*.cpp' -o -iname '*.h' \))
OPENSSL_FILES := $(shell find $(OPENSSL) -type f \( -iname '*.c' -o -iname '*.h' \))
QRCODEGEN_FILES := $(shell find $(QRCODEGEN) -type f \( -iname '*.c' -o -iname '*.h' \))
Expand Down
2 changes: 2 additions & 0 deletions mobile/scripts/EnvVariables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ else
export LIB_EXT := .so
endif

export GOOS=$(shell go env GOHOSTOS)
export GOARCH=$(shell go env GOHOSTARCH)

# Verify tools are installed
QMAKE := $(shell which qmake)
Expand Down
11 changes: 10 additions & 1 deletion mobile/scripts/buildStatusGo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,19 @@ fi
echo "Building status-go for $ARCH using compiler: $CC"

cd "$STATUS_GO"

if [[ "$OS" == "android" ]]; then
echo "Generating android SDS bindings"
export ANDROID_TARGET=28
export ANDROID_NDK_HOME="/opt/android-sdk/ndk/27.2.12479018/"
make generate-sds-android V=3 SHELL=/bin/sh
fi

make generate V=3 SHELL=/bin/sh

mkdir -p build/bin/statusgo-lib
go run cmd/library/main.go cmd/library/const.go > build/bin/statusgo-lib/main.go
GOOS=$(shell go env GOHOSTOS) GOARCH=$(shell go env GOHOSTARCH) \
go run cmd/library/main.go cmd/library/const.go > build/bin/statusgo-lib/main.go

GOFLAGS="" CGO_CFLAGS="-Os -flto" CGO_LDFLAGS="-Os -flto" CGO_ENABLED=1 GOOS="$OS" GOARCH="$GOARCH" \
go build \
Expand Down
2 changes: 1 addition & 1 deletion vendor/status-go
Submodule status-go updated 3653 files