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 7with Files("**"): 8 BUG_COMPONENT = ("Core", "DOM: Networking") 9 10EXPORTS.mozilla.dom += [ 11 "BodyExtractor.h", 12 "ChannelInfo.h", 13 "Fetch.h", 14 "FetchDriver.h", 15 "FetchIPCTypes.h", 16 "FetchObserver.h", 17 "FetchService.h", 18 "FetchStreamReader.h", 19 "FetchStreamUtils.h", 20 "FetchUtil.h", 21 "Headers.h", 22 "InternalHeaders.h", 23 "InternalRequest.h", 24 "InternalResponse.h", 25 "Request.h", 26 "Response.h", 27] 28 29UNIFIED_SOURCES += [ 30 "BodyExtractor.cpp", 31 "ChannelInfo.cpp", 32 "Fetch.cpp", 33 "FetchDriver.cpp", 34 "FetchObserver.cpp", 35 "FetchService.cpp", 36 "FetchStreamReader.cpp", 37 "FetchStreamUtils.cpp", 38 "FetchUtil.cpp", 39 "Headers.cpp", 40 "InternalHeaders.cpp", 41 "InternalRequest.cpp", 42 "InternalResponse.cpp", 43 "Request.cpp", 44 "Response.cpp", 45] 46 47IPDL_SOURCES += [ 48 "FetchTypes.ipdlh", 49 "IPCChannelInfo.ipdlh", 50] 51 52LOCAL_INCLUDES += [ 53 # For nsDOMSerializer 54 "/dom/base", 55 # For HttpBaseChannel.h dependencies 56 "/netwerk/base", 57 # For nsDataHandler.h 58 "/netwerk/protocol/data", 59 # For HttpBaseChannel.h 60 "/netwerk/protocol/http", 61] 62 63BROWSER_CHROME_MANIFESTS += ["tests/browser.ini"] 64MOCHITEST_MANIFESTS += ["tests/mochitest.ini"] 65 66FINAL_LIBRARY = "xul" 67 68include("/ipc/chromium/chromium-config.mozbuild") 69