2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00: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 13:20:25 +00:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "DOM: Quota Manager")
|
|
|
|
|
2017-04-17 07:06:39 +00:00
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
|
|
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
|
|
|
|
|
2017-03-06 17:39:17 +00:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
|
|
'test/unit/xpcshell.ini'
|
|
|
|
]
|
|
|
|
|
2013-03-26 11:13:17 +00:00
|
|
|
XPIDL_SOURCES += [
|
2015-11-22 09:43:55 +00:00
|
|
|
'nsIQuotaCallbacks.idl',
|
|
|
|
'nsIQuotaManagerService.idl',
|
|
|
|
'nsIQuotaRequests.idl',
|
2017-03-22 11:13:38 +00:00
|
|
|
'nsIQuotaResults.idl',
|
2013-03-26 11:13:17 +00:00
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'dom_quota'
|
|
|
|
|
2016-06-14 12:57:36 +00:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'StorageManager.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS.mozilla.dom.quota += [
|
2015-11-22 09:43:55 +00:00
|
|
|
'ActorsParent.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'Client.h',
|
|
|
|
'FileStreams.h',
|
2016-03-01 09:44:39 +00:00
|
|
|
'OriginScope.h',
|
2013-09-11 04:18:36 +00:00
|
|
|
'PersistenceType.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'QuotaCommon.h',
|
|
|
|
'QuotaManager.h',
|
2015-11-22 09:43:55 +00:00
|
|
|
'QuotaManagerService.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'QuotaObject.h',
|
2015-11-22 09:43:34 +00:00
|
|
|
'SerializationHelpers.h',
|
2013-09-11 04:18:36 +00:00
|
|
|
'UsageInfo.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2013-11-20 14:40:32 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2015-11-22 09:43:55 +00:00
|
|
|
'ActorsChild.cpp',
|
|
|
|
'ActorsParent.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'FileStreams.cpp',
|
2015-11-22 09:43:55 +00:00
|
|
|
'QuotaManagerService.cpp',
|
|
|
|
'QuotaRequests.cpp',
|
2017-03-22 11:13:38 +00:00
|
|
|
'QuotaResults.cpp',
|
2016-06-14 12:57:36 +00:00
|
|
|
'StorageManager.cpp',
|
2015-11-22 09:43:55 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
|
|
'PQuota.ipdl',
|
|
|
|
'PQuotaRequest.ipdl',
|
|
|
|
'PQuotaUsageRequest.ipdl',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 08:04:11 +00:00
|
|
|
LOCAL_INCLUDES += [
|
2016-06-14 12:57:36 +00:00
|
|
|
'../workers',
|
2014-07-15 18:12:59 +00:00
|
|
|
'/caps',
|
2013-11-11 08:04:11 +00:00
|
|
|
]
|
|
|
|
|
2016-05-11 07:00:01 +00:00
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|