summaryrefslogtreecommitdiff
path: root/libshims/Android.mk
diff options
context:
space:
mode:
authorErfan Abdi <erfangplus@gmail.com>2019-09-08 15:04:55 +0430
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commitee57f80147dfeb0a2c2a9724294ff01d20b740d3 (patch)
tree8a6c02dc42350f030d48e722c35db1b1ef2aefdb /libshims/Android.mk
parent5074fd792827b9f01c63da3a53fe29c0a9a21dc0 (diff)
sdm660-common: Make shim for libcamera.sdm660.so
P: GraphicBuffer::lock(uint32_t inUsage, void** vaddr); Q: GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride); Error: cannot locate symbol "_ZN7android13GraphicBuffer4lockEjPPv" referenced by "/vendor/lib/hw/camera.sdm660.so" Change-Id: I1c1fe66f3f73149ced601eae87b970ce392d50ee
Diffstat (limited to 'libshims/Android.mk')
-rw-r--r--libshims/Android.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/libshims/Android.mk b/libshims/Android.mk
new file mode 100644
index 0000000..ce2b87e
--- /dev/null
+++ b/libshims/Android.mk
@@ -0,0 +1,9 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := camera_sdm660_shim.cpp
+LOCAL_SHARED_LIBRARIES := libui libutils
+LOCAL_MODULE := libcamera_sdm660_shim
+LOCAL_MODULE_TAGS := optional
+LOCAL_PROPRIETARY_MODULE := true
+include $(BUILD_SHARED_LIBRARY)