services/moz.build
author Ralph Giles <giles@mozilla.com>
Mon, 28 Jul 2014 13:36:00 -0700
changeset 218571 30b20d83771751123bb5b1935036a39ac11d5ed5
parent 218082 22850cacf0f9527a7408375aa9270ebe835175a4
child 224244 2df073cb512c562a9b74d40858db73bef0ff511f
permissions -rw-r--r--
Bug 941296 - Check for CoreMedia headers in configure. r=ted We build against the CoreMedia framework headers which are only available on 10.7 and later, although we run on 10.6. Check that this framework is available an configure time and print a relevant error message in case someone passes --with-macos-sdk=/Developer/SDKs/MacOSX10.6.sdk.

# -*- 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',
    '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']:
    DIRS += ['mobileid']

SPHINX_TREES['services'] = 'docs'