SQLite Android Bindings
Check-in [efde9e0e44]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Define HAVE_USLEEP to avoid 1 second delays when sleep() is called
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:efde9e0e446adc7072db0f5c23bede8644ac2156
User & Date: pjw 2017-05-01 15:14:14
References
2017-05-01
16:10
Define HAVE_USLEEP to avoid 1 second delays when sleep() is called. Cherrypick of [efde9e0e44]. check-in: b8ff3a7d22 user: dan tags: api-level-9
Context
2017-05-02
19:54
Add a new test that uses AndroidJUnit4. And related gradle changes. check-in: 40f79eca30 user: dan tags: trunk
2017-05-01
15:14
Define HAVE_USLEEP to avoid 1 second delays when sleep() is called check-in: efde9e0e44 user: pjw tags: trunk
2017-04-29
09:24
Update the installation instructions to reflect the new support for API level 9. And that building the native libraries is now integrated with gradle. check-in: 985ad0e6f2 user: dan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to sqlite3/src/main/jni/sqlite/Android.mk.

1
2
3
4
5
6
7


8
9
10
11
12
13
14

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# If using SEE, uncomment the following:
# LOCAL_CFLAGS += -DSQLITE_HAS_CODEC




# Enable SQLite extensions.
LOCAL_CFLAGS += -DSQLITE_ENABLE_FTS5 
LOCAL_CFLAGS += -DSQLITE_ENABLE_RTREE
LOCAL_CFLAGS += -DSQLITE_ENABLE_JSON1
LOCAL_CFLAGS += -DSQLITE_ENABLE_FTS3








>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# If using SEE, uncomment the following:
# LOCAL_CFLAGS += -DSQLITE_HAS_CODEC

#Define HAVE_USLEEP, otherwise ALL sleep() calls take at least 1000ms
LOCAL_CFLAGS += -DHAVE_USLEEP=1

# Enable SQLite extensions.
LOCAL_CFLAGS += -DSQLITE_ENABLE_FTS5 
LOCAL_CFLAGS += -DSQLITE_ENABLE_RTREE
LOCAL_CFLAGS += -DSQLITE_ENABLE_JSON1
LOCAL_CFLAGS += -DSQLITE_ENABLE_FTS3