Bug 1686668 [wpt PR 27185] - Update wpt metadata, a=testonly
[gecko.git] / dom / fetch / moz.build
blobd6be68726a54b5d2b92eaff54a1fff02c3747435
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", "DOM: Networking")
10 EXPORTS.mozilla.dom += [
11     "BodyExtractor.h",
12     "ChannelInfo.h",
13     "Fetch.h",
14     "FetchDriver.h",
15     "FetchIPCTypes.h",
16     "FetchObserver.h",
17     "FetchStreamReader.h",
18     "FetchUtil.h",
19     "Headers.h",
20     "InternalHeaders.h",
21     "InternalRequest.h",
22     "InternalResponse.h",
23     "Request.h",
24     "Response.h",
27 UNIFIED_SOURCES += [
28     "BodyExtractor.cpp",
29     "ChannelInfo.cpp",
30     "EmptyBody.cpp",
31     "Fetch.cpp",
32     "FetchDriver.cpp",
33     "FetchObserver.cpp",
34     "FetchStreamReader.cpp",
35     "FetchUtil.cpp",
36     "Headers.cpp",
37     "InternalHeaders.cpp",
38     "InternalRequest.cpp",
39     "InternalResponse.cpp",
40     "Request.cpp",
41     "Response.cpp",
44 IPDL_SOURCES += [
45     "ChannelInfo.ipdlh",
46     "FetchTypes.ipdlh",
49 LOCAL_INCLUDES += [
50     # For nsDOMSerializer
51     "/dom/base",
52     # For HttpBaseChannel.h dependencies
53     "/netwerk/base",
54     # For nsDataHandler.h
55     "/netwerk/protocol/data",
56     # For HttpBaseChannel.h
57     "/netwerk/protocol/http",
60 BROWSER_CHROME_MANIFESTS += ["tests/browser.ini"]
61 MOCHITEST_MANIFESTS += ["tests/mochitest.ini"]
63 FINAL_LIBRARY = "xul"
65 include("/ipc/chromium/chromium-config.mozbuild")