netwerk/cache/moz.build

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:f00b9a5cb715
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/.
6
7 XPIDL_SOURCES += [
8 'nsICache.idl',
9 'nsICacheEntryDescriptor.idl',
10 'nsICacheListener.idl',
11 'nsICacheService.idl',
12 'nsICacheSession.idl',
13 'nsICacheVisitor.idl',
14 ]
15
16 XPIDL_MODULE = 'necko_cache'
17
18 EXPORTS += [
19 'nsApplicationCacheService.h',
20 'nsCacheService.h',
21 'nsDeleteDir.h'
22 ]
23
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 ]
44
45 FAIL_ON_WARNINGS = True
46
47 MSVC_ENABLE_PGO = True
48
49 FINAL_LIBRARY = 'necko'
50
51 LOCAL_INCLUDES += [
52 '../base/src',
53 ]

mercurial