Bug 1688354 [wpt PR 27298] - Treat 'rem' as an absolute unit for font size, a=testonly
[gecko.git] / dom / network / moz.build
blobf33dab5c5ee968e8f351024b33179ab49a0852d1
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")
10 DIRS += ["interfaces"]
12 MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.ini"]
13 MOCHITEST_MANIFESTS += ["tests/mochitest.ini"]
15 EXPORTS.mozilla.dom += [
16     "TCPServerSocket.h",
17     "TCPSocket.h",
18     "UDPSocket.h",
21 EXPORTS.mozilla.dom.network += [
22     "Connection.h",
23     "Constants.h",
24     "TCPServerSocketChild.h",
25     "TCPServerSocketParent.h",
26     "TCPSocketChild.h",
27     "TCPSocketParent.h",
28     "UDPSocketChild.h",
29     "UDPSocketParent.h",
32 UNIFIED_SOURCES += [
33     "Connection.cpp",
34     "ConnectionMainThread.cpp",
35     "ConnectionWorker.cpp",
36     "TCPServerSocket.cpp",
37     "TCPServerSocketChild.cpp",
38     "TCPServerSocketParent.cpp",
39     "TCPSocket.cpp",
40     "TCPSocketChild.cpp",
41     "TCPSocketParent.cpp",
42     "UDPSocket.cpp",
43     "UDPSocketChild.cpp",
44     "UDPSocketParent.cpp",
47 IPDL_SOURCES += [
48     "PTCPServerSocket.ipdl",
49     "PTCPSocket.ipdl",
50     "PUDPSocket.ipdl",
53 include("/ipc/chromium/chromium-config.mozbuild")
55 FINAL_LIBRARY = "xul"
57 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
58     CXXFLAGS += ["-Wno-error=shadow"]