2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:23 +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-02-02 14:33:47 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Networking: Cache')
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsICache.idl',
|
|
|
|
'nsICacheEntryDescriptor.idl',
|
|
|
|
'nsICacheListener.idl',
|
|
|
|
'nsICacheService.idl',
|
|
|
|
'nsICacheSession.idl',
|
|
|
|
'nsICacheVisitor.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'necko_cache'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2018-09-03 18:16:56 +03:00
|
|
|
'nsApplicationCache.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsApplicationCacheService.h',
|
2018-09-03 18:06:31 +03:00
|
|
|
'nsCacheDevice.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsCacheService.h',
|
2018-09-03 18:06:31 +03:00
|
|
|
'nsDeleteDir.h',
|
|
|
|
'nsDiskCacheDeviceSQL.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2014-10-09 00:19:14 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsApplicationCacheService.cpp',
|
|
|
|
'nsCache.cpp',
|
|
|
|
'nsCacheEntry.cpp',
|
|
|
|
'nsCacheEntryDescriptor.cpp',
|
|
|
|
'nsCacheMetaData.cpp',
|
|
|
|
'nsCacheService.cpp',
|
|
|
|
'nsCacheSession.cpp',
|
|
|
|
'nsCacheUtils.cpp',
|
|
|
|
'nsDeleteDir.cpp',
|
|
|
|
'nsDiskCacheDeviceSQL.cpp',
|
|
|
|
]
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-28 18:25:39 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
2015-01-16 13:11:06 +03:00
|
|
|
'/netwerk/base',
|
2013-11-28 18:25:39 +04:00
|
|
|
]
|
2016-05-11 10:00:01 +03: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']
|