moz.build (845B)
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 DIRS += ["loader"] 11 12 EXPORTS.mozilla.dom += [ 13 "Worklet.h", 14 "WorkletFetchHandler.h", 15 "WorkletGlobalScope.h", 16 "WorkletImpl.h", 17 "WorkletThread.h", 18 ] 19 20 UNIFIED_SOURCES += [ 21 "Worklet.cpp", 22 "WorkletFetchHandler.cpp", 23 "WorkletGlobalScope.cpp", 24 "WorkletImpl.cpp", 25 "WorkletThread.cpp", 26 ] 27 28 LOCAL_INCLUDES += [ 29 "/js/xpconnect/src", 30 ] 31 32 include("/ipc/chromium/chromium-config.mozbuild") 33 34 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] 35 36 FINAL_LIBRARY = "xul"