Switch to GameActivity and gradle build
Fixes: https://github.com/damus-io/notedeck/issues/189 Fixes: https://github.com/damus-io/notedeck/issues/190 Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
13
crates/notedeck_chrome/android/Makefile
Normal file
13
crates/notedeck_chrome/android/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
.DEFAULT_GOAL := apk
|
||||
.PHONY: jni apk run-on-device
|
||||
|
||||
jni:
|
||||
cd rust && cargo ndk --target arm64-v8a -o ../java/app/src/main/jniLibs/ build --profile release
|
||||
|
||||
apk: jni
|
||||
cd java && ./gradlew build
|
||||
|
||||
run-on-device: jni
|
||||
cd java && ./gradlew installDebug
|
||||
adb shell am start -n local.walkers/.MainActivity
|
||||
adb logcat -v color -s walkers RustStdoutStderr
|
||||
Reference in New Issue
Block a user