michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsICache.idl', michael@0: 'nsICacheEntryDescriptor.idl', michael@0: 'nsICacheListener.idl', michael@0: 'nsICacheService.idl', michael@0: 'nsICacheSession.idl', michael@0: 'nsICacheVisitor.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'necko_cache' michael@0: michael@0: EXPORTS += [ michael@0: 'nsApplicationCacheService.h', michael@0: 'nsCacheService.h', michael@0: 'nsDeleteDir.h' michael@0: ] michael@0: michael@0: # These files cannot be built in unified mode because they force NSPR logging. michael@0: SOURCES += [ michael@0: 'nsApplicationCacheService.cpp', michael@0: 'nsCache.cpp', michael@0: 'nsCacheEntry.cpp', michael@0: 'nsCacheEntryDescriptor.cpp', michael@0: 'nsCacheMetaData.cpp', michael@0: 'nsCacheService.cpp', michael@0: 'nsCacheSession.cpp', michael@0: 'nsCacheUtils.cpp', michael@0: 'nsDeleteDir.cpp', michael@0: 'nsDiskCacheBinding.cpp', michael@0: 'nsDiskCacheBlockFile.cpp', michael@0: 'nsDiskCacheDevice.cpp', michael@0: 'nsDiskCacheDeviceSQL.cpp', michael@0: 'nsDiskCacheEntry.cpp', michael@0: 'nsDiskCacheMap.cpp', michael@0: 'nsDiskCacheStreams.cpp', michael@0: 'nsMemoryCacheDevice.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: FINAL_LIBRARY = 'necko' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../base/src', michael@0: ]