1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/cache/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,53 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +XPIDL_SOURCES += [ 1.11 + 'nsICache.idl', 1.12 + 'nsICacheEntryDescriptor.idl', 1.13 + 'nsICacheListener.idl', 1.14 + 'nsICacheService.idl', 1.15 + 'nsICacheSession.idl', 1.16 + 'nsICacheVisitor.idl', 1.17 +] 1.18 + 1.19 +XPIDL_MODULE = 'necko_cache' 1.20 + 1.21 +EXPORTS += [ 1.22 + 'nsApplicationCacheService.h', 1.23 + 'nsCacheService.h', 1.24 + 'nsDeleteDir.h' 1.25 +] 1.26 + 1.27 +# These files cannot be built in unified mode because they force NSPR logging. 1.28 +SOURCES += [ 1.29 + 'nsApplicationCacheService.cpp', 1.30 + 'nsCache.cpp', 1.31 + 'nsCacheEntry.cpp', 1.32 + 'nsCacheEntryDescriptor.cpp', 1.33 + 'nsCacheMetaData.cpp', 1.34 + 'nsCacheService.cpp', 1.35 + 'nsCacheSession.cpp', 1.36 + 'nsCacheUtils.cpp', 1.37 + 'nsDeleteDir.cpp', 1.38 + 'nsDiskCacheBinding.cpp', 1.39 + 'nsDiskCacheBlockFile.cpp', 1.40 + 'nsDiskCacheDevice.cpp', 1.41 + 'nsDiskCacheDeviceSQL.cpp', 1.42 + 'nsDiskCacheEntry.cpp', 1.43 + 'nsDiskCacheMap.cpp', 1.44 + 'nsDiskCacheStreams.cpp', 1.45 + 'nsMemoryCacheDevice.cpp', 1.46 +] 1.47 + 1.48 +FAIL_ON_WARNINGS = True 1.49 + 1.50 +MSVC_ENABLE_PGO = True 1.51 + 1.52 +FINAL_LIBRARY = 'necko' 1.53 + 1.54 +LOCAL_INCLUDES += [ 1.55 + '../base/src', 1.56 +]