dom/indexedDB/moz.build

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

mercurial