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.usb-V1.1-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.hardware.usb-V1.0-java \ 17 android.hidl.base-V1.0-java \ 18 19 20 # 21 # Build types.hal (PortMode_1_1) 22 # 23 GEN := $(intermediates)/android/hardware/usb/V1_1/PortMode_1_1.java 24 $(GEN): $(HIDL) 25 $(GEN): PRIVATE_HIDL := $(HIDL) 26 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 27 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 28 $(GEN): PRIVATE_CUSTOM_TOOL = \ 29 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 30 -Ljava \ 31 -randroid.hardware:hardware/interfaces \ 32 -randroid.hidl:system/libhidl/transport \ 33 android.hardware.usb (a] 1.1::types.PortMode_1_1 34 35 $(GEN): $(LOCAL_PATH)/types.hal 36 $(transform-generated-source) 37 LOCAL_GENERATED_SOURCES += $(GEN) 38 39 # 40 # Build types.hal (PortStatus_1_1) 41 # 42 GEN := $(intermediates)/android/hardware/usb/V1_1/PortStatus_1_1.java 43 $(GEN): $(HIDL) 44 $(GEN): PRIVATE_HIDL := $(HIDL) 45 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 46 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 47 $(GEN): PRIVATE_CUSTOM_TOOL = \ 48 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 49 -Ljava \ 50 -randroid.hardware:hardware/interfaces \ 51 -randroid.hidl:system/libhidl/transport \ 52 android.hardware.usb (a] 1.1::types.PortStatus_1_1 53 54 $(GEN): $(LOCAL_PATH)/types.hal 55 $(transform-generated-source) 56 LOCAL_GENERATED_SOURCES += $(GEN) 57 58 # 59 # Build IUsb.hal 60 # 61 GEN := $(intermediates)/android/hardware/usb/V1_1/IUsb.java 62 $(GEN): $(HIDL) 63 $(GEN): PRIVATE_HIDL := $(HIDL) 64 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsb.hal 65 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 66 $(GEN): PRIVATE_CUSTOM_TOOL = \ 67 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 68 -Ljava \ 69 -randroid.hardware:hardware/interfaces \ 70 -randroid.hidl:system/libhidl/transport \ 71 android.hardware.usb (a] 1.1::IUsb 72 73 $(GEN): $(LOCAL_PATH)/IUsb.hal 74 $(transform-generated-source) 75 LOCAL_GENERATED_SOURCES += $(GEN) 76 77 # 78 # Build IUsbCallback.hal 79 # 80 GEN := $(intermediates)/android/hardware/usb/V1_1/IUsbCallback.java 81 $(GEN): $(HIDL) 82 $(GEN): PRIVATE_HIDL := $(HIDL) 83 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsbCallback.hal 84 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 85 $(GEN): $(LOCAL_PATH)/types.hal 86 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 87 $(GEN): PRIVATE_CUSTOM_TOOL = \ 88 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 89 -Ljava \ 90 -randroid.hardware:hardware/interfaces \ 91 -randroid.hidl:system/libhidl/transport \ 92 android.hardware.usb (a] 1.1::IUsbCallback 93 94 $(GEN): $(LOCAL_PATH)/IUsbCallback.hal 95 $(transform-generated-source) 96 LOCAL_GENERATED_SOURCES += $(GEN) 97 include $(BUILD_JAVA_LIBRARY) 98 99 100 ################################################################################ 101 102 include $(CLEAR_VARS) 103 LOCAL_MODULE := android.hardware.usb-V1.1-java-static 104 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 105 106 intermediates := $(call local-generated-sources-dir, COMMON) 107 108 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 109 110 LOCAL_STATIC_JAVA_LIBRARIES := \ 111 android.hardware.usb-V1.0-java-static \ 112 android.hidl.base-V1.0-java-static \ 113 114 115 # 116 # Build types.hal (PortMode_1_1) 117 # 118 GEN := $(intermediates)/android/hardware/usb/V1_1/PortMode_1_1.java 119 $(GEN): $(HIDL) 120 $(GEN): PRIVATE_HIDL := $(HIDL) 121 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 122 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 123 $(GEN): PRIVATE_CUSTOM_TOOL = \ 124 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 125 -Ljava \ 126 -randroid.hardware:hardware/interfaces \ 127 -randroid.hidl:system/libhidl/transport \ 128 android.hardware.usb (a] 1.1::types.PortMode_1_1 129 130 $(GEN): $(LOCAL_PATH)/types.hal 131 $(transform-generated-source) 132 LOCAL_GENERATED_SOURCES += $(GEN) 133 134 # 135 # Build types.hal (PortStatus_1_1) 136 # 137 GEN := $(intermediates)/android/hardware/usb/V1_1/PortStatus_1_1.java 138 $(GEN): $(HIDL) 139 $(GEN): PRIVATE_HIDL := $(HIDL) 140 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 141 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 142 $(GEN): PRIVATE_CUSTOM_TOOL = \ 143 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 144 -Ljava \ 145 -randroid.hardware:hardware/interfaces \ 146 -randroid.hidl:system/libhidl/transport \ 147 android.hardware.usb (a] 1.1::types.PortStatus_1_1 148 149 $(GEN): $(LOCAL_PATH)/types.hal 150 $(transform-generated-source) 151 LOCAL_GENERATED_SOURCES += $(GEN) 152 153 # 154 # Build IUsb.hal 155 # 156 GEN := $(intermediates)/android/hardware/usb/V1_1/IUsb.java 157 $(GEN): $(HIDL) 158 $(GEN): PRIVATE_HIDL := $(HIDL) 159 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsb.hal 160 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 161 $(GEN): PRIVATE_CUSTOM_TOOL = \ 162 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 163 -Ljava \ 164 -randroid.hardware:hardware/interfaces \ 165 -randroid.hidl:system/libhidl/transport \ 166 android.hardware.usb (a] 1.1::IUsb 167 168 $(GEN): $(LOCAL_PATH)/IUsb.hal 169 $(transform-generated-source) 170 LOCAL_GENERATED_SOURCES += $(GEN) 171 172 # 173 # Build IUsbCallback.hal 174 # 175 GEN := $(intermediates)/android/hardware/usb/V1_1/IUsbCallback.java 176 $(GEN): $(HIDL) 177 $(GEN): PRIVATE_HIDL := $(HIDL) 178 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsbCallback.hal 179 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 180 $(GEN): $(LOCAL_PATH)/types.hal 181 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 182 $(GEN): PRIVATE_CUSTOM_TOOL = \ 183 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 184 -Ljava \ 185 -randroid.hardware:hardware/interfaces \ 186 -randroid.hidl:system/libhidl/transport \ 187 android.hardware.usb (a] 1.1::IUsbCallback 188 189 $(GEN): $(LOCAL_PATH)/IUsbCallback.hal 190 $(transform-generated-source) 191 LOCAL_GENERATED_SOURCES += $(GEN) 192 include $(BUILD_STATIC_JAVA_LIBRARY) 193 194 195 ################################################################################ 196 197 include $(CLEAR_VARS) 198 LOCAL_MODULE := android.hardware.usb-V1.1-java-constants 199 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 200 201 intermediates := $(call local-generated-sources-dir, COMMON) 202 203 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 204 # 205 GEN := $(intermediates)/android/hardware/usb/V1_1/Constants.java 206 $(GEN): $(HIDL) 207 $(GEN): $(LOCAL_PATH)/types.hal 208 $(GEN): $(LOCAL_PATH)/IUsb.hal 209 $(GEN): $(LOCAL_PATH)/IUsbCallback.hal 210 211 $(GEN): PRIVATE_HIDL := $(HIDL) 212 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 213 $(GEN): PRIVATE_CUSTOM_TOOL = \ 214 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 215 -Ljava-constants \ 216 -randroid.hardware:hardware/interfaces \ 217 -randroid.hidl:system/libhidl/transport \ 218 android.hardware.usb (a] 1.1 219 220 $(GEN): 221 $(transform-generated-source) 222 LOCAL_GENERATED_SOURCES += $(GEN) 223 # Avoid dependency cycle of framework.jar -> this-library -> framework.jar 224 LOCAL_NO_STANDARD_LIBRARIES := true 225 LOCAL_JAVA_LIBRARIES := core-oj 226 227 include $(BUILD_STATIC_JAVA_LIBRARY) 228 229 230 231 include $(call all-makefiles-under,$(LOCAL_PATH)) 232