summaryrefslogtreecommitdiffstats
path: root/ir
diff options
context:
space:
mode:
authorSteven Moreland2017-08-04 14:33:23 -0500
committerandroid-build-merger2017-08-04 14:33:23 -0500
commit92a268afa35bd6d61c6b9da5b63409f1ee234653 (patch)
treeffc644ff7bb0bdf0443588b5d8d88f98f9631f2c /ir
parentb08d3972fae2af48fa8c688eceb690416748e46f (diff)
parent4e06dd1aa94fbbda0705c697a61aa877f123d7a0 (diff)
downloadplatform-hardware-interfaces-92a268afa35bd6d61c6b9da5b63409f1ee234653.tar.gz
platform-hardware-interfaces-92a268afa35bd6d61c6b9da5b63409f1ee234653.tar.xz
platform-hardware-interfaces-92a268afa35bd6d61c6b9da5b63409f1ee234653.zip
Merge changes from topic 'go-away-static-hidl-java' am: f4c58cd48c
am: 4e06dd1aa9 Change-Id: I3e381dd323532e4092fe836f18206e0d23a030d1
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))