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@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
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 \
|
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 \
|
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 \
|
2010-06-28 09:44:30 -07:00
|
|
|
IDBFactory.cpp \
|
2010-09-10 12:12:11 -07:00
|
|
|
IndexedDatabaseManager.cpp \
|
2010-06-23 12:46:08 -07:00
|
|
|
LazyIdleThread.cpp \
|
|
|
|
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 \
|
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 \
|
2010-06-23 12:46:08 -07:00
|
|
|
LazyIdleThread.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
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
|
|
|
|
# js/src/xpconnect/src/dom_quickstubs.qsconf.
|
|
|
|
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 \
|
|
|
|
nsIIDBVersionChangeRequest.idl \
|
2010-09-10 12:12:11 -07:00
|
|
|
nsIIndexedDatabaseManager.idl \
|
2010-06-23 12:46:08 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
DIRS += test
|
|
|
|
endif
|
|
|
|
|
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
|