1 # This file is autogenerated by hidl-gen. Do not edit manually. 2 3 LOCAL_PATH := $(call my-dir) 4 5 ################################################################################ 6 7 include $(CLEAR_VARS) 8 LOCAL_MODULE := android.hardware.tests.hash-V1.0-java 9 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 10 11 intermediates := $(call local-generated-sources-dir, COMMON) 12 13 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 14 15 LOCAL_JAVA_LIBRARIES := \ 16 android.hidl.base-V1.0-java \ 17 18 19 # 20 # Build IHash.hal 21 # 22 GEN := $(intermediates)/android/hardware/tests/hash/V1_0/IHash.java 23 $(GEN): $(HIDL) 24 $(GEN): PRIVATE_HIDL := $(HIDL) 25 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IHash.hal 26 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 27 $(GEN): PRIVATE_CUSTOM_TOOL = \ 28 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 29 -Ljava \ 30 -randroid.hardware:hardware/interfaces \ 31 -randroid.hidl:system/libhidl/transport \ 32 android.hardware.tests.hash (a] 1.0::IHash 33 34 $(GEN): $(LOCAL_PATH)/IHash.hal 35 $(transform-generated-source) 36 LOCAL_GENERATED_SOURCES += $(GEN) 37 include $(BUILD_JAVA_LIBRARY) 38 39 40 ################################################################################ 41 42 include $(CLEAR_VARS) 43 LOCAL_MODULE := android.hardware.tests.hash-V1.0-java-static 44 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 45 46 intermediates := $(call local-generated-sources-dir, COMMON) 47 48 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 49 50 LOCAL_STATIC_JAVA_LIBRARIES := \ 51 android.hidl.base-V1.0-java-static \ 52 53 54 # 55 # Build IHash.hal 56 # 57 GEN := $(intermediates)/android/hardware/tests/hash/V1_0/IHash.java 58 $(GEN): $(HIDL) 59 $(GEN): PRIVATE_HIDL := $(HIDL) 60 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IHash.hal 61 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 62 $(GEN): PRIVATE_CUSTOM_TOOL = \ 63 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 64 -Ljava \ 65 -randroid.hardware:hardware/interfaces \ 66 -randroid.hidl:system/libhidl/transport \ 67 android.hardware.tests.hash (a] 1.0::IHash 68 69 $(GEN): $(LOCAL_PATH)/IHash.hal 70 $(transform-generated-source) 71 LOCAL_GENERATED_SOURCES += $(GEN) 72 include $(BUILD_STATIC_JAVA_LIBRARY) 73 74 75 76 include $(call all-makefiles-under,$(LOCAL_PATH)) 77