2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:24 +00: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 19:43:45 +00:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Mozilla Services', 'Firefox Sync: Backend')
|
|
|
|
|
2013-02-25 20:47:24 +00:00
|
|
|
DIRS += ['locales']
|
2015-02-10 16:47:24 +00:00
|
|
|
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
2013-06-11 20:38:22 +00:00
|
|
|
|
|
|
|
EXTRA_COMPONENTS += [
|
2014-02-05 16:08:14 +00:00
|
|
|
'SyncComponents.manifest',
|
2015-12-22 07:14:00 +00:00
|
|
|
'Weave.js',
|
2014-02-05 16:08:14 +00:00
|
|
|
]
|
2014-07-02 23:43:41 +00:00
|
|
|
|
2014-07-28 19:24:01 +00:00
|
|
|
EXTRA_JS_MODULES['services-sync'] += [
|
|
|
|
'modules/addonsreconciler.js',
|
|
|
|
'modules/addonutils.js',
|
2016-04-26 15:58:32 +00:00
|
|
|
'modules/bookmark_utils.js',
|
|
|
|
'modules/bookmark_validator.js',
|
2014-07-28 19:24:01 +00:00
|
|
|
'modules/browserid_identity.js',
|
|
|
|
'modules/engines.js',
|
2014-12-06 00:46:16 +00:00
|
|
|
'modules/FxaMigrator.jsm',
|
2014-07-28 19:24:01 +00:00
|
|
|
'modules/identity.js',
|
|
|
|
'modules/jpakeclient.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 02:07:21 +00:00
|
|
|
'modules/SyncedTabs.jsm',
|
2014-07-28 19:24:01 +00:00
|
|
|
'modules/userapi.js',
|
|
|
|
'modules/util.js',
|
|
|
|
]
|
|
|
|
|
2015-09-09 08:13:57 +00:00
|
|
|
EXTRA_PP_JS_MODULES['services-sync'] += [
|
|
|
|
'modules/constants.js',
|
|
|
|
]
|
|
|
|
|
|
|
|
# Definitions used by constants.js
|
2016-06-06 19:18:13 +00:00
|
|
|
DEFINES['weave_version'] = '1.52.0'
|
2015-09-09 08:13:57 +00:00
|
|
|
DEFINES['weave_id'] = '{340c2bbc-ce74-4362-90b5-7c26312808ef}'
|
|
|
|
|
2014-07-28 19:24:01 +00:00
|
|
|
EXTRA_JS_MODULES['services-sync'].engines += [
|
|
|
|
'modules/engines/addons.js',
|
|
|
|
'modules/engines/bookmarks.js',
|
|
|
|
'modules/engines/clients.js',
|
|
|
|
'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/cluster.js',
|
|
|
|
'modules/stages/declined.js',
|
|
|
|
'modules/stages/enginesync.js',
|
|
|
|
]
|
|
|
|
|
2014-07-02 23:43:41 +00: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 18:07:03 +00:00
|
|
|
|
|
|
|
JS_PREFERENCE_FILES += [
|
|
|
|
'services-sync.js',
|
|
|
|
]
|