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/.
|
|
|
|
|
2014-07-26 10:17:24 +04:00
|
|
|
TEST_DIRS += ['test/extensions']
|
2013-03-12 21:17:46 +04:00
|
|
|
|
2014-09-27 03:21:57 +04:00
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
|
|
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
|
|
|
|
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
|
|
|
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
|
|
'test/unit/xpcshell-child-process.ini',
|
|
|
|
'test/unit/xpcshell-parent-process.ini'
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.dom.indexedDB += [
|
2014-09-27 03:21:57 +04:00
|
|
|
'ActorsParent.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'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',
|
2014-09-27 03:21:57 +04:00
|
|
|
'SerializationHelpers.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-12-09 09:31:48 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2014-09-27 03:21:57 +04:00
|
|
|
'ActorsChild.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'FileInfo.cpp',
|
2014-07-17 20:40:54 +04:00
|
|
|
'FileSnapshot.cpp',
|
2014-09-27 03:21:57 +04:00
|
|
|
'IDBCursor.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',
|
2014-09-27 03:21:57 +04:00
|
|
|
'IDBIndex.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'IDBKeyRange.cpp',
|
2014-06-12 07:35:29 +04:00
|
|
|
'IDBMutableFile.cpp',
|
2014-09-27 03:21:57 +04:00
|
|
|
'IDBObjectStore.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'IDBRequest.cpp',
|
|
|
|
'IDBTransaction.cpp',
|
|
|
|
'IDBWrapperCache.cpp',
|
|
|
|
'IndexedDatabaseManager.cpp',
|
|
|
|
'KeyPath.cpp',
|
2014-09-27 03:21:57 +04:00
|
|
|
'PermissionRequestBase.cpp',
|
|
|
|
'ReportInternalError.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-12-09 09:31:48 +04:00
|
|
|
SOURCES += [
|
2014-09-27 03:21:57 +04:00
|
|
|
'ActorsParent.cpp', # This file is huge.
|
2014-08-05 00:59:57 +04:00
|
|
|
'Key.cpp', # We disable a warning on this file only
|
2013-12-09 09:31:48 +04:00
|
|
|
]
|
|
|
|
|
2014-09-27 03:21:57 +04:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'PBackgroundIDBCursor.ipdl',
|
|
|
|
'PBackgroundIDBDatabase.ipdl',
|
|
|
|
'PBackgroundIDBDatabaseFile.ipdl',
|
|
|
|
'PBackgroundIDBFactory.ipdl',
|
|
|
|
'PBackgroundIDBFactoryRequest.ipdl',
|
|
|
|
'PBackgroundIDBRequest.ipdl',
|
|
|
|
'PBackgroundIDBSharedTypes.ipdlh',
|
|
|
|
'PBackgroundIDBTransaction.ipdl',
|
|
|
|
'PBackgroundIDBVersionChangeTransaction.ipdl',
|
|
|
|
'PIndexedDBPermissionRequest.ipdl',
|
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
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'
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2014-08-05 00:59:57 +04:00
|
|
|
if CONFIG['GNU_CC']:
|
|
|
|
# Suppress gcc warning about a comparison being always false due to the
|
|
|
|
# range of the data type
|
|
|
|
SOURCES['Key.cpp'].flags += ['-Wno-error=type-limits']
|
|
|
|
|
2013-11-11 12:04:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/db/sqlite3/src',
|
|
|
|
'/dom/base',
|
2014-08-31 08:43:46 +04:00
|
|
|
'/dom/storage',
|
2014-12-17 09:26:15 +03:00
|
|
|
'/dom/workers',
|
2014-09-27 03:21:57 +04:00
|
|
|
'/ipc/glue',
|
2013-11-11 12:04:11 +04:00
|
|
|
'/xpcom/build',
|
2015-05-05 08:56:47 +03:00
|
|
|
'/xpcom/threads',
|
2013-11-11 12:04:11 +04:00
|
|
|
]
|
2014-08-05 00:59:57 +04:00
|
|
|
|
|
|
|
if CONFIG['ENABLE_INTL_API']:
|
|
|
|
CXXFLAGS += CONFIG['MOZ_ICU_CFLAGS']
|