# -*- 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/. DIRS += [ 'common', 'data', 'i18n', ] if CONFIG['MOZ_ICU_DATA_ARCHIVE']: DIRS += ['stubdata'] USE_LIBS += ['icustubdata'] Library('icu') else: USE_LIBS += ['icudata'] SharedLibrary('icu') SHARED_LIBRARY_NAME = 'icu' + CONFIG['MOZ_ICU_VERSION'] # 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 ]