mirror of
https://github.com/LineageOS/android_device_xiaomi_whyred.git
synced 2025-10-03 17:59:24 +02:00
whyred: convert libhidl to mk
Needs to be covered by our device guard to not conflict with other devices Change-Id: I5d2bc1d934ed063f3af48c7dadbd18f66b92bde3
This commit is contained in:
parent
48f9465506
commit
cdb56c035e
3 changed files with 29 additions and 13 deletions
|
@ -1,3 +0,0 @@
|
||||||
subdirs = [
|
|
||||||
"libhidl",
|
|
||||||
]
|
|
|
@ -1,10 +0,0 @@
|
||||||
cc_library_shared {
|
|
||||||
name: "android.hidl.base@1.0",
|
|
||||||
vendor_available: true,
|
|
||||||
shared_libs: [
|
|
||||||
"libhidltransport",
|
|
||||||
],
|
|
||||||
export_shared_lib_headers: [
|
|
||||||
"libhidltransport",
|
|
||||||
],
|
|
||||||
}
|
|
29
libhidl/Android.mk
Normal file
29
libhidl/Android.mk
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#
|
||||||
|
# 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_SRC_FILES := \
|
||||||
|
|
||||||
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
|
libhidltransport
|
||||||
|
|
||||||
|
LOCAL_C_INCLUDES := \
|
||||||
|
|
||||||
|
LOCAL_MODULE := android.hidl.base@1.0
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
|
||||||
|
|
||||||
|
include $(BUILD_SHARED_LIBRARY)
|
Loading…
Add table
Add a link
Reference in a new issue