Skip to content

Commit

Permalink
update main Make file for Android 12 building.
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse <[email protected]>
  • Loading branch information
JesseCodeBones committed Oct 13, 2021
1 parent eba5a1f commit 0236e53
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions jni/minicap-shared/aosp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ all: \
libs/android-28/x86/minicap.so \
libs/android-28/x86_64/minicap.so \
libs/android-29/arm64-v8a/minicap.so \
libs/android-31/armeabi-v7a/minicap.so \
libs/android-31/arm64-v8a/minicap.so \
libs/android-31/x86/minicap.so \
libs/android-31/x86_64/minicap.so \

libs/android-9/armeabi-v7a/minicap.so: $(SOURCES) src/minicap_9.cpp
mkdir -p $(@D)
Expand Down Expand Up @@ -616,3 +620,39 @@ libs/android-29/arm64-v8a/minicap.so: $(SOURCES) src/minicap_29.cpp
-v $(this_dir):/app \
-v $(this_dir)$(@D):/artifacts \
openstf/aosp:jdk8 /aosp.sh build aosp_arm64-eng minicap

libs/android-31/armeabi-v7a/minicap.so: $(SOURCES) src/minicap_31.cpp
mkdir -p $(@D)
docker run --rm \
-a stdout -a stderr \
-v /media/aosp/android-12.0.0_r2:/aosp \
-v $(this_dir):/app \
-v $(this_dir)$(@D):/artifacts \
openstf/aosp:jdk8 /aosp.sh build aosp_arm-eng minicap

libs/android-31/arm64-v8a/minicap.so: $(SOURCES) src/minicap_31.cpp
mkdir -p $(@D)
docker run --rm \
-a stdout -a stderr \
-v /media/aosp/android-12.0.0_r2:/aosp \
-v $(this_dir):/app \
-v $(this_dir)$(@D):/artifacts \
openstf/aosp:jdk8 /aosp.sh build aosp_arm64-eng minicap

libs/android-31/x86/minicap.so: $(SOURCES) src/minicap_31.cpp
mkdir -p $(@D)
docker run --rm \
-a stdout -a stderr \
-v /media/aosp/android-12.0.0_r2:/aosp \
-v $(this_dir):/app \
-v $(this_dir)$(@D):/artifacts \
openstf/aosp:jdk8 /aosp.sh build aosp_x86-eng minicap

libs/android-31/x86_64/minicap.so: $(SOURCES) src/minicap_31.cpp
mkdir -p $(@D)
docker run --rm \
-a stdout -a stderr \
-v /media/aosp/android-12.0.0_r2:/aosp \
-v $(this_dir):/app \
-v $(this_dir)$(@D):/artifacts \
openstf/aosp:jdk8 /aosp.sh build aosp_x86_64-eng minicap

0 comments on commit 0236e53

Please sign in to comment.