2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:20 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
|
|
|
DIRS += ['ipc']
|
|
|
|
TEST_DIRS += ['test']
|
2013-03-12 10:17:46 -07:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIIndexedDatabaseManager.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'dom_indexeddb'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla.dom.indexedDB += [
|
|
|
|
'Client.h',
|
|
|
|
'DatabaseInfo.h',
|
|
|
|
'FileInfo.h',
|
|
|
|
'FileManager.h',
|
|
|
|
'IDBCursor.h',
|
|
|
|
'IDBDatabase.h',
|
|
|
|
'IDBEvents.h',
|
|
|
|
'IDBFactory.h',
|
|
|
|
'IDBFileHandle.h',
|
|
|
|
'IDBIndex.h',
|
|
|
|
'IDBKeyRange.h',
|
|
|
|
'IDBObjectStore.h',
|
|
|
|
'IDBRequest.h',
|
|
|
|
'IDBTransaction.h',
|
|
|
|
'IDBWrapperCache.h',
|
|
|
|
'IndexedDatabase.h',
|
|
|
|
'IndexedDatabaseManager.h',
|
|
|
|
'Key.h',
|
|
|
|
'KeyPath.h',
|
|
|
|
]
|
|
|
|
|
2013-12-08 21:31:48 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'AsyncConnectionHelper.cpp',
|
|
|
|
'CheckPermissionsHelper.cpp',
|
|
|
|
'Client.cpp',
|
|
|
|
'DatabaseInfo.cpp',
|
|
|
|
'FileInfo.cpp',
|
|
|
|
'FileManager.cpp',
|
|
|
|
'IDBDatabase.cpp',
|
|
|
|
'IDBEvents.cpp',
|
|
|
|
'IDBFactory.cpp',
|
|
|
|
'IDBFileHandle.cpp',
|
|
|
|
'IDBKeyRange.cpp',
|
|
|
|
'IDBRequest.cpp',
|
|
|
|
'IDBTransaction.cpp',
|
|
|
|
'IDBWrapperCache.cpp',
|
|
|
|
'IndexedDatabaseManager.cpp',
|
|
|
|
'Key.cpp',
|
|
|
|
'KeyPath.cpp',
|
|
|
|
'OpenDatabaseHelper.cpp',
|
|
|
|
'TransactionThreadPool.cpp',
|
|
|
|
]
|
|
|
|
|
2013-12-08 21:31:48 -08:00
|
|
|
# These files cannot be built in unified mode because of name collisions
|
|
|
|
SOURCES += [
|
|
|
|
'IDBCursor.cpp',
|
|
|
|
'IDBIndex.cpp',
|
|
|
|
'IDBObjectStore.cpp',
|
2014-01-27 16:37:05 -08:00
|
|
|
'ReportInternalError.cpp',
|
2013-12-08 21:31:48 -08:00
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'gklayout'
|
2013-11-11 00:04:11 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/caps/include',
|
|
|
|
'/content/base/src',
|
|
|
|
'/db/sqlite3/src',
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/quota',
|
|
|
|
'/dom/src/storage',
|
|
|
|
'/xpcom/build',
|
|
|
|
]
|
|
|
|
|