2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:24 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2015-02-26 22:43:45 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Mozilla Services', 'Firefox Sync: Backend')
|
|
|
|
|
2013-02-26 00:47:24 +04:00
|
|
|
DIRS += ['locales']
|
2015-02-10 19:47:24 +03:00
|
|
|
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
2013-06-12 00:38:22 +04:00
|
|
|
|
|
|
|
EXTRA_COMPONENTS += [
|
2014-02-05 20:08:14 +04:00
|
|
|
'SyncComponents.manifest',
|
2015-12-22 10:14:00 +03:00
|
|
|
'Weave.js',
|
2014-02-05 20:08:14 +04:00
|
|
|
]
|
2014-07-03 03:43:41 +04:00
|
|
|
|
2014-07-28 23:24:01 +04:00
|
|
|
EXTRA_JS_MODULES['services-sync'] += [
|
|
|
|
'modules/addonsreconciler.js',
|
|
|
|
'modules/addonutils.js',
|
2017-03-02 11:21:53 +03:00
|
|
|
'modules/bookmark_repair.js',
|
2016-04-26 18:58:32 +03:00
|
|
|
'modules/bookmark_validator.js',
|
2014-07-28 23:24:01 +04:00
|
|
|
'modules/browserid_identity.js',
|
2017-03-02 08:14:51 +03:00
|
|
|
'modules/collection_repair.js',
|
2016-09-06 20:38:49 +03:00
|
|
|
'modules/collection_validator.js',
|
2017-03-02 09:14:31 +03:00
|
|
|
'modules/doctor.js',
|
2014-07-28 23:24:01 +04:00
|
|
|
'modules/engines.js',
|
|
|
|
'modules/keys.js',
|
|
|
|
'modules/main.js',
|
|
|
|
'modules/policies.js',
|
|
|
|
'modules/record.js',
|
|
|
|
'modules/resource.js',
|
|
|
|
'modules/rest.js',
|
|
|
|
'modules/service.js',
|
|
|
|
'modules/status.js',
|
2015-12-01 05:07:21 +03:00
|
|
|
'modules/SyncedTabs.jsm',
|
2016-07-11 20:37:23 +03:00
|
|
|
'modules/telemetry.js',
|
2014-07-28 23:24:01 +04:00
|
|
|
'modules/util.js',
|
|
|
|
]
|
|
|
|
|
2015-09-09 11:13:57 +03:00
|
|
|
EXTRA_PP_JS_MODULES['services-sync'] += [
|
|
|
|
'modules/constants.js',
|
|
|
|
]
|
|
|
|
|
|
|
|
# Definitions used by constants.js
|
2017-03-07 01:53:55 +03:00
|
|
|
DEFINES['weave_version'] = '1.57.0'
|
2015-09-09 11:13:57 +03:00
|
|
|
DEFINES['weave_id'] = '{340c2bbc-ce74-4362-90b5-7c26312808ef}'
|
|
|
|
|
2014-07-28 23:24:01 +04:00
|
|
|
EXTRA_JS_MODULES['services-sync'].engines += [
|
|
|
|
'modules/engines/addons.js',
|
|
|
|
'modules/engines/bookmarks.js',
|
|
|
|
'modules/engines/clients.js',
|
2016-09-08 21:23:12 +03:00
|
|
|
'modules/engines/extension-storage.js',
|
2014-07-28 23:24:01 +04:00
|
|
|
'modules/engines/forms.js',
|
|
|
|
'modules/engines/history.js',
|
|
|
|
'modules/engines/passwords.js',
|
|
|
|
'modules/engines/prefs.js',
|
|
|
|
'modules/engines/tabs.js',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXTRA_JS_MODULES['services-sync'].stages += [
|
|
|
|
'modules/stages/declined.js',
|
|
|
|
'modules/stages/enginesync.js',
|
|
|
|
]
|
|
|
|
|
2014-07-03 03:43:41 +04:00
|
|
|
TESTING_JS_MODULES.services.sync += [
|
|
|
|
'modules-testing/fakeservices.js',
|
|
|
|
'modules-testing/fxa_utils.js',
|
|
|
|
'modules-testing/rotaryengine.js',
|
|
|
|
'modules-testing/utils.js',
|
|
|
|
]
|
2015-01-20 21:07:03 +03:00
|
|
|
|
2017-03-02 09:14:31 +03:00
|
|
|
JS_PREFERENCE_PP_FILES += [
|
2015-01-20 21:07:03 +03:00
|
|
|
'services-sync.js',
|
|
|
|
]
|