summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-12 23:34:34 +0200
committerSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-13 15:59:52 +0200
commit655521eaf3c7d059d83f926542ca4a9d2efba097 (patch)
treead38e4f9bc8ae2415c9d1bc17ca1285b8718ee9d
parent489604f087de4c54e50b52cbc1f710144fe1414c (diff)
sdm660-common: libshims: Move to Android.bp
Change-Id: Ic38ffa02b2e1dca5c842c738f4f1bcc978f8b5bd
-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)