moz.build (1008B)
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 "XMLHttpRequest.h", 12 "XMLHttpRequestEventTarget.h", 13 "XMLHttpRequestMainThread.h", 14 "XMLHttpRequestString.h", 15 "XMLHttpRequestUpload.h", 16 ] 17 18 UNIFIED_SOURCES += [ 19 "XMLHttpRequest.cpp", 20 "XMLHttpRequestEventTarget.cpp", 21 "XMLHttpRequestMainThread.cpp", 22 "XMLHttpRequestString.cpp", 23 "XMLHttpRequestUpload.cpp", 24 "XMLHttpRequestWorker.cpp", 25 ] 26 27 LOCAL_INCLUDES += [ 28 "/dom/base", 29 "/dom/file", 30 "/netwerk/base", 31 ] 32 33 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] 34 35 BROWSER_CHROME_MANIFESTS += ["tests/browser.toml"] 36 37 include("/ipc/chromium/chromium-config.mozbuild") 38 39 FINAL_LIBRARY = "xul"