moz.build (1039B)
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 = ("Cloud Services", "Firefox: Common") 9 10 TEST_DIRS += ["tests"] 11 12 EXTRA_COMPONENTS += [ 13 "servicesComponents.manifest", 14 ] 15 16 EXTRA_JS_MODULES["services-common"] += [ 17 "async.sys.mjs", 18 "kinto-http-client.sys.mjs", 19 "kinto-offline-client.sys.mjs", 20 "kinto-storage-adapter.sys.mjs", 21 "observers.sys.mjs", 22 "rest.sys.mjs", 23 "uptake-telemetry.sys.mjs", 24 "utils.sys.mjs", 25 ] 26 27 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android": 28 EXTRA_JS_MODULES["services-common"] += [ 29 "hawkclient.sys.mjs", 30 "hawkrequest.sys.mjs", 31 "tokenserverclient.sys.mjs", 32 ] 33 34 TESTING_JS_MODULES.services.common += [ 35 "modules-testing/logging.sys.mjs", 36 ] 37 38 SPHINX_TREES["/services/common"] = "docs"