2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; 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: Common')
|
|
|
|
|
2013-02-26 00:47:24 +04:00
|
|
|
TEST_DIRS += ['tests']
|
2013-06-12 00:38:22 +04:00
|
|
|
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'servicesComponents.manifest',
|
|
|
|
]
|
2014-07-03 03:43:41 +04:00
|
|
|
|
2014-07-28 23:24:01 +04:00
|
|
|
EXTRA_JS_MODULES['services-common'] += [
|
2015-02-18 00:06:00 +03:00
|
|
|
'logmanager.js',
|
2015-10-30 12:01:58 +03:00
|
|
|
'moz-kinto-client.js',
|
2014-07-28 23:24:01 +04:00
|
|
|
'stringbundle.js',
|
|
|
|
'utils.js',
|
|
|
|
]
|
|
|
|
|
2015-08-25 21:28:41 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android' or CONFIG['MOZ_B2GDROID']:
|
2015-03-31 01:02:51 +03:00
|
|
|
EXTRA_JS_MODULES['services-common'] += [
|
|
|
|
'hawkclient.js',
|
|
|
|
'hawkrequest.js',
|
|
|
|
'tokenserverclient.js',
|
|
|
|
]
|
|
|
|
|
|
|
|
TESTING_JS_MODULES.services.common += [
|
|
|
|
'modules-testing/storageserver.js',
|
|
|
|
]
|
|
|
|
|
2014-07-28 23:24:01 +04:00
|
|
|
EXTRA_PP_JS_MODULES['services-common'] += [
|
|
|
|
'async.js',
|
|
|
|
'observers.js',
|
|
|
|
'rest.js',
|
|
|
|
]
|
|
|
|
|
2014-07-03 03:43:41 +04:00
|
|
|
TESTING_JS_MODULES.services.common += [
|
|
|
|
'modules-testing/logging.js',
|
|
|
|
'modules-testing/utils.js',
|
|
|
|
]
|
2015-01-20 21:07:03 +03:00
|
|
|
|
|
|
|
JS_PREFERENCE_FILES += [
|
|
|
|
'services-common.js',
|
|
|
|
]
|
|
|
|
|