Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | DIRS += ['ipc'] |
michael@0 | 8 | TEST_DIRS += ['test'] |
michael@0 | 9 | |
michael@0 | 10 | XPIDL_SOURCES += [ |
michael@0 | 11 | 'nsIIndexedDatabaseManager.idl', |
michael@0 | 12 | ] |
michael@0 | 13 | |
michael@0 | 14 | XPIDL_MODULE = 'dom_indexeddb' |
michael@0 | 15 | |
michael@0 | 16 | EXPORTS.mozilla.dom.indexedDB += [ |
michael@0 | 17 | 'Client.h', |
michael@0 | 18 | 'DatabaseInfo.h', |
michael@0 | 19 | 'FileInfo.h', |
michael@0 | 20 | 'FileManager.h', |
michael@0 | 21 | 'IDBCursor.h', |
michael@0 | 22 | 'IDBDatabase.h', |
michael@0 | 23 | 'IDBEvents.h', |
michael@0 | 24 | 'IDBFactory.h', |
michael@0 | 25 | 'IDBFileHandle.h', |
michael@0 | 26 | 'IDBIndex.h', |
michael@0 | 27 | 'IDBKeyRange.h', |
michael@0 | 28 | 'IDBObjectStore.h', |
michael@0 | 29 | 'IDBRequest.h', |
michael@0 | 30 | 'IDBTransaction.h', |
michael@0 | 31 | 'IDBWrapperCache.h', |
michael@0 | 32 | 'IndexedDatabase.h', |
michael@0 | 33 | 'IndexedDatabaseManager.h', |
michael@0 | 34 | 'Key.h', |
michael@0 | 35 | 'KeyPath.h', |
michael@0 | 36 | ] |
michael@0 | 37 | |
michael@0 | 38 | UNIFIED_SOURCES += [ |
michael@0 | 39 | 'AsyncConnectionHelper.cpp', |
michael@0 | 40 | 'CheckPermissionsHelper.cpp', |
michael@0 | 41 | 'Client.cpp', |
michael@0 | 42 | 'DatabaseInfo.cpp', |
michael@0 | 43 | 'FileInfo.cpp', |
michael@0 | 44 | 'FileManager.cpp', |
michael@0 | 45 | 'IDBDatabase.cpp', |
michael@0 | 46 | 'IDBEvents.cpp', |
michael@0 | 47 | 'IDBFactory.cpp', |
michael@0 | 48 | 'IDBFileHandle.cpp', |
michael@0 | 49 | 'IDBKeyRange.cpp', |
michael@0 | 50 | 'IDBRequest.cpp', |
michael@0 | 51 | 'IDBTransaction.cpp', |
michael@0 | 52 | 'IDBWrapperCache.cpp', |
michael@0 | 53 | 'IndexedDatabaseManager.cpp', |
michael@0 | 54 | 'Key.cpp', |
michael@0 | 55 | 'KeyPath.cpp', |
michael@0 | 56 | 'OpenDatabaseHelper.cpp', |
michael@0 | 57 | 'TransactionThreadPool.cpp', |
michael@0 | 58 | ] |
michael@0 | 59 | |
michael@0 | 60 | # These files cannot be built in unified mode because of name collisions |
michael@0 | 61 | SOURCES += [ |
michael@0 | 62 | 'IDBCursor.cpp', |
michael@0 | 63 | 'IDBIndex.cpp', |
michael@0 | 64 | 'IDBObjectStore.cpp', |
michael@0 | 65 | 'ReportInternalError.cpp', |
michael@0 | 66 | ] |
michael@0 | 67 | |
michael@0 | 68 | FAIL_ON_WARNINGS = True |
michael@0 | 69 | |
michael@0 | 70 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 71 | |
michael@0 | 72 | FINAL_LIBRARY = 'gklayout' |
michael@0 | 73 | LOCAL_INCLUDES += [ |
michael@0 | 74 | '/caps/include', |
michael@0 | 75 | '/content/base/src', |
michael@0 | 76 | '/db/sqlite3/src', |
michael@0 | 77 | '/dom/base', |
michael@0 | 78 | '/dom/quota', |
michael@0 | 79 | '/dom/src/storage', |
michael@0 | 80 | '/xpcom/build', |
michael@0 | 81 | ] |
michael@0 | 82 |