github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/tools/android/Makefile (about)

     1  TARGET := libs/arm64-v8a/sandbox_test
     2  SRC := jni/sandbox_test.c
     3  
     4  all: $(TARGET)
     5  
     6  $(TARGET): $(SRC)
     7  	ndk-build
     8  
     9  push: $(TARGET)
    10  	adb push "$^" /data/local/tmp
    11  
    12  run: push
    13  	adb shell /data/local/tmp/sandbox_test
    14  
    15  clean:
    16  	rm -rf libs obj
    17  
    18  .PHONY: all push run