moz.build (1334B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 with Files("**"): 6 BUG_COMPONENT = ("Firefox", "Tabbed Browser") 7 with Files("GroupsList.sys.mjs"): 8 BUG_COMPONENT = ("Firefox", "Tabbed Browser: Tab Groups") 9 with Files("content/tabgroup.js"): 10 BUG_COMPONENT = ("Firefox", "Tabbed Browser: Tab Groups") 11 with Files("content/tabgroup-menu.js"): 12 BUG_COMPONENT = ("Firefox", "Tabbed Browser: Tab Groups") 13 14 JAR_MANIFESTS += ["jar.mn"] 15 16 MOZ_SRC_FILES += [ 17 "AsyncTabSwitcher.sys.mjs", 18 "GroupsList.sys.mjs", 19 "NewTabPagePreloading.sys.mjs", 20 "OpenInTabsUtils.sys.mjs", 21 # SmartTabGrouping.sys.mjs is excluded because it requires the missing "ml" 22 # component. tor-browser#44045. 23 "TabMetrics.sys.mjs", 24 "TabsList.sys.mjs", 25 "TabUnloader.sys.mjs", 26 ] 27 28 TESTING_JS_MODULES += [ 29 "test/TabGroupTestUtils.sys.mjs", 30 ] 31 32 BROWSER_CHROME_MANIFESTS += [ 33 "test/browser/dragdrop/browser.toml", 34 "test/browser/smarttabgrouping/browser.toml", 35 "test/browser/statuspanel/browser.toml", 36 "test/browser/tabMediaIndicator/browser.toml", 37 "test/browser/tabs/browser.toml", 38 ] 39 40 XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/smarttabgrouping/xpcshell.toml"]