tor-browser

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

moz.build (2154B)


      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", "Sync")
      9 
     10 XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
     11 
     12 EXTRA_COMPONENTS += [
     13     "SyncComponents.manifest",
     14 ]
     15 
     16 EXTRA_JS_MODULES["services-sync"] += [
     17     "modules/addonsreconciler.sys.mjs",
     18     "modules/addonutils.sys.mjs",
     19     "modules/bridged_engine.sys.mjs",
     20     "modules/collection_validator.sys.mjs",
     21     "modules/constants.sys.mjs",
     22     "modules/doctor.sys.mjs",
     23     "modules/engines.sys.mjs",
     24     "modules/keys.sys.mjs",
     25     "modules/main.sys.mjs",
     26     "modules/policies.sys.mjs",
     27     "modules/record.sys.mjs",
     28     "modules/resource.sys.mjs",
     29     "modules/service.sys.mjs",
     30     "modules/status.sys.mjs",
     31     "modules/sync_auth.sys.mjs",
     32     "modules/SyncDisconnect.sys.mjs",
     33     "modules/SyncedTabs.sys.mjs",
     34     "modules/TabsStore.sys.mjs",
     35     "modules/telemetry.sys.mjs",
     36     "modules/UIState.sys.mjs",
     37     "modules/util.sys.mjs",
     38     "Weave.sys.mjs",
     39 ]
     40 
     41 EXTRA_JS_MODULES["services-sync"].engines += [
     42     "modules/engines/addons.sys.mjs",
     43     "modules/engines/clients.sys.mjs",
     44     "modules/engines/extension-storage.sys.mjs",
     45     "modules/engines/passwords.sys.mjs",
     46     "modules/engines/prefs.sys.mjs",
     47 ]
     48 
     49 if not CONFIG["MOZ_THUNDERBIRD"]:
     50     EXTRA_JS_MODULES["services-sync"].engines += [
     51         "modules/engines/bookmarks.sys.mjs",
     52         "modules/engines/forms.sys.mjs",
     53         "modules/engines/history.sys.mjs",
     54         "modules/engines/tabs.sys.mjs",
     55     ]
     56 
     57 EXTRA_JS_MODULES["services-sync"].stages += [
     58     "modules/stages/declined.sys.mjs",
     59     "modules/stages/enginesync.sys.mjs",
     60 ]
     61 
     62 XPCOM_MANIFESTS += [
     63     "components.conf",
     64 ]
     65 
     66 TESTING_JS_MODULES.services.sync += [
     67     "modules-testing/fakeservices.sys.mjs",
     68     "modules-testing/fxa_utils.sys.mjs",
     69     "modules-testing/rotaryengine.sys.mjs",
     70     "modules-testing/utils.sys.mjs",
     71 ]
     72 
     73 SPHINX_TREES["/services/sync"] = "docs"