Issue #1342 - Remove support for system sqlite

This commit is contained in:
wolfbeast 2020-01-31 15:40:09 +01:00 • committed by Roy Tam
commit 7b237d9768
7 changed files with 10 additions and 191 deletions

View file

@ -50,7 +50,7 @@ public:
mMutex = aMutex;
}
#if !defined(DEBUG) || defined(MOZ_SYSTEM_SQLITE)
#if !defined(DEBUG)
/**
* Acquires the mutex.
*/

View file

@ -100,10 +100,6 @@ if CONFIG['MOZ_MEMORY']:
DEFINES['SQLITE_MAX_LIKE_PATTERN_LENGTH'] = 50000
# See Sqlite moz.build for reasoning about TEMP_STORE.
# For system sqlite we cannot use the compile time option, so we use a pragma.
if CONFIG['MOZ_SYSTEM_SQLITE'] and (CONFIG['OS_TARGET'] == 'Android'
or CONFIG['HAVE_64BIT_BUILD']):
DEFINES['MOZ_MEMORY_TEMP_STORE_PRAGMA'] = True
LOCAL_INCLUDES += [
'/db/sqlite3/src',