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