michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: DIRS += ['ipc'] michael@0: TEST_DIRS += ['test'] michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIIndexedDatabaseManager.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'dom_indexeddb' michael@0: michael@0: EXPORTS.mozilla.dom.indexedDB += [ michael@0: 'Client.h', michael@0: 'DatabaseInfo.h', michael@0: 'FileInfo.h', michael@0: 'FileManager.h', michael@0: 'IDBCursor.h', michael@0: 'IDBDatabase.h', michael@0: 'IDBEvents.h', michael@0: 'IDBFactory.h', michael@0: 'IDBFileHandle.h', michael@0: 'IDBIndex.h', michael@0: 'IDBKeyRange.h', michael@0: 'IDBObjectStore.h', michael@0: 'IDBRequest.h', michael@0: 'IDBTransaction.h', michael@0: 'IDBWrapperCache.h', michael@0: 'IndexedDatabase.h', michael@0: 'IndexedDatabaseManager.h', michael@0: 'Key.h', michael@0: 'KeyPath.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'AsyncConnectionHelper.cpp', michael@0: 'CheckPermissionsHelper.cpp', michael@0: 'Client.cpp', michael@0: 'DatabaseInfo.cpp', michael@0: 'FileInfo.cpp', michael@0: 'FileManager.cpp', michael@0: 'IDBDatabase.cpp', michael@0: 'IDBEvents.cpp', michael@0: 'IDBFactory.cpp', michael@0: 'IDBFileHandle.cpp', michael@0: 'IDBKeyRange.cpp', michael@0: 'IDBRequest.cpp', michael@0: 'IDBTransaction.cpp', michael@0: 'IDBWrapperCache.cpp', michael@0: 'IndexedDatabaseManager.cpp', michael@0: 'Key.cpp', michael@0: 'KeyPath.cpp', michael@0: 'OpenDatabaseHelper.cpp', michael@0: 'TransactionThreadPool.cpp', michael@0: ] michael@0: michael@0: # These files cannot be built in unified mode because of name collisions michael@0: SOURCES += [ michael@0: 'IDBCursor.cpp', michael@0: 'IDBIndex.cpp', michael@0: 'IDBObjectStore.cpp', michael@0: 'ReportInternalError.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: LOCAL_INCLUDES += [ michael@0: '/caps/include', michael@0: '/content/base/src', michael@0: '/db/sqlite3/src', michael@0: '/dom/base', michael@0: '/dom/quota', michael@0: '/dom/src/storage', michael@0: '/xpcom/build', michael@0: ] michael@0: