services/moz.build
author Peter Van der Beken <peterv@propagandism.org>
Fri, 02 Dec 2016 18:24:27 +0100
changeset 461974 778f65148b4009b087c6e7789ffe486a5349922c
parent 288509 a6c8af1c08d4d2de320596c5040183d30914af79
child 320134 3e7dc6d87325ce8f6d817e7f0bad096152cc8aef
permissions -rw-r--r--
Bug 1287912. r=bz a=lizzard

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