2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2017-03-01 16:20:25 +03:00
|
|
|
with Files("**"):
|
2019-11-08 15:17:57 +03:00
|
|
|
BUG_COMPONENT = ("Core", "Storage: Quota Manager")
|
2017-03-01 16:20:25 +03:00
|
|
|
|
2020-05-08 12:49:52 +03:00
|
|
|
DIRS += ["test"]
|
2018-09-07 19:23:02 +03:00
|
|
|
|
2013-03-26 15:13:17 +04:00
|
|
|
XPIDL_SOURCES += [
|
2015-11-22 12:43:55 +03:00
|
|
|
"nsIQuotaCallbacks.idl",
|
|
|
|
"nsIQuotaManagerService.idl",
|
|
|
|
"nsIQuotaRequests.idl",
|
2017-03-22 14:13:38 +03:00
|
|
|
"nsIQuotaResults.idl",
|
2013-03-26 15:13:17 +04:00
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = "dom_quota"
|
|
|
|
|
2016-06-14 15:57:36 +03:00
|
|
|
EXPORTS.mozilla.dom += [
|
2021-05-25 10:28:19 +03:00
|
|
|
"QMResult.h",
|
2016-06-14 15:57:36 +03:00
|
|
|
"StorageManager.h",
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.dom.quota += [
|
2015-11-22 12:43:55 +03:00
|
|
|
"ActorsParent.h",
|
2021-01-26 12:19:44 +03:00
|
|
|
"CachingDatabaseConnection.h",
|
2019-04-09 17:41:57 +03:00
|
|
|
"CheckedUnsafePtr.h",
|
2020-06-11 11:00:39 +03:00
|
|
|
"CipherStrategy.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"Client.h",
|
2021-02-09 13:42:22 +03:00
|
|
|
"ClientImpl.h",
|
2021-03-11 08:53:17 +03:00
|
|
|
"CommonMetadata.h",
|
2021-06-08 19:27:28 +03:00
|
|
|
"Config.h",
|
2020-06-11 11:00:39 +03:00
|
|
|
"DecryptingInputStream.h",
|
|
|
|
"DecryptingInputStream_impl.h",
|
2021-02-09 13:42:22 +03:00
|
|
|
"DirectoryLock.h",
|
2020-06-11 11:00:39 +03:00
|
|
|
"DummyCipherStrategy.h",
|
|
|
|
"EncryptedBlock.h",
|
|
|
|
"EncryptingOutputStream.h",
|
|
|
|
"EncryptingOutputStream_impl.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"FileStreams.h",
|
2021-06-24 00:26:10 +03:00
|
|
|
"FirstInitializationAttempts.h",
|
|
|
|
"FirstInitializationAttemptsImpl.h",
|
2021-11-30 08:05:51 +03:00
|
|
|
"ForwardDecls.h",
|
2019-12-11 11:22:47 +03:00
|
|
|
"InitializationTypes.h",
|
2020-06-25 16:23:06 +03:00
|
|
|
"IPCStreamCipherStrategy.h",
|
2018-08-20 15:32:48 +03:00
|
|
|
"MemoryOutputStream.h",
|
2021-03-12 12:31:57 +03:00
|
|
|
"NSSCipherStrategy.h",
|
2016-03-01 12:44:39 +03:00
|
|
|
"OriginScope.h",
|
2013-09-11 08:18:36 +04:00
|
|
|
"PersistenceType.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"QuotaCommon.h",
|
|
|
|
"QuotaManager.h",
|
2021-10-12 15:29:43 +03:00
|
|
|
"QuotaManagerImpl.h",
|
2015-11-22 12:43:55 +03:00
|
|
|
"QuotaManagerService.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"QuotaObject.h",
|
2021-11-30 08:05:51 +03:00
|
|
|
"RemoveParen.h",
|
2021-11-30 08:05:51 +03:00
|
|
|
"ResultExtensions.h",
|
2021-06-25 13:21:27 +03:00
|
|
|
"ScopedLogExtraInfo.h",
|
2015-11-22 12:43:34 +03:00
|
|
|
"SerializationHelpers.h",
|
2021-11-05 13:39:45 +03:00
|
|
|
"StorageHelpers.h",
|
2013-09-11 08:18:36 +04:00
|
|
|
"UsageInfo.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2019-02-23 06:20:29 +03:00
|
|
|
XPCOM_MANIFESTS += [
|
|
|
|
"components.conf",
|
|
|
|
]
|
|
|
|
|
2013-11-20 18:40:32 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2015-11-22 12:43:55 +03:00
|
|
|
"ActorsChild.cpp",
|
|
|
|
"ActorsParent.cpp",
|
2021-01-26 12:19:44 +03:00
|
|
|
"CachingDatabaseConnection.cpp",
|
2019-08-23 07:49:14 +03:00
|
|
|
"Client.cpp",
|
2020-06-11 11:00:39 +03:00
|
|
|
"DecryptingInputStream.cpp",
|
2021-02-09 13:42:23 +03:00
|
|
|
"DirectoryLockImpl.cpp",
|
2020-06-11 11:00:39 +03:00
|
|
|
"EncryptingOutputStream.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"FileStreams.cpp",
|
2021-06-24 00:26:07 +03:00
|
|
|
"InitializationTypes.cpp",
|
2018-08-20 15:32:48 +03:00
|
|
|
"MemoryOutputStream.cpp",
|
2019-02-23 06:20:29 +03:00
|
|
|
"nsIndexedDBProtocolHandler.cpp",
|
2021-03-12 12:31:57 +03:00
|
|
|
"NSSCipherStrategy.cpp",
|
2020-03-13 15:55:20 +03:00
|
|
|
"PersistenceType.cpp",
|
2021-05-25 10:28:19 +03:00
|
|
|
"QMResult.cpp",
|
2019-01-19 01:52:06 +03:00
|
|
|
"QuotaCommon.cpp",
|
2015-11-22 12:43:55 +03:00
|
|
|
"QuotaManagerService.cpp",
|
|
|
|
"QuotaRequests.cpp",
|
2017-03-22 14:13:38 +03:00
|
|
|
"QuotaResults.cpp",
|
2021-06-25 13:21:27 +03:00
|
|
|
"ScopedLogExtraInfo.cpp",
|
2021-11-05 13:39:45 +03:00
|
|
|
"StorageHelpers.cpp",
|
2016-06-14 15:57:36 +03:00
|
|
|
"StorageManager.cpp",
|
2015-11-22 12:43:55 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
|
|
"PQuota.ipdl",
|
|
|
|
"PQuotaRequest.ipdl",
|
|
|
|
"PQuotaUsageRequest.ipdl",
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = "xul"
|
2018-09-07 19:23:02 +03:00
|
|
|
|
2013-11-11 12:04:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
2014-07-15 22:12:59 +04:00
|
|
|
"/caps",
|
2013-11-11 12:04:11 +04:00
|
|
|
]
|
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
|
2016-05-11 10:00:01 +03:00
|
|
|
CXXFLAGS += ["-Wno-error=shadow"]
|