sanders: Move HIDL shims to vendor
Nothing uses these in system. No need to keep them there also address denials (thanks to @joojoobee666) Change-Id: Ia09e6611f801a79fa9ac04c60425397eada383ec
This commit is contained in:
committed by
Keertesh
parent
b8831c9162
commit
9d3b8a1e30
37
libhidl/Android.mk
Normal file
37
libhidl/Android.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
#
|
||||
# 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
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
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
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
@@ -6,3 +6,6 @@ allow system_server rild:binder transfer;
|
||||
allow system_server sysfs_capsense:dir search;
|
||||
allow system_server sysfs_capsense:file rw_file_perms;
|
||||
|
||||
allow system_server vendor_file:file { getattr open read execute };
|
||||
|
||||
get_prop(system_server, alarm_boot_prop)
|
||||
|
||||
Reference in New Issue
Block a user