https://github.com/halide/Halide
Raw File
Tip revision: fa9d6e1fa40c449883a7d64ca1fbc58ec94259af authored by Alex Reinking on 16 September 2020, 16:36:58 UTC
Set Halide version to 10.0.0
Tip revision: fa9d6e1
build-gradle.sh
#!/bin/bash

# Gradle needs to know where the NDK is.
# The easiest way is to set the ANDROID_NDK_HOME environment variable.
# Otherwise, set ndk.dir in local.properties (even though the file itself says
# that it's only used by ant).
# However, if you run "android update" (say, via build.sh), this variable will
# be clobbered.
./gradlew build && adb install -r gradle_build/outputs/apk/HelloAndroidCamera2-debug.apk && adb shell am start com.example.helloandroidcamera2/com.example.helloandroidcamera2.CameraActivity
back to top