summaryrefslogtreecommitdiff
path: root/libshims
diff options
context:
space:
mode:
Diffstat (limited to 'libshims')
-rw-r--r--libshims/Android.bp17
-rw-r--r--libshims/miwatermark.cpp10
2 files changed, 27 insertions, 0 deletions
diff --git a/libshims/Android.bp b/libshims/Android.bp
new file mode 100644
index 0000000..a1f2c0d
--- /dev/null
+++ b/libshims/Android.bp
@@ -0,0 +1,17 @@
+/* libMiWatermark */
+cc_library_shared {
+ name: "libMiWatermark_shim",
+ proprietary: true,
+ defaults: ["hidl_defaults"],
+ srcs: [
+ "miwatermark.cpp",
+ ],
+ cflags: [
+ "-Werror",
+ "-Wextra",
+ "-Wall",
+ ],
+ shared_libs: [
+ "libutils",
+ ],
+}
diff --git a/libshims/miwatermark.cpp b/libshims/miwatermark.cpp
new file mode 100644
index 0000000..b2daf37
--- /dev/null
+++ b/libshims/miwatermark.cpp
@@ -0,0 +1,10 @@
+#include <stdint.h>
+
+namespace android {
+ extern "C" void miwatermark_age() {}
+ extern "C" void miwatermark_deinit() {}
+ extern "C" void miwatermark_dualcamera() {}
+ extern "C" void miwatermark_init() {}
+ extern "C" void miwatermark_score() {}
+ extern "C" void miwatermark_time() {}
+}