sdm660-common: libhidl: Move to Android.bp

Change-Id: Ia046de0c051aa7533d602714c7d882a079973808
This commit is contained in:
Sebastiano Barezzi 2021-09-14 16:24:25 +08:00 committed by pix106
parent 2ba4aa0b65
commit 1607c907dd
3 changed files with 13 additions and 29 deletions

12
libhidl/Android.bp Normal file
View file

@ -0,0 +1,12 @@
//
// Copyright (C) 2021 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
cc_library_shared {
name: "android.hidl.base@1.0",
shared_libs: ["libhidlbase"],
system_ext_specific: true,
vendor_available: true,
}

View file

@ -1,28 +0,0 @@
#
# 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_MODULE := android.hidl.base@1.0
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := android.hidl.base@1.0_vendor
LOCAL_INSTALLED_MODULE_STEM := android.hidl.base@1.0.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)

View file

@ -277,7 +277,7 @@ PRODUCT_PACKAGES += \
# HIDL
PRODUCT_PACKAGES += \
android.hidl.base@1.0 \
android.hidl.base@1.0_vendor \
android.hidl.base@1.0.vendor \
libhidltransport \
libhidltransport.vendor \
libhwbinder \