build/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 25 Oct 2013 08:23:05 +0900
changeset 152035 5dd08c88e328c4b821f5880340d15eaff8b3f92b
parent 150312 905feca3578b4aef357eefaa0eb26e0ee98401aa
child 156201 05e66d941de21f4edbb22801c740878474d23b72
permissions -rw-r--r--
Bug 929905 - Consolidate sources in moz.build. r=gps

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

if CONFIG['OS_ARCH'] not in ('WINNT', 'OS2'):
    DIRS += ['unix']
elif CONFIG['OS_ARCH'] == 'WINNT':
    DIRS += ['win32']

if CONFIG['OS_TARGET'] == 'Android' and not CONFIG['MOZ_ANDROID_LIBSTDCXX']:
    DIRS += ['stlport']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
    DIRS += ['annotationProcessors']
    TEST_DIRS += [
        'mobile/sutagent/android',
        'mobile/sutagent/android/watcher',
        'mobile/sutagent/android/ffxcp',
        'mobile/sutagent/android/fencp',
        'mobile/robocop',
    ]

MODULE = 'build'