2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2010-06-23 12:46:08 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2010-06-23 12:46:08 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
2011-12-07 15:24:20 -08:00
|
|
|
VPATH = @srcdir@
|
2012-08-07 00:06:29 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2010-06-23 12:46:08 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
LIBRARY_NAME = dom_indexeddb_s
|
|
|
|
XPIDL_MODULE = dom_indexeddb
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/indexedDB
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
AsyncConnectionHelper.cpp \
|
2010-09-09 15:15:40 -07:00
|
|
|
CheckPermissionsHelper.cpp \
|
|
|
|
CheckQuotaHelper.cpp \
|
2010-06-23 12:46:08 -07:00
|
|
|
DatabaseInfo.cpp \
|
2011-12-15 23:34:24 -08:00
|
|
|
FileInfo.cpp \
|
|
|
|
FileManager.cpp \
|
2012-06-03 09:33:52 -07:00
|
|
|
FileStream.cpp \
|
2010-06-28 11:51:06 -07:00
|
|
|
IDBCursor.cpp \
|
2010-06-28 09:46:49 -07:00
|
|
|
IDBDatabase.cpp \
|
2010-06-23 12:46:08 -07:00
|
|
|
IDBEvents.cpp \
|
2012-01-24 02:03:37 -08:00
|
|
|
IDBFactory.cpp \
|
2012-06-03 09:33:52 -07:00
|
|
|
IDBFileHandle.cpp \
|
2010-06-28 11:51:06 -07:00
|
|
|
IDBIndex.cpp \
|
2010-06-23 12:46:08 -07:00
|
|
|
IDBKeyRange.cpp \
|
2010-06-28 11:51:06 -07:00
|
|
|
IDBObjectStore.cpp \
|
2010-06-23 12:46:08 -07:00
|
|
|
IDBRequest.cpp \
|
2010-06-28 09:46:21 -07:00
|
|
|
IDBTransaction.cpp \
|
2012-01-24 02:03:37 -08:00
|
|
|
IDBWrapperCache.cpp \
|
2010-09-10 12:12:11 -07:00
|
|
|
IndexedDatabaseManager.cpp \
|
2012-01-24 02:03:37 -08:00
|
|
|
Key.cpp \
|
2012-06-21 15:27:13 -07:00
|
|
|
KeyPath.cpp \
|
2011-10-20 09:10:56 -07:00
|
|
|
OpenDatabaseHelper.cpp \
|
2010-06-23 12:46:08 -07:00
|
|
|
TransactionThreadPool.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_mozilla/dom/indexedDB = \
|
2012-06-01 10:21:12 -07:00
|
|
|
DatabaseInfo.h \
|
2010-06-28 11:51:06 -07:00
|
|
|
IDBCursor.h \
|
2010-06-28 09:46:49 -07:00
|
|
|
IDBDatabase.h \
|
2010-06-23 12:46:08 -07:00
|
|
|
IDBEvents.h \
|
2012-06-03 09:33:52 -07:00
|
|
|
IDBFactory.h \
|
|
|
|
IDBFileHandle.h \
|
2010-06-28 11:51:06 -07:00
|
|
|
IDBIndex.h \
|
2010-06-23 12:46:08 -07:00
|
|
|
IDBKeyRange.h \
|
2010-06-28 11:51:06 -07:00
|
|
|
IDBObjectStore.h \
|
2010-06-23 12:46:08 -07:00
|
|
|
IDBRequest.h \
|
2010-06-28 09:46:21 -07:00
|
|
|
IDBTransaction.h \
|
2012-01-24 02:03:37 -08:00
|
|
|
IDBWrapperCache.h \
|
2010-06-23 12:46:08 -07:00
|
|
|
IndexedDatabase.h \
|
2010-09-10 12:12:11 -07:00
|
|
|
IndexedDatabaseManager.h \
|
2010-11-10 15:26:00 -08:00
|
|
|
Key.h \
|
2012-06-21 15:27:13 -07:00
|
|
|
KeyPath.h \
|
2011-12-15 23:34:24 -08:00
|
|
|
FileManager.h \
|
|
|
|
FileInfo.h \
|
2010-06-23 12:46:08 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
2011-12-15 23:34:24 -08:00
|
|
|
-I$(topsrcdir)/db/sqlite3/src \
|
2010-10-19 10:58:33 -07:00
|
|
|
-I$(topsrcdir)/xpcom/build \
|
2010-06-23 12:46:08 -07:00
|
|
|
-I$(topsrcdir)/dom/base \
|
2010-09-09 15:15:40 -07:00
|
|
|
-I$(topsrcdir)/dom/src/storage \
|
2010-06-23 12:46:08 -07:00
|
|
|
-I$(topsrcdir)/content/base/src \
|
|
|
|
-I$(topsrcdir)/content/events/src \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|
|
|
|
|
|
|
|
# Make sure to quickstub as much as possible here! See
|
2011-10-14 10:52:47 -07:00
|
|
|
# js/xpconnect/src/dom_quickstubs.qsconf.
|
2010-06-23 12:46:08 -07:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIIDBCursor.idl \
|
2011-02-10 23:47:00 -08:00
|
|
|
nsIIDBCursorWithValue.idl \
|
2010-06-23 12:46:08 -07:00
|
|
|
nsIIDBDatabase.idl \
|
2010-10-19 10:58:52 -07:00
|
|
|
nsIIDBFactory.idl \
|
2012-06-03 09:33:52 -07:00
|
|
|
nsIIDBFileHandle.idl \
|
2010-06-23 12:46:08 -07:00
|
|
|
nsIIDBIndex.idl \
|
|
|
|
nsIIDBKeyRange.idl \
|
|
|
|
nsIIDBObjectStore.idl \
|
|
|
|
nsIIDBRequest.idl \
|
|
|
|
nsIIDBTransaction.idl \
|
2010-10-19 10:58:52 -07:00
|
|
|
nsIIDBVersionChangeEvent.idl \
|
2011-10-20 09:10:56 -07:00
|
|
|
nsIIDBOpenDBRequest.idl \
|
2010-09-10 12:12:11 -07:00
|
|
|
nsIIndexedDatabaseManager.idl \
|
2012-06-03 09:33:52 -07:00
|
|
|
nsIStandardFileStream.idl \
|
2010-06-23 12:46:08 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2012-06-01 10:21:12 -07:00
|
|
|
DIRS += ipc
|
2012-02-04 09:32:24 -08:00
|
|
|
TEST_DIRS += test
|
2010-06-23 12:46:08 -07:00
|
|
|
|
2011-04-29 16:46:20 -07:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2010-06-23 12:46:08 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-08-24 13:01:30 -07:00
|
|
|
|
|
|
|
XPIDL_FLAGS += \
|
2012-09-11 04:47:42 -07:00
|
|
|
-I$(topsrcdir)/dom/interfaces/base \
|
2012-08-24 13:01:30 -07:00
|
|
|
-I$(topsrcdir)/dom/interfaces/events \
|
|
|
|
$(NULL)
|