services/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 06 Oct 2015 12:13:33 +0900
changeset 302729 0dba8a2a8679479c72c07931f3762288d72fccc0
parent 294021 a6c8af1c08d4d2de320596c5040183d30914af79
child 316178 3e7dc6d87325ce8f6d817e7f0bad096152cc8aef
permissions -rw-r--r--
Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg The configure option has explicitly thrown an error for more than a year now, and it happens that the remaining way to still forcefully use it has been broken for more than 8 months.

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