moz.build (951B)
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: Core & HTML") 9 10 EXPORTS.mozilla.dom += [ 11 "Promise-inl.h", 12 "Promise.h", 13 "PromiseDebugging.h", 14 "PromiseNativeHandler.h", 15 "PromiseWorkerProxy.h", 16 ] 17 18 UNIFIED_SOURCES += [ 19 "Promise.cpp", 20 "PromiseDebugging.cpp", 21 "PromiseNativeHandler.cpp", 22 ] 23 24 LOCAL_INCLUDES += [ 25 "../base", 26 "../ipc", 27 "/js/xpconnect/src", 28 ] 29 30 TEST_DIRS += [ 31 "gtest", 32 ] 33 34 include("/ipc/chromium/chromium-config.mozbuild") 35 36 FINAL_LIBRARY = "xul" 37 38 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] 39 40 MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.toml"] 41 42 XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]