summaryrefslogtreecommitdiff
path: root/libshims
diff options
context:
space:
mode:
Diffstat (limited to 'libshims')
-rw-r--r--libshims/Android.bp15
-rw-r--r--libshims/Android.mk9
2 files changed, 15 insertions, 9 deletions
diff --git a/libshims/Android.bp b/libshims/Android.bp
new file mode 100644
index 0000000..ee124d1
--- /dev/null
+++ b/libshims/Android.bp
@@ -0,0 +1,15 @@
+//
+// Copyright (C) 2021 The LineageOS Project
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+
+cc_library_shared {
+ name: "libcamera_sdm660_shim",
+ srcs: ["camera_sdm660_shim.cpp"],
+ shared_libs: [
+ "libui",
+ "libutils",
+ ],
+ vendor: true,
+}
diff --git a/libshims/Android.mk b/libshims/Android.mk
deleted file mode 100644
index ce2b87e..0000000
--- a/libshims/Android.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-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)