Bug 1523562 [wpt PR 15079] - Pass the full path to the flake8 config files, a=testonly
[gecko.git] / uriloader / prefetch / moz.build
blobb64105ff4685f20a51ddcbfd8038389e66e42362
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     'nsIOfflineCacheUpdate.idl',
12     'nsIPrefetchService.idl',
15 XPIDL_MODULE = 'prefetch'
17 EXPORTS.mozilla.docshell += [
18     'OfflineCacheUpdateChild.h',
19     'OfflineCacheUpdateParent.h',
22 UNIFIED_SOURCES += [
23     'nsOfflineCacheUpdate.cpp',
24     'nsOfflineCacheUpdateService.cpp',
25     'nsPrefetchService.cpp',
26     'OfflineCacheUpdateChild.cpp',
27     'OfflineCacheUpdateGlue.cpp',
28     'OfflineCacheUpdateParent.cpp',
31 IPDL_SOURCES += [
32     'POfflineCacheUpdate.ipdl',
35 include('/ipc/chromium/chromium-config.mozbuild')
37 FINAL_LIBRARY = 'xul'
39 LOCAL_INCLUDES += [
40     '/dom/base',
43 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
44     CXXFLAGS += ['-Wno-error=shadow']