1LOCAL_PATH:= $(call my-dir) 2 3## bundletool script 4 5include $(CLEAR_VARS) 6 7LOCAL_MODULE := bundletool 8LOCAL_MODULE_TAG := optional 9LOCAL_MODULE_CLASS := EXECUTABLES 10LOCAL_IS_HOST_MODULE := true 11 12include $(BUILD_SYSTEM)/base_rules.mk 13 14$(LOCAL_BUILT_MODULE): $(HOST_OUT_JAVA_LIBRARIES)/bundletool$(COMMON_JAVA_PACKAGE_SUFFIX) 15$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/etc/bundletool | $(ACP) 16 @echo "Copy: $(PRIVATE_MODULE) ($@)" 17 $(copy-file-to-new-target) 18 $(hide) chmod 755 $@ 19 20## tool jar 21 22include $(CLEAR_VARS) 23 24LOCAL_MODULE := bundletool 25 26LOCAL_SRC_FILES := $(call all-java-files-under, java) 27LOCAL_IS_HOST_MODULE := true 28LOCAL_MODULE_TAGS := optional 29 30LOCAL_STATIC_JAVA_LIBRARIES := guavalib jsr305lib dagger2-auto-value-host error_prone_annotations-2.0.18 31 32LOCAL_ANNOTATION_PROCESSORS := dagger2-auto-value-host 33LOCAL_ANNOTATION_PROCESSOR_CLASSES := com.google.auto.value.processor.AutoValueProcessor 34 35LOCAL_JAR_MANIFEST := manifest.txt 36 37include $(BUILD_HOST_JAVA_LIBRARY) 38