tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (1193B)


      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 XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
      8 BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
      9 
     10 TESTING_JS_MODULES += [
     11     "AppData.sys.mjs",
     12     "AppInfo.sys.mjs",
     13     "Assert.sys.mjs",
     14     "CoverageUtils.sys.mjs",
     15     "FileTestUtils.sys.mjs",
     16     "ImageTestUtils.sys.mjs",
     17     "Mochia.js",
     18     "MockRegistrar.sys.mjs",
     19     "sinon-7.2.7.js",
     20     "Sinon.sys.mjs",
     21     "StructuredLog.sys.mjs",
     22     "TestUtils.sys.mjs",
     23     "XPCShellContentUtils.sys.mjs",
     24 ]
     25 
     26 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
     27     TESTING_JS_MODULES += [
     28         "MockRegistry.sys.mjs",
     29     ]
     30 
     31 
     32 TEST_HARNESS_FILES.testing.mochitest.tests.SimpleTest += ["StructuredLog.sys.mjs"]
     33 
     34 with Files("**"):
     35     BUG_COMPONENT = ("Testing", "General")
     36 
     37 with Files("tests/xpcshell/**"):
     38     BUG_COMPONENT = ("Testing", "XPCShell Harness")
     39 
     40 with Files("tests/browser/**"):
     41     BUG_COMPONENT = ("Testing", "General")