Skip to content

Commit

Permalink
Make libsqlite as a submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroyuki Ikezoe committed May 2, 2014
1 parent 11a3e50 commit 21abb64
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "libsqlite"]
path = libsqlite
url = https://github.com/android-rooting-tools/android_libsqlite
3 changes: 3 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ LOCAL_SRC_FILES := \

LOCAL_MODULE := libdevice_database
LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES += $(LOCAL_PATH)/libsqlite

LOCAL_STATIC_LIBRARIES += libsqlite

include $(BUILD_STATIC_LIBRARY)

include $(LOCAL_PATH)/libsqlite/Android.mk
2 changes: 1 addition & 1 deletion device_database.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <sys/system_properties.h>
#include "../libsqlite/sqlite3.h"
#include "sqlite3.h"
#include "device_database.h"

#define ARRAY_SIZE(n) (sizeof (n) / sizeof (*(n)))
Expand Down
1 change: 1 addition & 0 deletions libsqlite
Submodule libsqlite added at 49e176

0 comments on commit 21abb64

Please sign in to comment.