https://github.com/halide/Halide
Raw File
Tip revision: 1aac1064793f721d83fc3d2c26e35830244d5c1c authored by aekul on 18 August 2020, 20:29:55 UTC
Add script and bilateral_grid
Tip revision: 1aac106
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/HelloAndroid-debug.apk && adb shell am start com.example.hellohalide/com.example.hellohalide.CameraActivity
back to top