michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIOfflineCacheUpdate.idl', michael@0: 'nsIPrefetchService.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'prefetch' michael@0: michael@0: EXPORTS += [ michael@0: 'nsCPrefetchService.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.docshell += [ michael@0: 'OfflineCacheUpdateChild.h', michael@0: 'OfflineCacheUpdateParent.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'nsPrefetchService.cpp', michael@0: 'OfflineCacheUpdateChild.cpp', michael@0: 'OfflineCacheUpdateGlue.cpp', michael@0: 'OfflineCacheUpdateParent.cpp', michael@0: ] michael@0: michael@0: # These files can't be built in unified mode because they force NSPR logging. michael@0: SOURCES += [ michael@0: 'nsOfflineCacheUpdate.cpp', michael@0: 'nsOfflineCacheUpdateService.cpp', michael@0: ] michael@0: michael@0: IPDL_SOURCES += [ michael@0: 'POfflineCacheUpdate.ipdl', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'xul' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '/content/base/src', michael@0: ] michael@0: