tor-browser

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

moz.build (1449B)


      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("moz.build"):
      8     BUG_COMPONENT = ("Firefox Build System", "General")
      9 
     10 with Files("app-services-tools/**"):
     11     BUG_COMPONENT = ("Application Services", "General")
     12 
     13 DIRS += [
     14     "common",
     15     "crypto",
     16     "interfaces",
     17     "settings",
     18 ]
     19 
     20 # A bit of a chicken-and-egg situation here - MOZ_APPSERVICES_IN_TREE allows
     21 # us to reference files not yet in the tree. Other monorepo related patches
     22 # actually adds them, after which it is possible to enable the flag.
     23 if CONFIG["MOZ_APPSERVICES_IN_TREE"]:
     24     DIRS += [
     25         "app-services/megazords/full",
     26         "app-services/megazords/fenix-dylib",
     27     ]
     28 
     29 # The automation dir is only included in nightlies and debug
     30 if not CONFIG["RELEASE_OR_BETA"] or CONFIG["MOZ_DEBUG"]:
     31     DIRS += ["automation"]
     32 
     33 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
     34     DIRS += [
     35         "fxaccounts",
     36         "application-services/components/viaduct-necko",
     37     ]
     38 
     39 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
     40     DIRS += [
     41         "app-services-tools/embedded-uniffi-bindgen",
     42         "app-services-tools/nimbus-fml",
     43     ]
     44 
     45 if CONFIG["MOZ_SERVICES_SYNC"]:
     46     DIRS += ["sync"]
     47 
     48 SPHINX_TREES["/services"] = "docs"