moz.build (1236B)
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 = ("Firefox", "New Tab Page") 9 10 EXTRA_JS_MODULES += [ 11 "AboutHomeStartupCache.sys.mjs", 12 "AboutNewTabRedirector.sys.mjs", 13 "AboutNewTabResourceMapping.sys.mjs", 14 ] 15 16 MOZ_SRC_FILES += [ 17 "AboutNewTabComponents.sys.mjs", 18 "SponsorProtection.sys.mjs", 19 ] 20 21 XPCOM_MANIFESTS += [ 22 "components.conf", 23 ] 24 25 FINAL_LIBRARY = "browsercomps" 26 27 TESTING_JS_MODULES += [ 28 "test/xpcshell/component-registrants/NotARegistrant.sys.mjs", 29 "test/xpcshell/component-registrants/TestRegistrant1.sys.mjs", 30 "test/xpcshell/component-registrants/TestRegistrant2.sys.mjs", 31 "test/xpcshell/component-registrants/TestRegistrantDuplicateTypes.sys.mjs", 32 "test/xpcshell/component-registrants/TestRegistrantInvalidConfigs.sys.mjs", 33 ] 34 35 XPCSHELL_TESTS_MANIFESTS += [ 36 "test/xpcshell/xpcshell.toml", 37 ] 38 39 BROWSER_CHROME_MANIFESTS += [ 40 "test/browser/abouthomecache/browser.toml", 41 "test/browser/browser.toml", 42 ]