• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is autogenerated by hidl-gen. Do not edit manually.
2
3LOCAL_PATH := $(call my-dir)
4
5################################################################################
6
7include $(CLEAR_VARS)
8LOCAL_MODULE := tests.vendor-V1.1-java
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(call local-generated-sources-dir, COMMON)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14
15LOCAL_JAVA_LIBRARIES := \
16    android.hardware.tests.baz-V1.0-java \
17    android.hidl.base-V1.0-java \
18    tests.vendor-V1.0-java \
19
20
21#
22# Build IVendor.hal
23#
24GEN := $(intermediates)/tests/vendor/V1_1/IVendor.java
25$(GEN): $(HIDL)
26$(GEN): PRIVATE_HIDL := $(HIDL)
27$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVendor.hal
28$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
29$(GEN): PRIVATE_CUSTOM_TOOL = \
30        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
31        -Ljava \
32        -randroid.hardware:hardware/interfaces \
33        -randroid.hidl:system/libhidl/transport \
34        -rtests:system/tools/hidl/test/ \
35        tests.vendor@1.1::IVendor
36
37$(GEN): $(LOCAL_PATH)/IVendor.hal
38	$(transform-generated-source)
39LOCAL_GENERATED_SOURCES += $(GEN)
40include $(BUILD_JAVA_LIBRARY)
41
42
43################################################################################
44
45include $(CLEAR_VARS)
46LOCAL_MODULE := tests.vendor-V1.1-java-static
47LOCAL_MODULE_CLASS := JAVA_LIBRARIES
48
49intermediates := $(call local-generated-sources-dir, COMMON)
50
51HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
52
53LOCAL_STATIC_JAVA_LIBRARIES := \
54    android.hardware.tests.baz-V1.0-java-static \
55    android.hidl.base-V1.0-java-static \
56    tests.vendor-V1.0-java-static \
57
58
59#
60# Build IVendor.hal
61#
62GEN := $(intermediates)/tests/vendor/V1_1/IVendor.java
63$(GEN): $(HIDL)
64$(GEN): PRIVATE_HIDL := $(HIDL)
65$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVendor.hal
66$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
67$(GEN): PRIVATE_CUSTOM_TOOL = \
68        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
69        -Ljava \
70        -randroid.hardware:hardware/interfaces \
71        -randroid.hidl:system/libhidl/transport \
72        -rtests:system/tools/hidl/test/ \
73        tests.vendor@1.1::IVendor
74
75$(GEN): $(LOCAL_PATH)/IVendor.hal
76	$(transform-generated-source)
77LOCAL_GENERATED_SOURCES += $(GEN)
78include $(BUILD_STATIC_JAVA_LIBRARY)
79
80
81
82include $(call all-makefiles-under,$(LOCAL_PATH))
83