2010-06-23 12:46:08 -07:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Original Code is Indexed Database.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# The Mozilla Foundation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2010
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Shawn Wilsher <me@shawnwilsher.com>
|
|
|
|
# Ben Turner <bent.mozilla@gmail.com>
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
2011-12-07 15:24:20 -08:00
|
|
|
VPATH = @srcdir@
|
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 \
|
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 \
|
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 \
|
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 = \
|
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 \
|
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-06-28 09:44:30 -07:00
|
|
|
IDBFactory.h \
|
2010-11-10 15:26:00 -08:00
|
|
|
Key.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 \
|
|
|
|
nsIIDBDatabaseException.idl \
|
2010-10-19 10:58:52 -07:00
|
|
|
nsIIDBFactory.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 \
|
2010-06-23 12:46:08 -07:00
|
|
|
$(NULL)
|
|
|
|
|
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
|