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/.
6
7EXPORTS.mozilla.dom += [
8    'ChannelInfo.h',
9    'Fetch.h',
10    'FetchDriver.h',
11    'FetchIPCTypes.h',
12    'FetchUtil.h',
13    'Headers.h',
14    'InternalHeaders.h',
15    'InternalRequest.h',
16    'InternalResponse.h',
17    'Request.h',
18    'Response.h',
19]
20
21UNIFIED_SOURCES += [
22    'ChannelInfo.cpp',
23    'Fetch.cpp',
24    'FetchConsumer.cpp',
25    'FetchDriver.cpp',
26    'FetchUtil.cpp',
27    'Headers.cpp',
28    'InternalHeaders.cpp',
29    'InternalRequest.cpp',
30    'InternalResponse.cpp',
31    'Request.cpp',
32    'Response.cpp',
33]
34
35IPDL_SOURCES += [
36    'ChannelInfo.ipdlh',
37    'FetchTypes.ipdlh',
38]
39
40LOCAL_INCLUDES += [
41    '../workers',
42    # For HttpBaseChannel.h dependencies
43    '/netwerk/base',
44    # For nsDataHandler.h
45    '/netwerk/protocol/data',
46    # For HttpBaseChannel.h
47    '/netwerk/protocol/http',
48]
49
50FINAL_LIBRARY = 'xul'
51
52include('/ipc/chromium/chromium-config.mozbuild')
53