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.libhwbinder-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 IBenchmark.hal 21 # 22 GEN := $(intermediates)/android/hardware/tests/libhwbinder/V1_0/IBenchmark.java 23 $(GEN): $(HIDL) 24 $(GEN): PRIVATE_HIDL := $(HIDL) 25 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IBenchmark.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.libhwbinder (a] 1.0::IBenchmark 33 34 $(GEN): $(LOCAL_PATH)/IBenchmark.hal 35 $(transform-generated-source) 36 LOCAL_GENERATED_SOURCES += $(GEN) 37 38 # 39 # Build IScheduleTest.hal 40 # 41 GEN := $(intermediates)/android/hardware/tests/libhwbinder/V1_0/IScheduleTest.java 42 $(GEN): $(HIDL) 43 $(GEN): PRIVATE_HIDL := $(HIDL) 44 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IScheduleTest.hal 45 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 46 $(GEN): PRIVATE_CUSTOM_TOOL = \ 47 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 48 -Ljava \ 49 -randroid.hardware:hardware/interfaces \ 50 -randroid.hidl:system/libhidl/transport \ 51 android.hardware.tests.libhwbinder (a] 1.0::IScheduleTest 52 53 $(GEN): $(LOCAL_PATH)/IScheduleTest.hal 54 $(transform-generated-source) 55 LOCAL_GENERATED_SOURCES += $(GEN) 56 include $(BUILD_JAVA_LIBRARY) 57 58 59 ################################################################################ 60 61 include $(CLEAR_VARS) 62 LOCAL_MODULE := android.hardware.tests.libhwbinder-V1.0-java-static 63 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 64 65 intermediates := $(call local-generated-sources-dir, COMMON) 66 67 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 68 69 LOCAL_STATIC_JAVA_LIBRARIES := \ 70 android.hidl.base-V1.0-java-static \ 71 72 73 # 74 # Build IBenchmark.hal 75 # 76 GEN := $(intermediates)/android/hardware/tests/libhwbinder/V1_0/IBenchmark.java 77 $(GEN): $(HIDL) 78 $(GEN): PRIVATE_HIDL := $(HIDL) 79 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IBenchmark.hal 80 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 81 $(GEN): PRIVATE_CUSTOM_TOOL = \ 82 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 83 -Ljava \ 84 -randroid.hardware:hardware/interfaces \ 85 -randroid.hidl:system/libhidl/transport \ 86 android.hardware.tests.libhwbinder (a] 1.0::IBenchmark 87 88 $(GEN): $(LOCAL_PATH)/IBenchmark.hal 89 $(transform-generated-source) 90 LOCAL_GENERATED_SOURCES += $(GEN) 91 92 # 93 # Build IScheduleTest.hal 94 # 95 GEN := $(intermediates)/android/hardware/tests/libhwbinder/V1_0/IScheduleTest.java 96 $(GEN): $(HIDL) 97 $(GEN): PRIVATE_HIDL := $(HIDL) 98 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IScheduleTest.hal 99 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 100 $(GEN): PRIVATE_CUSTOM_TOOL = \ 101 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 102 -Ljava \ 103 -randroid.hardware:hardware/interfaces \ 104 -randroid.hidl:system/libhidl/transport \ 105 android.hardware.tests.libhwbinder (a] 1.0::IScheduleTest 106 107 $(GEN): $(LOCAL_PATH)/IScheduleTest.hal 108 $(transform-generated-source) 109 LOCAL_GENERATED_SOURCES += $(GEN) 110 include $(BUILD_STATIC_JAVA_LIBRARY) 111 112 113 114 include $(call all-makefiles-under,$(LOCAL_PATH)) 115