1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 my_jacoco_version := 0.7.2.201409121644 6 7 LOCAL_SRC_FILES := \ 8 $(call all-java-files-under, src/main/java) \ 9 10 LOCAL_STATIC_JAVA_LIBRARIES := \ 11 jvm-jacoco-core \ 12 jvm-jacoco-report \ 13 jvm-jacoco-asm \ 14 commons-cli-1.2 15 16 LOCAL_MODULE := jvm-jacoco-reporter 17 18 include $(BUILD_HOST_JAVA_LIBRARY) 19 20 include $(CLEAR_VARS) 21 22 LOCAL_IS_HOST_MODULE := true 23 LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ 24 jvm-jacoco-core:lib/org.jacoco.core-$(my_jacoco_version).jar \ 25 jvm-jacoco-report:lib/org.jacoco.report-$(my_jacoco_version).jar \ 26 jvm-jacoco-asm:lib/asm-debug-all-5.0.1.jar 27 28 include $(BUILD_MULTI_PREBUILT) 29 30 my_jacoco_version := 31