gecko-dev/dom/indexedDB/moz.build

83 строки
1.8 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']
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',
]