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/.
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",
41 "IndexedDatabaseManager.h",
45 EXPORTS.mozilla.dom.indexedDB += [
51 "SerializationHelpers.h",
57 "ActorsParentCommon.cpp",
58 "DatabaseFileInfo.cpp",
70 "IndexedDatabase.cpp",
71 "IndexedDatabaseManager.cpp",
72 "IndexedDBCommon.cpp",
74 "ProfilerHelpers.cpp",
75 "ReportInternalError.cpp",
77 "ScriptErrorHelper.cpp",
81 "ActorsParent.cpp", # This file is huge.
82 "Key.cpp", # We disable a warning on this file only
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"]
111 "/third_party/sqlite3/src",
116 "nsIIDBPermissionsRequest.idl",
119 XPIDL_MODULE = "dom_indexeddb"