Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 XPIDL_SOURCES += [
8 'nsICache.idl',
9 'nsICacheEntryDescriptor.idl',
10 'nsICacheListener.idl',
11 'nsICacheService.idl',
12 'nsICacheSession.idl',
13 'nsICacheVisitor.idl',
14 ]
16 XPIDL_MODULE = 'necko_cache'
18 EXPORTS += [
19 'nsApplicationCacheService.h',
20 'nsCacheService.h',
21 'nsDeleteDir.h'
22 ]
24 # These files cannot be built in unified mode because they force NSPR logging.
25 SOURCES += [
26 'nsApplicationCacheService.cpp',
27 'nsCache.cpp',
28 'nsCacheEntry.cpp',
29 'nsCacheEntryDescriptor.cpp',
30 'nsCacheMetaData.cpp',
31 'nsCacheService.cpp',
32 'nsCacheSession.cpp',
33 'nsCacheUtils.cpp',
34 'nsDeleteDir.cpp',
35 'nsDiskCacheBinding.cpp',
36 'nsDiskCacheBlockFile.cpp',
37 'nsDiskCacheDevice.cpp',
38 'nsDiskCacheDeviceSQL.cpp',
39 'nsDiskCacheEntry.cpp',
40 'nsDiskCacheMap.cpp',
41 'nsDiskCacheStreams.cpp',
42 'nsMemoryCacheDevice.cpp',
43 ]
45 FAIL_ON_WARNINGS = True
47 MSVC_ENABLE_PGO = True
49 FINAL_LIBRARY = 'necko'
51 LOCAL_INCLUDES += [
52 '../base/src',
53 ]