services/common/moz.build
author Andrew McCreight <continuation@gmail.com>
Fri, 27 May 2016 14:54:30 -0700
changeset 372394 94308fa7a31673a90a9741f16a1dd7a6f268bafc
parent 370349 dc96a1440e3c4f29da67e6eb8b6b6004a021bc7f
child 380126 086cf743fdb2ada10f46c775120be1d68b076c8e
child 387694 d4aea6d5d2f8271d272969832603fc86e982f5f2
permissions -rw-r--r--
Bug 1276318, part 1 - Fix leading tabs in ipc/glue. r=billm Also remove a weird mode line so the script can fix it more easily in the next part.

# -*- Mode: python; c-basic-offset: 4; 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 = ('Mozilla 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',
    'logmanager.js',
    'observers.js',
    'rest.js',
    'stringbundle.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',
    'modules-testing/utils.js',
]

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