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.bluetooth-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 types.hal (Status) 21 # 22 GEN := $(intermediates)/android/hardware/bluetooth/V1_0/Status.java 23 $(GEN): $(HIDL) 24 $(GEN): PRIVATE_HIDL := $(HIDL) 25 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.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.bluetooth (a] 1.0::types.Status 33 34 $(GEN): $(LOCAL_PATH)/types.hal 35 $(transform-generated-source) 36 LOCAL_GENERATED_SOURCES += $(GEN) 37 38 # 39 # Build IBluetoothHci.hal 40 # 41 GEN := $(intermediates)/android/hardware/bluetooth/V1_0/IBluetoothHci.java 42 $(GEN): $(HIDL) 43 $(GEN): PRIVATE_HIDL := $(HIDL) 44 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IBluetoothHci.hal 45 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IBluetoothHciCallbacks.hal 46 $(GEN): $(LOCAL_PATH)/IBluetoothHciCallbacks.hal 47 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 48 $(GEN): $(LOCAL_PATH)/types.hal 49 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 50 $(GEN): PRIVATE_CUSTOM_TOOL = \ 51 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 52 -Ljava \ 53 -randroid.hardware:hardware/interfaces \ 54 -randroid.hidl:system/libhidl/transport \ 55 android.hardware.bluetooth (a] 1.0::IBluetoothHci 56 57 $(GEN): $(LOCAL_PATH)/IBluetoothHci.hal 58 $(transform-generated-source) 59 LOCAL_GENERATED_SOURCES += $(GEN) 60 61 # 62 # Build IBluetoothHciCallbacks.hal 63 # 64 GEN := $(intermediates)/android/hardware/bluetooth/V1_0/IBluetoothHciCallbacks.java 65 $(GEN): $(HIDL) 66 $(GEN): PRIVATE_HIDL := $(HIDL) 67 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IBluetoothHciCallbacks.hal 68 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 69 $(GEN): $(LOCAL_PATH)/types.hal 70 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 71 $(GEN): PRIVATE_CUSTOM_TOOL = \ 72 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 73 -Ljava \ 74 -randroid.hardware:hardware/interfaces \ 75 -randroid.hidl:system/libhidl/transport \ 76 android.hardware.bluetooth (a] 1.0::IBluetoothHciCallbacks 77 78 $(GEN): $(LOCAL_PATH)/IBluetoothHciCallbacks.hal 79 $(transform-generated-source) 80 LOCAL_GENERATED_SOURCES += $(GEN) 81 include $(BUILD_JAVA_LIBRARY) 82 83 84 ################################################################################ 85 86 include $(CLEAR_VARS) 87 LOCAL_MODULE := android.hardware.bluetooth-V1.0-java-static 88 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 89 90 intermediates := $(call local-generated-sources-dir, COMMON) 91 92 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 93 94 LOCAL_STATIC_JAVA_LIBRARIES := \ 95 android.hidl.base-V1.0-java-static \ 96 97 98 # 99 # Build types.hal (Status) 100 # 101 GEN := $(intermediates)/android/hardware/bluetooth/V1_0/Status.java 102 $(GEN): $(HIDL) 103 $(GEN): PRIVATE_HIDL := $(HIDL) 104 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 105 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 106 $(GEN): PRIVATE_CUSTOM_TOOL = \ 107 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 108 -Ljava \ 109 -randroid.hardware:hardware/interfaces \ 110 -randroid.hidl:system/libhidl/transport \ 111 android.hardware.bluetooth (a] 1.0::types.Status 112 113 $(GEN): $(LOCAL_PATH)/types.hal 114 $(transform-generated-source) 115 LOCAL_GENERATED_SOURCES += $(GEN) 116 117 # 118 # Build IBluetoothHci.hal 119 # 120 GEN := $(intermediates)/android/hardware/bluetooth/V1_0/IBluetoothHci.java 121 $(GEN): $(HIDL) 122 $(GEN): PRIVATE_HIDL := $(HIDL) 123 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IBluetoothHci.hal 124 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IBluetoothHciCallbacks.hal 125 $(GEN): $(LOCAL_PATH)/IBluetoothHciCallbacks.hal 126 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 127 $(GEN): $(LOCAL_PATH)/types.hal 128 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 129 $(GEN): PRIVATE_CUSTOM_TOOL = \ 130 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 131 -Ljava \ 132 -randroid.hardware:hardware/interfaces \ 133 -randroid.hidl:system/libhidl/transport \ 134 android.hardware.bluetooth (a] 1.0::IBluetoothHci 135 136 $(GEN): $(LOCAL_PATH)/IBluetoothHci.hal 137 $(transform-generated-source) 138 LOCAL_GENERATED_SOURCES += $(GEN) 139 140 # 141 # Build IBluetoothHciCallbacks.hal 142 # 143 GEN := $(intermediates)/android/hardware/bluetooth/V1_0/IBluetoothHciCallbacks.java 144 $(GEN): $(HIDL) 145 $(GEN): PRIVATE_HIDL := $(HIDL) 146 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IBluetoothHciCallbacks.hal 147 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 148 $(GEN): $(LOCAL_PATH)/types.hal 149 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 150 $(GEN): PRIVATE_CUSTOM_TOOL = \ 151 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 152 -Ljava \ 153 -randroid.hardware:hardware/interfaces \ 154 -randroid.hidl:system/libhidl/transport \ 155 android.hardware.bluetooth (a] 1.0::IBluetoothHciCallbacks 156 157 $(GEN): $(LOCAL_PATH)/IBluetoothHciCallbacks.hal 158 $(transform-generated-source) 159 LOCAL_GENERATED_SOURCES += $(GEN) 160 include $(BUILD_STATIC_JAVA_LIBRARY) 161 162 163 164 include $(call all-makefiles-under,$(LOCAL_PATH)) 165