services/moz.build
author Brian Hackett <bhackett1024@gmail.com>
Sun, 13 Sep 2015 16:55:58 -0600
changeset 262257 124d73f46e52640746f0414f951f717bb1c97b93
parent 259717 a6c8af1c08d4d2de320596c5040183d30914af79
child 279196 3e7dc6d87325ce8f6d817e7f0bad096152cc8aef
permissions -rw-r--r--
Bug 1198861 - Backout faaafe8c3d1e for massive regressions.

# -*- 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/.

DIRS += [
    'common',
    'crypto',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android' or CONFIG['MOZ_B2GDROID']:
    DIRS += ['fxaccounts']

if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
    # MOZ_SERVICES_HEALTHREPORT and therefore MOZ_DATA_REPORTING are
    # defined on Android, but these features are implemented using Java.
    if CONFIG['MOZ_SERVICES_HEALTHREPORT']:
        DIRS += ['healthreport']

    if CONFIG['MOZ_DATA_REPORTING']:
        DIRS += ['datareporting']

if CONFIG['MOZ_SERVICES_METRICS']:
    DIRS += ['metrics']

if CONFIG['MOZ_SERVICES_SYNC']:
    DIRS += ['sync']

if CONFIG['MOZ_B2G'] or CONFIG['MOZ_B2GDROID']:
    DIRS += ['mobileid']

if CONFIG['MOZ_SERVICES_CLOUDSYNC']:
    DIRS += ['cloudsync']

SPHINX_TREES['services'] = 'docs'