|
|
|
@ -50,32 +50,13 @@ run-release:
|
|
|
|
|
cd cyberwow && \
|
|
|
|
|
flutter run --release --pid-file /tmp/flutter.pid
|
|
|
|
|
|
|
|
|
|
# clang -target aarch64-linux-android21 cyberwow/native/hello.c -o cyberwow/native/output/hello
|
|
|
|
|
c:
|
|
|
|
|
clang -target x86_64-linux-android21 cyberwow/native/hello.c -o cyberwow/native/output/x86_64/wownerod
|
|
|
|
|
|
|
|
|
|
build-c: c
|
|
|
|
|
cd cyberwow && \
|
|
|
|
|
flutter clean
|
|
|
|
|
|
|
|
|
|
push:
|
|
|
|
|
adb push cyberwow/native/output/hello /data/local/tmp
|
|
|
|
|
|
|
|
|
|
test-android:
|
|
|
|
|
adb shell /data/local/tmp/hello
|
|
|
|
|
|
|
|
|
|
test-c: c push test-android
|
|
|
|
|
|
|
|
|
|
collect:
|
|
|
|
|
cp ../vendor/wownero/bin/wownerod cyberwow/native/output/arm64/
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
cd cyberwow && \
|
|
|
|
|
flutter build apk --target-platform android-arm64 -v
|
|
|
|
|
flutter build apk --target-platform android-arm64
|
|
|
|
|
|
|
|
|
|
build-bundle:
|
|
|
|
|
cd cyberwow && \
|
|
|
|
|
flutter build appbundle --target-platform android-arm64 -v
|
|
|
|
|
flutter build appbundle --target-platform android-arm64
|
|
|
|
|
|
|
|
|
|
build-debug:
|
|
|
|
|
cd cyberwow && \
|
|
|
|
@ -91,8 +72,6 @@ script := etc/scripts/build-external-libs
|
|
|
|
|
|
|
|
|
|
wow: clean-external-libs collect-wownero build
|
|
|
|
|
|
|
|
|
|
wow-no-native: build
|
|
|
|
|
|
|
|
|
|
clean-external-libs:
|
|
|
|
|
$(script)/clean.sh
|
|
|
|
|
|
|
|
|
|