gecko-dev/dom/indexedDB/moz.build
Ms2ger d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00

90 lines
2.1 KiB
Python

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/extensions']
EXPORTS.mozilla.dom.indexedDB += [
'Client.h',
'DatabaseInfo.h',
'FileInfo.h',
'FileManager.h',
'FileSnapshot.h',
'IDBCursor.h',
'IDBDatabase.h',
'IDBEvents.h',
'IDBFactory.h',
'IDBFileHandle.h',
'IDBFileRequest.h',
'IDBIndex.h',
'IDBKeyRange.h',
'IDBMutableFile.h',
'IDBObjectStore.h',
'IDBRequest.h',
'IDBTransaction.h',
'IDBWrapperCache.h',
'IndexedDatabase.h',
'IndexedDatabaseManager.h',
'Key.h',
'KeyPath.h',
]
UNIFIED_SOURCES += [
'AsyncConnectionHelper.cpp',
'CheckPermissionsHelper.cpp',
'Client.cpp',
'DatabaseInfo.cpp',
'FileInfo.cpp',
'FileManager.cpp',
'FileSnapshot.cpp',
'IDBDatabase.cpp',
'IDBEvents.cpp',
'IDBFactory.cpp',
'IDBFileHandle.cpp',
'IDBFileRequest.cpp',
'IDBKeyRange.cpp',
'IDBMutableFile.cpp',
'IDBRequest.cpp',
'IDBTransaction.cpp',
'IDBWrapperCache.cpp',
'IndexedDatabaseManager.cpp',
'Key.cpp',
'KeyPath.cpp',
'OpenDatabaseHelper.cpp',
'TransactionThreadPool.cpp',
]
# These files cannot be built in unified mode because of name collisions
SOURCES += [
'IDBCursor.cpp',
'IDBIndex.cpp',
'IDBObjectStore.cpp',
'ReportInternalError.cpp',
]
FAIL_ON_WARNINGS = True
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'/caps',
'/content/base/src',
'/db/sqlite3/src',
'/dom/base',
'/dom/quota',
'/dom/src/storage',
'/xpcom/build',
]
MOCHITEST_MANIFESTS += [
'test/mochitest.ini',
'test/unit/mochitest.ini',
]
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']