msm8976-common: camera: Add missing Fence destructor

* Our camera HAL depends on it.

Change-Id: Iedf3dae40e3f2beb284549f486b8721c69837cd0
This commit is contained in:
LuK1337 2018-08-15 15:48:09 +02:00
parent 4c3543572a
commit 04f4dfb4cd
4 changed files with 22 additions and 4 deletions

View File

@ -213,7 +213,7 @@ BOARD_SEPOLICY_DIRS += $(VENDOR_PATH)/sepolicy
# Shims
TARGET_LD_SHIM_LIBS := \
/system/lib/hw/camera.vendor.msm8952.so|libcamera_parameters_shim.so \
/system/lib/hw/camera.vendor.msm8952.so|libshims_camera.so \
/system/lib64/libsec-ril.so|libshims_rild_socket.so \
/system/vendor/lib64/libizat_core.so|libshims_get_process_name.so

View File

@ -37,9 +37,10 @@ include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
CameraParameters.cpp
CameraParameters.cpp \
Fence.cpp
LOCAL_MODULE := libcamera_parameters_shim
LOCAL_MODULE := libshims_camera
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_TAGS := optional

17
camera/Fence.cpp Normal file
View File

@ -0,0 +1,17 @@
/*
* Copyright (C) 2018 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.
*/
extern "C" void _ZN7android5FenceD1Ev() { }

View File

@ -121,7 +121,7 @@ PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl-legacy \
android.hardware.camera.provider@2.4-service \
camera.msm8952 \
libcamera_parameters_shim
libshims_camera
# DRM
PRODUCT_PACKAGES += \