Home | History | Annotate | Download | only in issue64679-prctl

Lines Matching refs:PROJECT_DIR

51             PROJECT_DIR=${TMPDIR:-/tmp}/$USER-ndk-test-system-headers/android-$API_LEVEL-$ABI
52 (mkdir -p "$PROJECT_DIR" && rm -rf "$PROJECT_DIR"/*) || panic "Can't create dir: $PROJECT_DIR"
53 mkdir "$PROJECT_DIR"/jni
54 cat > $PROJECT_DIR/jni/Application.mk <<EOF
60 ANDROID_MK=$PROJECT_DIR/jni/Android.mk
80 SRC_FILE=$PROJECT_DIR/jni/$SRC
81 cat > $PROJECT_DIR/jni/$SRC <<EOF
95 $ANDROID_NDK_ROOT/ndk-build -C "$PROJECT_DIR" -B -j$JOBS V=1 1>/dev/null 2>&1
96 fail_panic "Can't compile header for android-$API_LEVEL/$ABI, to reproduce: $ANDROID_NDK_ROOT/ndk-build -C $PROJECT_DIR"
98 rm -rf "$PROJECT_DIR"