moz.build (754B)
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 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "DOM: Networking") 9 10 EXPORTS.mozilla.dom += [ 11 "WebSocket.h", 12 ] 13 14 UNIFIED_SOURCES += [ 15 "WebSocket.cpp", 16 ] 17 18 LOCAL_INCLUDES += [ 19 "/dom/base", 20 ] 21 22 MOCHITEST_CHROME_MANIFESTS += [ 23 "tests/chrome.toml", 24 ] 25 26 MOCHITEST_MANIFESTS += [ 27 "tests/mochitest.toml", 28 "tests/mochitest_http2.toml", 29 "tests/websocket_hybi/mochitest.toml", 30 ] 31 32 include("/ipc/chromium/chromium-config.mozbuild") 33 34 FINAL_LIBRARY = "xul"