netwerk/cache2/moz.build
author Gregor Wagner <gwagner@mozilla.com>
Fri, 12 Feb 2016 19:21:30 +0100
changeset 388242 b65c9eaa99ab0d00ebaca3ac81f66260c63a78c5
parent 304407 80eff2b52d144f170670d90fe98841cad2c0991c
child 353258 c2b3f129d0c88620ee822e5bd4b7365d2a21c2f5
child 355667 bddc5da674d489fd62811c7233947c0660cd686d
child 367194 2572c0758dd4377a832c1e8ed16522dc829634ad
permissions -rw-r--r--
merge mc -> pine

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

XPIDL_SOURCES += [
    'nsICacheEntry.idl',
    'nsICacheEntryDoomCallback.idl',
    'nsICacheEntryOpenCallback.idl',
    'nsICacheStorage.idl',
    'nsICacheStorageService.idl',
    'nsICacheStorageVisitor.idl',
    'nsICacheTesting.idl',
]

XPIDL_MODULE = 'necko_cache2'

EXPORTS += [
    'CacheObserver.h',
    'CacheStorageService.h',
]

UNIFIED_SOURCES += [
    'CacheEntry.cpp',
    'CacheFile.cpp',
    'CacheFileChunk.cpp',
    'CacheFileContextEvictor.cpp',
    'CacheFileInputStream.cpp',
    'CacheFileIOManager.cpp',
    'CacheFileMetadata.cpp',
    'CacheFileOutputStream.cpp',
    'CacheFileUtils.cpp',
    'CacheHashUtils.cpp',
    'CacheIndex.cpp',
    'CacheIndexContextIterator.cpp',
    'CacheIndexIterator.cpp',
    'CacheIOThread.cpp',
    'CacheLog.cpp',
    'CacheObserver.cpp',
    'CacheStorage.cpp',
    'CacheStorageService.cpp',
    'OldWrappers.cpp',
]

# AppCacheStorage.cpp cannot be built in unified mode because it uses plarena.h.
SOURCES += [
    'AppCacheStorage.cpp',
]

LOCAL_INCLUDES += [
    '/netwerk/base',
    '/netwerk/cache',
]

FINAL_LIBRARY = 'xul'