2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00: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 06:17:24 +00:00
|
|
|
TEST_DIRS += ['test/extensions']
|
2013-03-12 17:17:46 +00:00
|
|
|
|
2014-09-26 23:21:57 +00: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'
|
|
|
|
]
|
|
|
|
|
2014-07-20 21:29:54 +00:00
|
|
|
if CONFIG['ENABLE_INTL_API']:
|
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest-intl-api.ini']
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS.mozilla.dom.indexedDB += [
|
2014-09-26 23:21:57 +00:00
|
|
|
'ActorsParent.h',
|
2014-07-17 16:40:54 +00:00
|
|
|
'FileSnapshot.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'IDBCursor.h',
|
|
|
|
'IDBDatabase.h',
|
|
|
|
'IDBEvents.h',
|
|
|
|
'IDBFactory.h',
|
2014-07-17 16:40:54 +00:00
|
|
|
'IDBFileHandle.h',
|
|
|
|
'IDBFileRequest.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'IDBIndex.h',
|
|
|
|
'IDBKeyRange.h',
|
2014-06-12 03:35:29 +00:00
|
|
|
'IDBMutableFile.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'IDBObjectStore.h',
|
|
|
|
'IDBRequest.h',
|
|
|
|
'IDBTransaction.h',
|
|
|
|
'IDBWrapperCache.h',
|
|
|
|
'IndexedDatabase.h',
|
|
|
|
'IndexedDatabaseManager.h',
|
|
|
|
'Key.h',
|
|
|
|
'KeyPath.h',
|
2014-09-26 23:21:57 +00:00
|
|
|
'SerializationHelpers.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2013-12-09 05:31:48 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2014-09-26 23:21:57 +00:00
|
|
|
'ActorsChild.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'FileInfo.cpp',
|
2014-07-17 16:40:54 +00:00
|
|
|
'FileSnapshot.cpp',
|
2014-09-26 23:21:57 +00:00
|
|
|
'IDBCursor.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'IDBDatabase.cpp',
|
|
|
|
'IDBEvents.cpp',
|
|
|
|
'IDBFactory.cpp',
|
2014-07-17 16:40:54 +00:00
|
|
|
'IDBFileHandle.cpp',
|
|
|
|
'IDBFileRequest.cpp',
|
2014-09-26 23:21:57 +00:00
|
|
|
'IDBIndex.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'IDBKeyRange.cpp',
|
2014-06-12 03:35:29 +00:00
|
|
|
'IDBMutableFile.cpp',
|
2014-09-26 23:21:57 +00:00
|
|
|
'IDBObjectStore.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'IDBRequest.cpp',
|
|
|
|
'IDBTransaction.cpp',
|
|
|
|
'IDBWrapperCache.cpp',
|
|
|
|
'IndexedDatabaseManager.cpp',
|
|
|
|
'KeyPath.cpp',
|
2014-09-26 23:21:57 +00:00
|
|
|
'PermissionRequestBase.cpp',
|
|
|
|
'ReportInternalError.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2013-12-09 05:31:48 +00:00
|
|
|
SOURCES += [
|
2014-09-26 23:21:57 +00:00
|
|
|
'ActorsParent.cpp', # This file is huge.
|
2014-08-04 20:59:57 +00:00
|
|
|
'Key.cpp', # We disable a warning on this file only
|
2013-12-09 05:31:48 +00:00
|
|
|
]
|
|
|
|
|
2014-09-26 23:21:57 +00:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'PBackgroundIDBCursor.ipdl',
|
|
|
|
'PBackgroundIDBDatabase.ipdl',
|
|
|
|
'PBackgroundIDBDatabaseFile.ipdl',
|
2015-09-09 11:15:05 +00:00
|
|
|
'PBackgroundIDBDatabaseRequest.ipdl',
|
2014-09-26 23:21:57 +00:00
|
|
|
'PBackgroundIDBFactory.ipdl',
|
|
|
|
'PBackgroundIDBFactoryRequest.ipdl',
|
|
|
|
'PBackgroundIDBRequest.ipdl',
|
|
|
|
'PBackgroundIDBSharedTypes.ipdlh',
|
|
|
|
'PBackgroundIDBTransaction.ipdl',
|
|
|
|
'PBackgroundIDBVersionChangeTransaction.ipdl',
|
2015-11-22 09:44:33 +00:00
|
|
|
'PBackgroundIndexedDBUtils.ipdl',
|
2014-09-26 23:21:57 +00:00
|
|
|
'PIndexedDBPermissionRequest.ipdl',
|
|
|
|
]
|
2013-08-22 06:55:59 +00:00
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-09-26 23:21:57 +00:00
|
|
|
|
2014-08-04 20:59:57 +00: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 08:04:11 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/db/sqlite3/src',
|
|
|
|
'/dom/base',
|
2014-08-31 04:43:46 +00:00
|
|
|
'/dom/storage',
|
2014-12-17 06:26:15 +00:00
|
|
|
'/dom/workers',
|
2014-09-26 23:21:57 +00:00
|
|
|
'/ipc/glue',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/xpcom/build',
|
2015-05-05 05:56:47 +00:00
|
|
|
'/xpcom/threads',
|
2013-11-11 08:04:11 +00:00
|
|
|
]
|
2014-08-04 20:59:57 +00:00
|
|
|
|
|
|
|
if CONFIG['ENABLE_INTL_API']:
|
|
|
|
CXXFLAGS += CONFIG['MOZ_ICU_CFLAGS']
|
2015-12-02 09:40:50 +00:00
|
|
|
LOCAL_INCLUDES += CONFIG['MOZ_ICU_INCLUDES']
|