build/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Mon, 15 Jul 2013 18:48:39 +0900
changeset 138498 926141b660e5db51975f2f46e2dfc27e9b6eb228
parent 134111 8b379faea0965b1405e67a59f8cb19ec20602467
child 150312 905feca3578b4aef357eefaa0eb26e0ee98401aa
permissions -rw-r--r--
Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted

# -*- 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':
    TEST_DIRS += [
        'mobile/sutagent/android',
        'mobile/sutagent/android/watcher',
        'mobile/sutagent/android/ffxcp',
        'mobile/sutagent/android/fencp',
        'mobile/robocop',
    ]

MODULE = 'build'