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 += [
|
|
|
|
'nsApplicationCacheService.h',
|
|
|
|
'nsCacheService.h',
|
2014-02-05 23:29:54 +04:00
|
|
|
'nsDeleteDir.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',
|
|
|
|
'nsDiskCacheBinding.cpp',
|
|
|
|
'nsDiskCacheBlockFile.cpp',
|
|
|
|
'nsDiskCacheDevice.cpp',
|
|
|
|
'nsDiskCacheDeviceSQL.cpp',
|
|
|
|
'nsDiskCacheEntry.cpp',
|
|
|
|
'nsDiskCacheMap.cpp',
|
|
|
|
'nsDiskCacheStreams.cpp',
|
|
|
|
'nsMemoryCacheDevice.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
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|