no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / dom / indexedDB / moz.build
blob286f6d1d217f394176a0039d5951e55b7ed90f44
1 # -*- Mode: python; 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/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "Storage: IndexedDB")
10 MOCHITEST_MANIFESTS += [
11     "test/mochitest-intl-api.ini",
12     "test/mochitest-private.ini",
13     "test/mochitest-regular.ini",
16 BROWSER_CHROME_MANIFESTS += ["test/browser.toml"]
18 MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"]
20 XPCSHELL_TESTS_MANIFESTS += [
21     "test/unit/xpcshell-child-process.ini",
22     "test/unit/xpcshell-parent-process.ini",
25 TEST_DIRS += ["test/gtest"]
27 EXPORTS.mozilla.dom += [
28     "DatabaseFileInfoFwd.h",
29     "FlippedOnce.h",
30     "IDBCursor.h",
31     "IDBCursorType.h",
32     "IDBDatabase.h",
33     "IDBEvents.h",
34     "IDBFactory.h",
35     "IDBIndex.h",
36     "IDBKeyRange.h",
37     "IDBObjectStore.h",
38     "IDBRequest.h",
39     "IDBTransaction.h",
40     "IndexedDatabase.h",
41     "IndexedDatabaseManager.h",
42     "SafeRefPtr.h",
45 EXPORTS.mozilla.dom.indexedDB += [
46     "ActorsChild.h",
47     "ActorsParent.h",
48     "IDBResult.h",
49     "Key.h",
50     "KeyPath.h",
51     "SerializationHelpers.h",
52     "ThreadLocal.h",
55 UNIFIED_SOURCES += [
56     "ActorsChild.cpp",
57     "ActorsParentCommon.cpp",
58     "DatabaseFileInfo.cpp",
59     "DBSchema.cpp",
60     "IDBCursor.cpp",
61     "IDBCursorType.cpp",
62     "IDBDatabase.cpp",
63     "IDBEvents.cpp",
64     "IDBFactory.cpp",
65     "IDBIndex.cpp",
66     "IDBKeyRange.cpp",
67     "IDBObjectStore.cpp",
68     "IDBRequest.cpp",
69     "IDBTransaction.cpp",
70     "IndexedDatabase.cpp",
71     "IndexedDatabaseManager.cpp",
72     "IndexedDBCommon.cpp",
73     "KeyPath.cpp",
74     "ProfilerHelpers.cpp",
75     "ReportInternalError.cpp",
76     "SchemaUpgrades.cpp",
77     "ScriptErrorHelper.cpp",
80 SOURCES += [
81     "ActorsParent.cpp",  # This file is huge.
82     "Key.cpp",  # We disable a warning on this file only
85 IPDL_SOURCES += [
86     "PBackgroundIDBCursor.ipdl",
87     "PBackgroundIDBDatabase.ipdl",
88     "PBackgroundIDBDatabaseFile.ipdl",
89     "PBackgroundIDBFactory.ipdl",
90     "PBackgroundIDBFactoryRequest.ipdl",
91     "PBackgroundIDBRequest.ipdl",
92     "PBackgroundIDBSharedTypes.ipdlh",
93     "PBackgroundIDBTransaction.ipdl",
94     "PBackgroundIDBVersionChangeTransaction.ipdl",
95     "PBackgroundIndexedDBUtils.ipdl",
98 include("/ipc/chromium/chromium-config.mozbuild")
100 FINAL_LIBRARY = "xul"
102 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
103     # Suppress gcc warning about a comparison being always false due to the
104     # range of the data type
105     SOURCES["Key.cpp"].flags += ["-Wno-error=type-limits"]
107 LOCAL_INCLUDES += [
108     "/dom/base",
109     "/dom/storage",
110     "/ipc/glue",
111     "/third_party/sqlite3/src",
112     "/xpcom/build",
115 XPIDL_SOURCES += [
116     "nsIIDBPermissionsRequest.idl",
119 XPIDL_MODULE = "dom_indexeddb"