services/sync/moz.build
author Dave Townsend <dtownsend@oxymoronical.com>
Fri, 11 Jan 2019 17:23:11 +0000
changeset 513494 eace4709948cdf060a36a60c00eeb286cb7acb17
parent 476386 1c6cfeb419c3157fc3dd6ae564358f7af8ca9cd1
child 519948 38e1e42a0fb010f7dc15df14cfbe4e8d7a897165
permissions -rw-r--r--
Bug 1518799: Show a custom page on startup on Nightly on a specific date. r=Gijs We want to show an informative message about dedicated profiles per channel to users of Nightly on a specific date. We currently only have the ability to do this when the version changes. This adds the ability to show a page once on startup on a specific date. This will probably be backed out past that date. Differential Revision: https://phabricator.services.mozilla.com/D16249

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

with Files('**'):
    BUG_COMPONENT = ('Firefox', 'Sync')

DIRS += ['locales']

XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']

EXTRA_COMPONENTS += [
    'SyncComponents.manifest',
    'Weave.js',
]

EXTRA_JS_MODULES['services-sync'] += [
    'modules/addonsreconciler.js',
    'modules/addonutils.js',
    'modules/bookmark_repair.js',
    'modules/bookmark_validator.js',
    'modules/browserid_identity.js',
    'modules/collection_repair.js',
    'modules/collection_validator.js',
    'modules/constants.js',
    'modules/doctor.js',
    'modules/engines.js',
    'modules/keys.js',
    'modules/main.js',
    'modules/policies.js',
    'modules/record.js',
    'modules/resource.js',
    'modules/service.js',
    'modules/status.js',
    'modules/SyncDisconnect.jsm',
    'modules/SyncedTabs.jsm',
    'modules/telemetry.js',
    'modules/UIState.jsm',
    'modules/util.js',
]

EXTRA_JS_MODULES['services-sync'].engines += [
    'modules/engines/addons.js',
    'modules/engines/bookmarks.js',
    'modules/engines/clients.js',
    'modules/engines/extension-storage.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/declined.js',
    'modules/stages/enginesync.js',
]

TESTING_JS_MODULES.services.sync += [
    'modules-testing/fakeservices.js',
    'modules-testing/fxa_utils.js',
    'modules-testing/rotaryengine.js',
    'modules-testing/utils.js',
]

JS_PREFERENCE_PP_FILES += [
    'services-sync.js',
]