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