no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / netwerk / cache2 / moz.build
blob54afa11a09032c3f07d612e802d71778d1925373
1 # -*- Mode: python; 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 with Files("**"):
8     BUG_COMPONENT = ("Core", "Networking: Cache")
10 XPIDL_SOURCES += [
11     "nsICacheEntry.idl",
12     "nsICacheEntryDoomCallback.idl",
13     "nsICacheEntryOpenCallback.idl",
14     "nsICachePurgeLock.idl",
15     "nsICacheStorage.idl",
16     "nsICacheStorageService.idl",
17     "nsICacheStorageVisitor.idl",
18     "nsICacheTesting.idl",
21 XPIDL_MODULE = "necko_cache2"
23 EXPORTS += [
24     "CacheObserver.h",
25     "CacheStorageService.h",
28 EXPORTS.mozilla.net += ["CachePurgeLock.h"]
30 SOURCES += [
31     "CacheStorage.cpp",
35 UNIFIED_SOURCES += [
36     "CacheEntry.cpp",
37     "CacheFile.cpp",
38     "CacheFileChunk.cpp",
39     "CacheFileContextEvictor.cpp",
40     "CacheFileInputStream.cpp",
41     "CacheFileIOManager.cpp",
42     "CacheFileMetadata.cpp",
43     "CacheFileOutputStream.cpp",
44     "CacheFileUtils.cpp",
45     "CacheHashUtils.cpp",
46     "CacheIndex.cpp",
47     "CacheIndexContextIterator.cpp",
48     "CacheIndexIterator.cpp",
49     "CacheIOThread.cpp",
50     "CacheLog.cpp",
51     "CacheObserver.cpp",
52     "CacheStorageService.cpp",
55 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
56     UNIFIED_SOURCES += [
57         "CachePurgeLock.cpp",
58     ]
60 LOCAL_INCLUDES += [
61     "/netwerk/base",
64 include("/ipc/chromium/chromium-config.mozbuild")
66 FINAL_LIBRARY = "xul"