services/common/moz.build
author Ben Kelly <ben@wanderview.com>
Mon, 04 Dec 2017 09:51:32 -0500
changeset 446638 7ba9a363b3d2ae4bb0460fafc7279196754211b0
parent 430752 7ddc2c24550bcc5be6f00823bd7f6cd9ff77fbc4
child 446461 01e391e9a2d21a89c641de8c794f704a7de255b9
permissions -rw-r--r--
Bug 1420594 P1 Make ClientManagerService track active ClientManagerParent actors. r=baku

# -*- 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 = ('Cloud Services', 'Firefox: Common')

TEST_DIRS += ['tests']

EXTRA_COMPONENTS += [
    'servicesComponents.manifest',
]

EXTRA_JS_MODULES['services-common'] += [
    'async.js',
    'blocklist-clients.js',
    'blocklist-updater.js',
    'kinto-http-client.js',
    'kinto-offline-client.js',
    'kinto-storage-adapter.js',
    'logmanager.js',
    'observers.js',
    'rest.js',
    'uptake-telemetry.js',
    'utils.js',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
    EXTRA_JS_MODULES['services-common'] += [
        'hawkclient.js',
        'hawkrequest.js',
        'tokenserverclient.js',
    ]

    TESTING_JS_MODULES.services.common += [
        'modules-testing/storageserver.js',
    ]

TESTING_JS_MODULES.services.common += [
    'modules-testing/logging.js',
]

JS_PREFERENCE_FILES += [
    'services-common.js',
]