Skip to content

Commit 7d1a45b

Browse files
committed
[sqlite] Add sqlite library
Add sqlite lib and header file Modify mk Signed-off-by: hyunil park <[email protected]>
1 parent dd9e8b1 commit 7d1a45b

File tree

8 files changed

+14351
-1
lines changed

8 files changed

+14351
-1
lines changed

daemon/mlops-agent-android.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#include "log.h"
1616
#include "mlops-agent-interface.h"
1717
#include "mlops-agent-internal.h"
18+
#include "../libsqliteX/include/sqlite3.h"
19+
#include "../libsqliteX/include/sqlite3ext.h"
1820

1921
/**
2022
* @brief An interface exported for setting the description of a pipeline.

jni/mlops-agent.mk

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@ ifndef MLOPS_AGENT_ROOT
22
$(error MLOPS_AGENT_ROOT is not defined!)
33
endif
44

5+
include $(CLEAR_VARS)
6+
LOCAL_MODULE := sqliteX
7+
LOCAL_SRC_FILES := $(MLOPS_AGENT_ROOT)/libsqliteX/$(TARGET_ARCH_ABI)/libsqliteX.so
8+
LOCAL_EXPORT_C_INCLUDES := $(MLOPS_AGENT_ROOT)/libsqliteX/include
9+
include $(PREBUILT_SHARED_LIBRARY)
10+
511
# mlops agent headers
12+
LOCAL_MODULE :=ml-agent
613
MLOPS_AGENT_INCLUDE := $(MLOPS_AGENT_ROOT)/daemon/include
7-
814
# mlops agent sources
915
MLOPS_AGENT_SRCS := $(MLOPS_AGENT_ROOT)/daemon/mlops-agent-android.c
16+
LOCAL_SHARED_LIBRARIES := sqliteX
17+
include $(BUILD_SHARED_LIBRARY)
18+

libsqliteX/arm64-v8a/libsqliteX.so

1.86 MB
Binary file not shown.

libsqliteX/armeabi-v7a/libsqliteX.so

945 KB
Binary file not shown.

0 commit comments

Comments
 (0)