From 103f8c68ff04e04a8b6de1c97dfb520f9286b692 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Thu, 7 Dec 2017 22:15:14 +0800 Subject: wayne: Build dummy android.hidl.[base,manager]@1.0 Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c --- device.mk | 5 +++++ libhidl/Android.mk | 28 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 libhidl/Android.mk diff --git a/device.mk b/device.mk index 2b00a2b..6f02f8d 100644 --- a/device.mk +++ b/device.mk @@ -122,6 +122,11 @@ endif #BOARD_HAVE_QCOM_FM DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml DEVICE_MATRIX_FILE := device/qcom/common/compatibility_matrix.xml +# HIDL +PRODUCT_PACKAGES += \ + android.hidl.base@1.0 \ + android.hidl.manager@1.0 + # Audio configuration file -include $(TOPDIR)hardware/qcom/audio/configs/sdm660/sdm660.mk diff --git a/libhidl/Android.mk b/libhidl/Android.mk new file mode 100644 index 0000000..428655c --- /dev/null +++ b/libhidl/Android.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2017 The LineageOS Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +include $(CLEAR_VARS) +LOCAL_SHARED_LIBRARIES := libhidltransport +LOCAL_MODULE := android.hidl.base@1.0 +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +include $(BUILD_SHARED_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_SHARED_LIBRARIES := libhidltransport +LOCAL_MODULE := android.hidl.manager@1.0 +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +include $(BUILD_SHARED_LIBRARY) -- cgit v1.2.3