2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +04:00
|
|
|
# vim: set filetype=python:
|
2012-05-21 15:12:37 +04:00
|
|
|
# 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/.
|
2014-08-07 09:21:03 +04:00
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
Library('icu')
|
2014-08-07 09:21:03 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_NATIVE_ICU']:
|
|
|
|
OS_LIBS += CONFIG['MOZ_ICU_LIBS']
|
|
|
|
else:
|
2014-08-09 02:54:57 +04:00
|
|
|
# Order needs to be preserved
|
|
|
|
for l in CONFIG['ICU_LIB_NAMES']:
|
|
|
|
USE_LIBS += ['%s/intl/icu/target/lib/%s%s' % (
|
2014-08-07 09:21:03 +04:00
|
|
|
'static:' if not CONFIG['MOZ_SHARED_ICU'] else '',
|
|
|
|
l,
|
|
|
|
CONFIG['MOZ_ICU_DBG_SUFFIX']
|
2014-08-09 02:54:57 +04:00
|
|
|
)]
|
2015-04-21 11:31:38 +03:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
OS_LIBS += [
|
|
|
|
'gabi++',
|
|
|
|
]
|
2015-10-20 08:25:44 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android' and CONFIG['MOZ_ANDROID_CXX_STL'] == 'mozstlport':
|
|
|
|
USE_LIBS += [
|
|
|
|
'gabi++'
|
|
|
|
]
|