dom/indexedDB/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/indexedDB/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,82 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +DIRS += ['ipc']
    1.11 +TEST_DIRS += ['test']
    1.12 +
    1.13 +XPIDL_SOURCES += [
    1.14 +    'nsIIndexedDatabaseManager.idl',
    1.15 +]
    1.16 +
    1.17 +XPIDL_MODULE = 'dom_indexeddb'
    1.18 +
    1.19 +EXPORTS.mozilla.dom.indexedDB += [
    1.20 +    'Client.h',
    1.21 +    'DatabaseInfo.h',
    1.22 +    'FileInfo.h',
    1.23 +    'FileManager.h',
    1.24 +    'IDBCursor.h',
    1.25 +    'IDBDatabase.h',
    1.26 +    'IDBEvents.h',
    1.27 +    'IDBFactory.h',
    1.28 +    'IDBFileHandle.h',
    1.29 +    'IDBIndex.h',
    1.30 +    'IDBKeyRange.h',
    1.31 +    'IDBObjectStore.h',
    1.32 +    'IDBRequest.h',
    1.33 +    'IDBTransaction.h',
    1.34 +    'IDBWrapperCache.h',
    1.35 +    'IndexedDatabase.h',
    1.36 +    'IndexedDatabaseManager.h',
    1.37 +    'Key.h',
    1.38 +    'KeyPath.h',
    1.39 +]
    1.40 +
    1.41 +UNIFIED_SOURCES += [
    1.42 +    'AsyncConnectionHelper.cpp',
    1.43 +    'CheckPermissionsHelper.cpp',
    1.44 +    'Client.cpp',
    1.45 +    'DatabaseInfo.cpp',
    1.46 +    'FileInfo.cpp',
    1.47 +    'FileManager.cpp',
    1.48 +    'IDBDatabase.cpp',
    1.49 +    'IDBEvents.cpp',
    1.50 +    'IDBFactory.cpp',
    1.51 +    'IDBFileHandle.cpp',
    1.52 +    'IDBKeyRange.cpp',
    1.53 +    'IDBRequest.cpp',
    1.54 +    'IDBTransaction.cpp',
    1.55 +    'IDBWrapperCache.cpp',
    1.56 +    'IndexedDatabaseManager.cpp',
    1.57 +    'Key.cpp',
    1.58 +    'KeyPath.cpp',
    1.59 +    'OpenDatabaseHelper.cpp',
    1.60 +    'TransactionThreadPool.cpp',
    1.61 +]
    1.62 +
    1.63 +# These files cannot be built in unified mode because of name collisions
    1.64 +SOURCES += [
    1.65 +    'IDBCursor.cpp',
    1.66 +    'IDBIndex.cpp',
    1.67 +    'IDBObjectStore.cpp',
    1.68 +    'ReportInternalError.cpp',
    1.69 +]
    1.70 +
    1.71 +FAIL_ON_WARNINGS = True
    1.72 +
    1.73 +include('/ipc/chromium/chromium-config.mozbuild')
    1.74 +
    1.75 +FINAL_LIBRARY = 'gklayout'
    1.76 +LOCAL_INCLUDES += [
    1.77 +    '/caps/include',
    1.78 +    '/content/base/src',
    1.79 +    '/db/sqlite3/src',
    1.80 +    '/dom/base',
    1.81 +    '/dom/quota',
    1.82 +    '/dom/src/storage',
    1.83 +    '/xpcom/build',
    1.84 +]
    1.85 +

mercurial