netwerk/cache2/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/cache2/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,61 @@
     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 +    'nsICacheEntry.idl',
    1.12 +    'nsICacheEntryDoomCallback.idl',
    1.13 +    'nsICacheEntryOpenCallback.idl',
    1.14 +    'nsICacheStorage.idl',
    1.15 +    'nsICacheStorageService.idl',
    1.16 +    'nsICacheStorageVisitor.idl',
    1.17 +]
    1.18 +
    1.19 +XPIDL_MODULE = 'necko_cache2'
    1.20 +
    1.21 +EXPORTS += [
    1.22 +    'CacheObserver.h',
    1.23 +    'CacheStorageService.h',
    1.24 +]
    1.25 +
    1.26 +UNIFIED_SOURCES += [
    1.27 +    'CacheHashUtils.cpp',
    1.28 +    'CacheIOThread.cpp',
    1.29 +    'CacheObserver.cpp',
    1.30 +]
    1.31 +
    1.32 +# AppCacheStorage.cpp cannot be built in unified mode because it uses plarena.h.
    1.33 +# The rest of these files cannot be built in unified mode because they rely oni
    1.34 +# including prlog.h after nsCache.h.
    1.35 +SOURCES += [
    1.36 +    'AppCacheStorage.cpp',
    1.37 +    'CacheEntry.cpp',
    1.38 +    'CacheFile.cpp',
    1.39 +    'CacheFileChunk.cpp',
    1.40 +    'CacheFileContextEvictor.cpp',
    1.41 +    'CacheFileInputStream.cpp',
    1.42 +    'CacheFileIOManager.cpp',
    1.43 +    'CacheFileMetadata.cpp',
    1.44 +    'CacheFileOutputStream.cpp',
    1.45 +    'CacheFileUtils.cpp',
    1.46 +    'CacheIndex.cpp',
    1.47 +    'CacheIndexContextIterator.cpp',
    1.48 +    'CacheIndexIterator.cpp',
    1.49 +    'CacheLog.cpp',
    1.50 +    'CacheStorage.cpp',
    1.51 +    'CacheStorageService.cpp',
    1.52 +    'OldWrappers.cpp',
    1.53 +]
    1.54 +
    1.55 +LOCAL_INCLUDES += [
    1.56 +    '../base/src',
    1.57 +    '../cache',
    1.58 +]
    1.59 +
    1.60 +FAIL_ON_WARNINGS = True
    1.61 +
    1.62 +MSVC_ENABLE_PGO = True
    1.63 +
    1.64 +FINAL_LIBRARY = 'necko'

mercurial