services/moz.build
author Nick Alexander <nalexander@mozilla.com>
Sun, 12 May 2013 20:31:53 -0700
changeset 138437 7130e5134a6e34cc4873c60b9c0eb2af03dee490
parent 133646 5f4f68f0041964124afe3ee7012de446c946c2df
child 167562 dcfc0e0e663d47527815de8bbd24bd7a6d3667e6
permissions -rw-r--r--
Bug 857419 - Follow-up: don't build services/{datareporting,healthreport} on Android. r=rnewman

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

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

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']:
        PARALLEL_DIRS += ['healthreport']

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

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

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