Skip to content

Commit

Permalink
[sqlite] Add sqlite library
Browse files Browse the repository at this point in the history
Add sqlite lib and header file
Modify mk

Signed-off-by: hyunil park <[email protected]>
  • Loading branch information
songgot committed Jan 20, 2025
1 parent dd9e8b1 commit 7d1a45b
Show file tree
Hide file tree
Showing 8 changed files with 14,351 additions and 1 deletion.
2 changes: 2 additions & 0 deletions daemon/mlops-agent-android.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include "log.h"
#include "mlops-agent-interface.h"
#include "mlops-agent-internal.h"
#include "../libsqliteX/include/sqlite3.h"
#include "../libsqliteX/include/sqlite3ext.h"

/**
* @brief An interface exported for setting the description of a pipeline.
Expand Down
11 changes: 10 additions & 1 deletion jni/mlops-agent.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,17 @@ ifndef MLOPS_AGENT_ROOT
$(error MLOPS_AGENT_ROOT is not defined!)
endif

include $(CLEAR_VARS)
LOCAL_MODULE := sqliteX
LOCAL_SRC_FILES := $(MLOPS_AGENT_ROOT)/libsqliteX/$(TARGET_ARCH_ABI)/libsqliteX.so
LOCAL_EXPORT_C_INCLUDES := $(MLOPS_AGENT_ROOT)/libsqliteX/include
include $(PREBUILT_SHARED_LIBRARY)

# mlops agent headers
LOCAL_MODULE :=ml-agent
MLOPS_AGENT_INCLUDE := $(MLOPS_AGENT_ROOT)/daemon/include

# mlops agent sources
MLOPS_AGENT_SRCS := $(MLOPS_AGENT_ROOT)/daemon/mlops-agent-android.c
LOCAL_SHARED_LIBRARIES := sqliteX
include $(BUILD_SHARED_LIBRARY)

Binary file added libsqliteX/arm64-v8a/libsqliteX.so
Binary file not shown.
Binary file added libsqliteX/armeabi-v7a/libsqliteX.so
Binary file not shown.
Loading

0 comments on commit 7d1a45b

Please sign in to comment.