summaryrefslogtreecommitdiffstats
path: root/db/sqlite3/src
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-25 12:28:41 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-25 12:28:41 -0500
commit20f0905b33cbb18d1caa80c55e2f552c2e18957b (patch)
tree441e58336c075be4258d4a9062c6b5ef9d06b67d /db/sqlite3/src
parent8e09aff1879513ba2fb935bd867d0f13efa93ed0 (diff)
downloadUXP-20f0905b33cbb18d1caa80c55e2f552c2e18957b.tar
UXP-20f0905b33cbb18d1caa80c55e2f552c2e18957b.tar.gz
UXP-20f0905b33cbb18d1caa80c55e2f552c2e18957b.tar.lz
UXP-20f0905b33cbb18d1caa80c55e2f552c2e18957b.tar.xz
UXP-20f0905b33cbb18d1caa80c55e2f552c2e18957b.zip
Issue #1053 - Remove android support from db
Diffstat (limited to 'db/sqlite3/src')
-rw-r--r--db/sqlite3/src/moz.build9
1 files changed, 1 insertions, 8 deletions
diff --git a/db/sqlite3/src/moz.build b/db/sqlite3/src/moz.build
index 70a5f456a..eba8633b5 100644
--- a/db/sqlite3/src/moz.build
+++ b/db/sqlite3/src/moz.build
@@ -63,10 +63,6 @@ if CONFIG['MOZ_DEBUG']:
DEFINES['SQLITE_DEBUG'] = 1
DEFINES['SQLITE_ENABLE_API_ARMOR'] = True
-if CONFIG['OS_TARGET'] == 'Android':
- # default to user readable only to fit Android security model
- DEFINES['SQLITE_DEFAULT_FILE_PERMISSIONS'] = '0600'
-
# Force using malloc_usable_size when building with jemalloc because _msize
# causes assertions on Win64. See bug 719579.
if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_MEMORY']:
@@ -82,10 +78,7 @@ DEFINES['SQLITE_OMIT_DECLTYPE'] = True
# performance and doesn't suffer from a full separate tmp partition.
# Exclude 32bit platforms due to address space fragmentation issues.
# System Sqlite is managed through a PRAGMA instead.
-if CONFIG['OS_TARGET'] == 'Android':
- # On Android there's no tmp partition, so always use a MEMORY temp store.
- DEFINES['SQLITE_TEMP_STORE'] = 3
-elif CONFIG['HAVE_64BIT_BUILD']:
+if CONFIG['HAVE_64BIT_BUILD']:
# On 64bit platforms default to a MEMORY temp store for performance.
DEFINES['SQLITE_TEMP_STORE'] = 2