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