| 
									
										
										
										
											2014-07-15 18:57:48 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | LOCAL_PATH:= $(call my-dir) | 
					
						
							|  |  |  | include $(CLEAR_VARS) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # If using SEE, uncomment the following:
 | 
					
						
							|  |  |  | # LOCAL_CFLAGS += -DSQLITE_HAS_CODEC
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-05 07:48:01 +01:00
										 |  |  | # This is important - it causes SQLite to use memory for temp files. Since 
 | 
					
						
							|  |  |  | # Android has no globally writable temp directory, if this is not defined the
 | 
					
						
							|  |  |  | # application throws an exception when it tries to create a temp file.
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | LOCAL_CFLAGS += -DSQLITE_TEMP_STORE=3 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-15 18:57:48 -05:00
										 |  |  | LOCAL_CFLAGS += -DHAVE_CONFIG_H -DKHTML_NO_EXCEPTIONS -DGKWQ_NO_JAVA | 
					
						
							|  |  |  | LOCAL_CFLAGS += -DNO_SUPPORT_JS_BINDING -DQT_NO_WHEELEVENT -DKHTML_NO_XBL | 
					
						
							|  |  |  | LOCAL_CFLAGS += -U__APPLE__ | 
					
						
							| 
									
										
										
										
											2016-04-05 07:48:01 +01:00
										 |  |  | LOCAL_CFLAGS += -DHAVE_STRCHRNUL=0 | 
					
						
							| 
									
										
										
										
											2014-07-15 18:57:48 -05:00
										 |  |  | LOCAL_CFLAGS += -Wno-unused-parameter -Wno-int-to-pointer-cast | 
					
						
							|  |  |  | LOCAL_CFLAGS += -Wno-maybe-uninitialized -Wno-parentheses | 
					
						
							|  |  |  | LOCAL_CPPFLAGS += -Wno-conversion-null | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ifeq ($(TARGET_ARCH), arm) | 
					
						
							|  |  |  | 	LOCAL_CFLAGS += -DPACKED="__attribute__ ((packed))" | 
					
						
							|  |  |  | else | 
					
						
							|  |  |  | 	LOCAL_CFLAGS += -DPACKED="" | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | LOCAL_SRC_FILES:=                             \
 | 
					
						
							|  |  |  | 	android_database_SQLiteCommon.cpp     \
 | 
					
						
							|  |  |  | 	android_database_SQLiteConnection.cpp \
 | 
					
						
							|  |  |  | 	android_database_SQLiteGlobal.cpp     \
 | 
					
						
							|  |  |  | 	android_database_SQLiteDebug.cpp      \
 | 
					
						
							|  |  |  | 	JNIHelp.cpp JniConstants.cpp | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | LOCAL_SRC_FILES += sqlite3.c | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/nativehelper/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | LOCAL_MODULE:= libsqliteX | 
					
						
							| 
									
										
										
										
											2016-04-05 07:48:01 +01:00
										 |  |  | LOCAL_LDLIBS += -ldl -llog  | 
					
						
							| 
									
										
										
										
											2014-07-15 18:57:48 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | include $(BUILD_SHARED_LIBRARY) | 
					
						
							| 
									
										
										
										
											2016-04-05 07:48:01 +01:00
										 |  |  | 
 |