2010-06-23 19:46:08 +00: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 23:24:20 +00:00
|
|
|
VPATH = @srcdir@
|
2010-06-23 19:46:08 +00: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 22:15:40 +00:00
|
|
|
CheckPermissionsHelper.cpp \
|
|
|
|
CheckQuotaHelper.cpp \
|
2010-06-23 19:46:08 +00:00
|
|
|
DatabaseInfo.cpp \
|
2011-12-16 07:34:24 +00:00
|
|
|
FileInfo.cpp \
|
|
|
|
FileManager.cpp \
|
2010-06-28 18:51:06 +00:00
|
|
|
IDBCursor.cpp \
|
2010-06-28 16:46:49 +00:00
|
|
|
IDBDatabase.cpp \
|
2010-06-23 19:46:08 +00:00
|
|
|
IDBEvents.cpp \
|
2012-01-24 10:03:37 +00:00
|
|
|
IDBFactory.cpp \
|
2010-06-28 18:51:06 +00:00
|
|
|
IDBIndex.cpp \
|
2010-06-23 19:46:08 +00:00
|
|
|
IDBKeyRange.cpp \
|
2010-06-28 18:51:06 +00:00
|
|
|
IDBObjectStore.cpp \
|
2010-06-23 19:46:08 +00:00
|
|
|
IDBRequest.cpp \
|
2010-06-28 16:46:21 +00:00
|
|
|
IDBTransaction.cpp \
|
2012-01-24 10:03:37 +00:00
|
|
|
IDBWrapperCache.cpp \
|
2010-09-10 19:12:11 +00:00
|
|
|
IndexedDatabaseManager.cpp \
|
2012-01-24 10:03:37 +00:00
|
|
|
Key.cpp \
|
2011-10-20 16:10:56 +00:00
|
|
|
OpenDatabaseHelper.cpp \
|
2010-06-23 19:46:08 +00:00
|
|
|
TransactionThreadPool.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_mozilla/dom/indexedDB = \
|
2010-06-28 18:51:06 +00:00
|
|
|
IDBCursor.h \
|
2010-06-28 16:46:49 +00:00
|
|
|
IDBDatabase.h \
|
2010-06-23 19:46:08 +00:00
|
|
|
IDBEvents.h \
|
2010-06-28 18:51:06 +00:00
|
|
|
IDBIndex.h \
|
2010-06-23 19:46:08 +00:00
|
|
|
IDBKeyRange.h \
|
2010-06-28 18:51:06 +00:00
|
|
|
IDBObjectStore.h \
|
2010-06-23 19:46:08 +00:00
|
|
|
IDBRequest.h \
|
2010-06-28 16:46:21 +00:00
|
|
|
IDBTransaction.h \
|
2012-01-24 10:03:37 +00:00
|
|
|
IDBWrapperCache.h \
|
2010-06-23 19:46:08 +00:00
|
|
|
IndexedDatabase.h \
|
2010-09-10 19:12:11 +00:00
|
|
|
IndexedDatabaseManager.h \
|
2010-06-28 16:44:30 +00:00
|
|
|
IDBFactory.h \
|
2010-11-10 23:26:00 +00:00
|
|
|
Key.h \
|
2011-12-16 07:34:24 +00:00
|
|
|
FileManager.h \
|
|
|
|
FileInfo.h \
|
2010-06-23 19:46:08 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
2011-12-16 07:34:24 +00:00
|
|
|
-I$(topsrcdir)/db/sqlite3/src \
|
2010-10-19 17:58:33 +00:00
|
|
|
-I$(topsrcdir)/xpcom/build \
|
2010-06-23 19:46:08 +00:00
|
|
|
-I$(topsrcdir)/dom/base \
|
2010-09-09 22:15:40 +00:00
|
|
|
-I$(topsrcdir)/dom/src/storage \
|
2010-06-23 19:46:08 +00: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 17:52:47 +00:00
|
|
|
# js/xpconnect/src/dom_quickstubs.qsconf.
|
2010-06-23 19:46:08 +00:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIIDBCursor.idl \
|
2011-02-11 07:47:00 +00:00
|
|
|
nsIIDBCursorWithValue.idl \
|
2010-06-23 19:46:08 +00:00
|
|
|
nsIIDBDatabase.idl \
|
|
|
|
nsIIDBDatabaseException.idl \
|
2010-10-19 17:58:52 +00:00
|
|
|
nsIIDBFactory.idl \
|
2010-06-23 19:46:08 +00:00
|
|
|
nsIIDBIndex.idl \
|
|
|
|
nsIIDBKeyRange.idl \
|
|
|
|
nsIIDBObjectStore.idl \
|
|
|
|
nsIIDBRequest.idl \
|
|
|
|
nsIIDBTransaction.idl \
|
2010-10-19 17:58:52 +00:00
|
|
|
nsIIDBVersionChangeEvent.idl \
|
2011-10-20 16:10:56 +00:00
|
|
|
nsIIDBOpenDBRequest.idl \
|
2010-09-10 19:12:11 +00:00
|
|
|
nsIIndexedDatabaseManager.idl \
|
2010-06-23 19:46:08 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2012-02-04 17:32:24 +00:00
|
|
|
TEST_DIRS += test
|
2010-06-23 19:46:08 +00:00
|
|
|
|
2011-04-29 23:46:20 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2010-06-23 19:46:08 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|