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/.
8 BUG_COMPONENT = ("Firefox", "Sync")
10 XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
13 "SyncComponents.manifest",
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/telemetry.sys.mjs",
35 "modules/UIState.sys.mjs",
36 "modules/util.sys.mjs",
40 EXTRA_JS_MODULES["services-sync"].engines += [
41 "modules/engines/addons.sys.mjs",
42 "modules/engines/clients.sys.mjs",
43 "modules/engines/extension-storage.sys.mjs",
44 "modules/engines/passwords.sys.mjs",
45 "modules/engines/prefs.sys.mjs",
48 if not CONFIG["MOZ_THUNDERBIRD"]:
49 EXTRA_JS_MODULES["services-sync"].engines += [
50 "modules/engines/bookmarks.sys.mjs",
51 "modules/engines/forms.sys.mjs",
52 "modules/engines/history.sys.mjs",
53 "modules/engines/tabs.sys.mjs",
56 EXTRA_JS_MODULES["services-sync"].stages += [
57 "modules/stages/declined.sys.mjs",
58 "modules/stages/enginesync.sys.mjs",
65 TESTING_JS_MODULES.services.sync += [
66 "modules-testing/fakeservices.sys.mjs",
67 "modules-testing/fxa_utils.sys.mjs",
68 "modules-testing/rotaryengine.sys.mjs",
69 "modules-testing/utils.sys.mjs",
72 SPHINX_TREES["/services/sync"] = "docs"