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