services/moz.build
author Wes Kocher <wkocher@mozilla.com>
Mon, 19 Oct 2015 16:21:44 -0700
changeset 268403 19c3ba35bcaefc29534fade508fd077e509ed194
parent 259765 a6c8af1c08d4d2de320596c5040183d30914af79
child 279197 3e7dc6d87325ce8f6d817e7f0bad096152cc8aef
permissions -rw-r--r--
Backed out changeset 668563c7fab8 (bug 1214077) for build failures

# -*- 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'