tor-browser

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

moz.build (2299B)


      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 # Default extra components to build config
      8 with Files("**"):
      9     BUG_COMPONENT = ("Firefox Build System", "General")
     10 
     11 with Files("devtools/**"):
     12     BUG_COMPONENT = ("DevTools", "General")
     13 
     14 with Files("gdbpp/**"):
     15     BUG_COMPONENT = ("Firefox Build System", "General")
     16 
     17 with Files("lldbutils/**"):
     18     BUG_COMPONENT = ("Core", "General")
     19 
     20 with Files("mach/**"):
     21     BUG_COMPONENT = ("Firefox Build System", "Mach Core")
     22 
     23 with Files("mozboot/**"):
     24     BUG_COMPONENT = ("Firefox Build System", "Bootstrap Configuration")
     25 
     26 with Files("mozbuild/**"):
     27     BUG_COMPONENT = ("Firefox Build System", "General")
     28 
     29 with Files("mozlint/**"):
     30     BUG_COMPONENT = ("Developer Infrastructure", "Lint and Formatting")
     31 
     32 with Files("mozversioncontrol/**"):
     33     BUG_COMPONENT = ("Firefox Build System", "General")
     34 
     35 with Files("l10n/**"):
     36     BUG_COMPONENT = ("Firefox Build System", "General")
     37 
     38 with Files("mozrelease/**"):
     39     BUG_COMPONENT = ("Release Engineering", "General")
     40 
     41 with Files("mach_commands.py"):
     42     BUG_COMPONENT = ("Testing", "Python Test")
     43 
     44 with Files("mozperftest/**"):
     45     BUG_COMPONENT = ("Testing", "mozperftest")
     46 
     47 with Files("sites/**"):
     48     BUG_COMPONENT = ("Firefox Build System", "Mach Core")
     49 
     50 
     51 SPHINX_PYTHON_PACKAGE_DIRS += [
     52     "mach",
     53     "mozbuild/mozbuild",
     54     "mozbuild/mozpack",
     55     "mozlint/mozlint",
     56     "mozversioncontrol/mozversioncontrol",
     57 ]
     58 
     59 with Files("**.py"):
     60     SCHEDULES.inclusive += ["docs"]
     61 
     62 SPHINX_TREES["/mach"] = "mach/docs"
     63 SPHINX_TREES["/python"] = "docs"
     64 SPHINX_TREES["/mozbuild/vendor"] = "mozbuild/mozbuild/vendor/docs"
     65 
     66 with Files("mach/docs/**"):
     67     SCHEDULES.exclusive = ["docs"]
     68 
     69 PYTHON_UNITTEST_MANIFESTS += [
     70     "mach/mach/test/python.toml",
     71     "mozboot/mozboot/test/python.toml",
     72     "mozbuild/mozbuild/repackaging/test/python.toml",
     73     "mozbuild/mozbuild/test/python.toml",
     74     "mozbuild/mozpack/test/python.toml",
     75     "mozlint/test/python.toml",
     76     "mozrelease/test/python.toml",
     77     "mozterm/test/python.toml",
     78     "mozversioncontrol/test/python.toml",
     79 ]