summaryrefslogtreecommitdiffstats
path: root/ir
diff options
context:
space:
mode:
authorSteven Moreland2017-08-10 17:14:53 -0500
committerSteven Moreland2017-08-10 18:43:46 -0500
commit6da35570df5711f14bc9dd8e5883d83e45e6c213 (patch)
tree5d6805eadfac8bb670a4c0e37dd84f39a446eafc /ir
parent3867cce26bd12a247b8b97ecd3344a383dcee2ae (diff)
downloadplatform-hardware-interfaces-6da35570df5711f14bc9dd8e5883d83e45e6c213.tar.gz
platform-hardware-interfaces-6da35570df5711f14bc9dd8e5883d83e45e6c213.tar.xz
platform-hardware-interfaces-6da35570df5711f14bc9dd8e5883d83e45e6c213.zip
Updating all makefiles.
Bug: 64487114 Test: none Change-Id: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Diffstat (limited to 'ir')
-rw-r--r--ir/1.0/Android.mk58
1 files changed, 0 insertions, 58 deletions
diff --git a/ir/1.0/Android.mk b/ir/1.0/Android.mk
index 96812df8..eca46f5a 100644
--- a/ir/1.0/Android.mk
+++ b/ir/1.0/Android.mk
@@ -60,63 +60,5 @@ LOCAL_GENERATED_SOURCES += $(GEN)
60include $(BUILD_JAVA_LIBRARY) 60include $(BUILD_JAVA_LIBRARY)
61 61
62 62
63################################################################################
64
65include $(CLEAR_VARS)
66LOCAL_MODULE := android.hardware.ir-V1.0-java-static
67LOCAL_MODULE_CLASS := JAVA_LIBRARIES
68
69intermediates := $(call local-generated-sources-dir, COMMON)
70
71HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
72
73LOCAL_STATIC_JAVA_LIBRARIES := \
74 android.hidl.base-V1.0-java-static \
75
76LOCAL_NO_STANDARD_LIBRARIES := true
77LOCAL_JAVA_LIBRARIES := core-oj hwbinder
78
79#
80# Build types.hal (ConsumerIrFreqRange)
81#
82GEN := $(intermediates)/android/hardware/ir/V1_0/ConsumerIrFreqRange.java
83$(GEN): $(HIDL)
84$(GEN): PRIVATE_HIDL := $(HIDL)
85$(GEN): PRIVATE_DEPS := $(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.ir@1.0::types.ConsumerIrFreqRange
93
94$(GEN): $(LOCAL_PATH)/types.hal
95 $(transform-generated-source)
96LOCAL_GENERATED_SOURCES += $(GEN)
97
98#
99# Build IConsumerIr.hal
100#
101GEN := $(intermediates)/android/hardware/ir/V1_0/IConsumerIr.java
102$(GEN): $(HIDL)
103$(GEN): PRIVATE_HIDL := $(HIDL)
104$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IConsumerIr.hal
105$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
106$(GEN): $(LOCAL_PATH)/types.hal
107$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
108$(GEN): PRIVATE_CUSTOM_TOOL = \
109 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
110 -Ljava \
111 -randroid.hardware:hardware/interfaces \
112 -randroid.hidl:system/libhidl/transport \
113 android.hardware.ir@1.0::IConsumerIr
114
115$(GEN): $(LOCAL_PATH)/IConsumerIr.hal
116 $(transform-generated-source)
117LOCAL_GENERATED_SOURCES += $(GEN)
118include $(BUILD_STATIC_JAVA_LIBRARY)
119
120
121 63
122include $(call all-makefiles-under,$(LOCAL_PATH)) 64include $(call all-makefiles-under,$(LOCAL_PATH))