Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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 'nsICacheEntry.idl',
9 'nsICacheEntryDoomCallback.idl',
10 'nsICacheEntryOpenCallback.idl',
11 'nsICacheStorage.idl',
12 'nsICacheStorageService.idl',
13 'nsICacheStorageVisitor.idl',
14 ]
16 XPIDL_MODULE = 'necko_cache2'
18 EXPORTS += [
19 'CacheObserver.h',
20 'CacheStorageService.h',
21 ]
23 UNIFIED_SOURCES += [
24 'CacheHashUtils.cpp',
25 'CacheIOThread.cpp',
26 'CacheObserver.cpp',
27 ]
29 # AppCacheStorage.cpp cannot be built in unified mode because it uses plarena.h.
30 # The rest of these files cannot be built in unified mode because they rely oni
31 # including prlog.h after nsCache.h.
32 SOURCES += [
33 'AppCacheStorage.cpp',
34 'CacheEntry.cpp',
35 'CacheFile.cpp',
36 'CacheFileChunk.cpp',
37 'CacheFileContextEvictor.cpp',
38 'CacheFileInputStream.cpp',
39 'CacheFileIOManager.cpp',
40 'CacheFileMetadata.cpp',
41 'CacheFileOutputStream.cpp',
42 'CacheFileUtils.cpp',
43 'CacheIndex.cpp',
44 'CacheIndexContextIterator.cpp',
45 'CacheIndexIterator.cpp',
46 'CacheLog.cpp',
47 'CacheStorage.cpp',
48 'CacheStorageService.cpp',
49 'OldWrappers.cpp',
50 ]
52 LOCAL_INCLUDES += [
53 '../base/src',
54 '../cache',
55 ]
57 FAIL_ON_WARNINGS = True
59 MSVC_ENABLE_PGO = True
61 FINAL_LIBRARY = 'necko'