diff -r 000000000000 -r 6474c204b198 dom/indexedDB/moz.build --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/indexedDB/moz.build Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,82 @@ +# -*- 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'] + +XPIDL_SOURCES += [ + 'nsIIndexedDatabaseManager.idl', +] + +XPIDL_MODULE = 'dom_indexeddb' + +EXPORTS.mozilla.dom.indexedDB += [ + 'Client.h', + 'DatabaseInfo.h', + 'FileInfo.h', + 'FileManager.h', + 'IDBCursor.h', + 'IDBDatabase.h', + 'IDBEvents.h', + 'IDBFactory.h', + 'IDBFileHandle.h', + 'IDBIndex.h', + 'IDBKeyRange.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', + 'IDBDatabase.cpp', + 'IDBEvents.cpp', + 'IDBFactory.cpp', + 'IDBFileHandle.cpp', + 'IDBKeyRange.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 = 'gklayout' +LOCAL_INCLUDES += [ + '/caps/include', + '/content/base/src', + '/db/sqlite3/src', + '/dom/base', + '/dom/quota', + '/dom/src/storage', + '/xpcom/build', +] +