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("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "DOM: Quota Manager")
|
|
|
|
|
2017-04-17 10:06:39 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
|
|
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
|
|
|
|
|
2017-03-06 20:39:17 +03:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
|
|
'test/unit/xpcshell.ini'
|
|
|
|
]
|
|
|
|
|
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 += [
|
|
|
|
'StorageManager.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.dom.quota += [
|
2015-11-22 12:43:55 +03:00
|
|
|
'ActorsParent.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'Client.h',
|
|
|
|
'FileStreams.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',
|
2015-11-22 12:43:55 +03:00
|
|
|
'QuotaManagerService.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'QuotaObject.h',
|
2015-11-22 12:43:34 +03:00
|
|
|
'SerializationHelpers.h',
|
2013-09-11 08:18:36 +04:00
|
|
|
'UsageInfo.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-11-20 18:40:32 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2015-11-22 12:43:55 +03:00
|
|
|
'ActorsChild.cpp',
|
|
|
|
'ActorsParent.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'FileStreams.cpp',
|
2015-11-22 12:43:55 +03:00
|
|
|
'QuotaManagerService.cpp',
|
|
|
|
'QuotaRequests.cpp',
|
2017-03-22 14:13:38 +03:00
|
|
|
'QuotaResults.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'
|
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']
|