2018-01-19 03:59:58 +08:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
|
|
|
# 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/.
|
|
|
|
|
|
2020-01-29 15:13:55 +01:00
|
|
|
DIRS += [
|
|
|
|
|
'common',
|
|
|
|
|
'data',
|
|
|
|
|
'i18n',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ICU_DATA_ARCHIVE']:
|
|
|
|
|
DIRS += ['stubdata']
|
|
|
|
|
USE_LIBS += ['icustubdata']
|
2023-03-19 00:08:48 +08:00
|
|
|
Library('icu')
|
2018-01-19 03:59:58 +08:00
|
|
|
else:
|
2020-01-29 15:13:55 +01:00
|
|
|
USE_LIBS += ['icudata']
|
2023-03-19 00:08:48 +08:00
|
|
|
SharedLibrary('icu')
|
|
|
|
|
SHARED_LIBRARY_NAME = 'icu' + CONFIG['MOZ_ICU_VERSION']
|
2023-03-26 13:14:10 +08:00
|
|
|
# Linking ICU gets too spammy in warnings with MSVC
|
|
|
|
|
if CONFIG['_MSC_VER'] and not CONFIG['CLANG_CL']:
|
|
|
|
|
LDFLAGS += [
|
|
|
|
|
'/IGNORE:4217', # symbol defined in $1.obj is defined in $2.obj
|
|
|
|
|
'/IGNORE:4286', # similar with LNK4217
|
|
|
|
|
]
|