diff options
author | Matt A. Tobin <email@mattatobin.com> | 2021-11-25 10:18:03 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2021-11-25 10:18:03 -0500 |
commit | 06dc986c50a219a08a87c3625460695020583ee5 (patch) | |
tree | 22a07f7a3fd3f80902ee218126f706f84038ff9e /config | |
parent | 4dbf697637d720d49dbb9bb541b88a01fd4ec99e (diff) | |
download | aura-central-06dc986c50a219a08a87c3625460695020583ee5.tar.gz |
Issue %3003 - Move icu to libs
Diffstat (limited to 'config')
-rw-r--r-- | config/external/icu/common/Makefile.in | 11 | ||||
-rw-r--r-- | config/external/icu/common/moz.build | 17 | ||||
-rw-r--r-- | config/external/icu/common/sources.mozbuild | 281 | ||||
-rw-r--r-- | config/external/icu/data/icudata.s | 31 | ||||
-rw-r--r-- | config/external/icu/data/icudata_gas.S | 12 | ||||
-rw-r--r-- | config/external/icu/data/icudt58l.dat | bin | 11697648 -> 0 bytes | |||
-rw-r--r-- | config/external/icu/data/moz.build | 30 | ||||
-rw-r--r-- | config/external/icu/defs.mozbuild | 59 | ||||
-rw-r--r-- | config/external/icu/i18n/Makefile.in | 11 | ||||
-rw-r--r-- | config/external/icu/i18n/moz.build | 14 | ||||
-rw-r--r-- | config/external/icu/i18n/sources.mozbuild | 280 | ||||
-rw-r--r-- | config/external/icu/moz.build | 18 | ||||
-rw-r--r-- | config/external/icu/stubdata/moz.build | 12 |
13 files changed, 0 insertions, 776 deletions
diff --git a/config/external/icu/common/Makefile.in b/config/external/icu/common/Makefile.in deleted file mode 100644 index e1b45580f..000000000 --- a/config/external/icu/common/Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ -# -*- Mode: python; c-basic-offset: 4; 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/. - -include $(topsrcdir)/config/rules.mk - -ifdef _MSC_VER -CXXFLAGS := $(filter-out -GR-,$(CXXFLAGS)) -CFLAGS := $(filter-out -GR-,$(CFLAGS)) -endif diff --git a/config/external/icu/common/moz.build b/config/external/icu/common/moz.build deleted file mode 100644 index 61be0d568..000000000 --- a/config/external/icu/common/moz.build +++ /dev/null @@ -1,17 +0,0 @@ -# -*- 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/. - -Library('icuuc') -FINAL_LIBRARY = 'icu' - -DEFINES['U_COMMON_IMPLEMENTATION'] = True -# This normally gets defined in the SDK but our WINVER is too low. -#FIXME: should probably stop including mozilla-config.h -DEFINES['LOCALE_SNAME'] = 0x5c - -LOCAL_INCLUDES += ['/intl/icu/source/i18n'] - -include('../defs.mozbuild') -include('sources.mozbuild') diff --git a/config/external/icu/common/sources.mozbuild b/config/external/icu/common/sources.mozbuild deleted file mode 100644 index 562cd9133..000000000 --- a/config/external/icu/common/sources.mozbuild +++ /dev/null @@ -1,281 +0,0 @@ -# THIS FILE IS GENERATED BY /intl/icu_sources_data.py DO NOT EDIT -SOURCES += [ - '/intl/icu/source/common/appendable.cpp', - '/intl/icu/source/common/bmpset.cpp', - '/intl/icu/source/common/brkeng.cpp', - '/intl/icu/source/common/brkiter.cpp', - '/intl/icu/source/common/bytestream.cpp', - '/intl/icu/source/common/bytestrie.cpp', - '/intl/icu/source/common/bytestriebuilder.cpp', - '/intl/icu/source/common/bytestrieiterator.cpp', - '/intl/icu/source/common/caniter.cpp', - '/intl/icu/source/common/chariter.cpp', - '/intl/icu/source/common/charstr.cpp', - '/intl/icu/source/common/cmemory.c', - '/intl/icu/source/common/cstr.cpp', - '/intl/icu/source/common/cstring.c', - '/intl/icu/source/common/cwchar.c', - '/intl/icu/source/common/dictbe.cpp', - '/intl/icu/source/common/dictionarydata.cpp', - '/intl/icu/source/common/dtintrv.cpp', - '/intl/icu/source/common/errorcode.cpp', - '/intl/icu/source/common/filteredbrk.cpp', - '/intl/icu/source/common/filterednormalizer2.cpp', - '/intl/icu/source/common/icudataver.c', - '/intl/icu/source/common/icuplug.cpp', - '/intl/icu/source/common/listformatter.cpp', - '/intl/icu/source/common/loadednormalizer2impl.cpp', - '/intl/icu/source/common/locavailable.cpp', - '/intl/icu/source/common/locbased.cpp', - '/intl/icu/source/common/locdispnames.cpp', - '/intl/icu/source/common/locdspnm.cpp', - '/intl/icu/source/common/locid.cpp', - '/intl/icu/source/common/loclikely.cpp', - '/intl/icu/source/common/locmap.c', - '/intl/icu/source/common/locresdata.cpp', - '/intl/icu/source/common/locutil.cpp', - '/intl/icu/source/common/messagepattern.cpp', - '/intl/icu/source/common/normalizer2.cpp', - '/intl/icu/source/common/normalizer2impl.cpp', - '/intl/icu/source/common/normlzr.cpp', - '/intl/icu/source/common/parsepos.cpp', - '/intl/icu/source/common/patternprops.cpp', - '/intl/icu/source/common/pluralmap.cpp', - '/intl/icu/source/common/propname.cpp', - '/intl/icu/source/common/propsvec.c', - '/intl/icu/source/common/punycode.cpp', - '/intl/icu/source/common/putil.cpp', - '/intl/icu/source/common/rbbi.cpp', - '/intl/icu/source/common/rbbidata.cpp', - '/intl/icu/source/common/rbbinode.cpp', - '/intl/icu/source/common/rbbirb.cpp', - '/intl/icu/source/common/rbbiscan.cpp', - '/intl/icu/source/common/rbbisetb.cpp', - '/intl/icu/source/common/rbbistbl.cpp', - '/intl/icu/source/common/rbbitblb.cpp', - '/intl/icu/source/common/resbund.cpp', - '/intl/icu/source/common/resbund_cnv.cpp', - '/intl/icu/source/common/resource.cpp', - '/intl/icu/source/common/ruleiter.cpp', - '/intl/icu/source/common/schriter.cpp', - '/intl/icu/source/common/serv.cpp', - '/intl/icu/source/common/servlk.cpp', - '/intl/icu/source/common/servlkf.cpp', - '/intl/icu/source/common/servls.cpp', - '/intl/icu/source/common/servnotf.cpp', - '/intl/icu/source/common/servrbf.cpp', - '/intl/icu/source/common/servslkf.cpp', - '/intl/icu/source/common/sharedobject.cpp', - '/intl/icu/source/common/simpleformatter.cpp', - '/intl/icu/source/common/stringpiece.cpp', - '/intl/icu/source/common/stringtriebuilder.cpp', - '/intl/icu/source/common/uarrsort.c', - '/intl/icu/source/common/ubidi.c', - '/intl/icu/source/common/ubidi_props.c', - '/intl/icu/source/common/ubidiln.c', - '/intl/icu/source/common/ubiditransform.c', - '/intl/icu/source/common/ubidiwrt.c', - '/intl/icu/source/common/ubrk.cpp', - '/intl/icu/source/common/ucase.cpp', - '/intl/icu/source/common/ucasemap.cpp', - '/intl/icu/source/common/ucasemap_titlecase_brkiter.cpp', - '/intl/icu/source/common/ucat.c', - '/intl/icu/source/common/uchar.c', - '/intl/icu/source/common/ucharstrie.cpp', - '/intl/icu/source/common/ucharstriebuilder.cpp', - '/intl/icu/source/common/ucharstrieiterator.cpp', - '/intl/icu/source/common/uchriter.cpp', - '/intl/icu/source/common/ucln_cmn.cpp', - '/intl/icu/source/common/ucmndata.c', - '/intl/icu/source/common/ucnv.c', - '/intl/icu/source/common/ucnv2022.cpp', - '/intl/icu/source/common/ucnv_bld.cpp', - '/intl/icu/source/common/ucnv_cb.c', - '/intl/icu/source/common/ucnv_cnv.c', - '/intl/icu/source/common/ucnv_ct.c', - '/intl/icu/source/common/ucnv_err.c', - '/intl/icu/source/common/ucnv_ext.cpp', - '/intl/icu/source/common/ucnv_io.cpp', - '/intl/icu/source/common/ucnv_lmb.c', - '/intl/icu/source/common/ucnv_set.c', - '/intl/icu/source/common/ucnv_u16.c', - '/intl/icu/source/common/ucnv_u32.c', - '/intl/icu/source/common/ucnv_u7.c', - '/intl/icu/source/common/ucnv_u8.c', - '/intl/icu/source/common/ucnvbocu.cpp', - '/intl/icu/source/common/ucnvdisp.c', - '/intl/icu/source/common/ucnvhz.c', - '/intl/icu/source/common/ucnvisci.c', - '/intl/icu/source/common/ucnvlat1.c', - '/intl/icu/source/common/ucnvmbcs.cpp', - '/intl/icu/source/common/ucnvscsu.c', - '/intl/icu/source/common/ucnvsel.cpp', - '/intl/icu/source/common/ucol_swp.cpp', - '/intl/icu/source/common/ucurr.cpp', - '/intl/icu/source/common/udata.cpp', - '/intl/icu/source/common/udatamem.c', - '/intl/icu/source/common/udataswp.c', - '/intl/icu/source/common/uenum.c', - '/intl/icu/source/common/uhash.c', - '/intl/icu/source/common/uhash_us.cpp', - '/intl/icu/source/common/uidna.cpp', - '/intl/icu/source/common/uinit.cpp', - '/intl/icu/source/common/uinvchar.c', - '/intl/icu/source/common/uiter.cpp', - '/intl/icu/source/common/ulist.c', - '/intl/icu/source/common/ulistformatter.cpp', - '/intl/icu/source/common/uloc.cpp', - '/intl/icu/source/common/uloc_keytype.cpp', - '/intl/icu/source/common/uloc_tag.c', - '/intl/icu/source/common/umapfile.c', - '/intl/icu/source/common/umath.c', - '/intl/icu/source/common/umutex.cpp', - '/intl/icu/source/common/unames.cpp', - '/intl/icu/source/common/unifiedcache.cpp', - '/intl/icu/source/common/unifilt.cpp', - '/intl/icu/source/common/unifunct.cpp', - '/intl/icu/source/common/uniset.cpp', - '/intl/icu/source/common/uniset_closure.cpp', - '/intl/icu/source/common/uniset_props.cpp', - '/intl/icu/source/common/unisetspan.cpp', - '/intl/icu/source/common/unistr.cpp', - '/intl/icu/source/common/unistr_case.cpp', - '/intl/icu/source/common/unistr_case_locale.cpp', - '/intl/icu/source/common/unistr_cnv.cpp', - '/intl/icu/source/common/unistr_props.cpp', - '/intl/icu/source/common/unistr_titlecase_brkiter.cpp', - '/intl/icu/source/common/unorm.cpp', - '/intl/icu/source/common/unormcmp.cpp', - '/intl/icu/source/common/uobject.cpp', - '/intl/icu/source/common/uprops.cpp', - '/intl/icu/source/common/ures_cnv.c', - '/intl/icu/source/common/uresbund.cpp', - '/intl/icu/source/common/uresdata.cpp', - '/intl/icu/source/common/usc_impl.c', - '/intl/icu/source/common/uscript.c', - '/intl/icu/source/common/uscript_props.cpp', - '/intl/icu/source/common/uset.cpp', - '/intl/icu/source/common/uset_props.cpp', - '/intl/icu/source/common/usetiter.cpp', - '/intl/icu/source/common/ushape.cpp', - '/intl/icu/source/common/usprep.cpp', - '/intl/icu/source/common/ustack.cpp', - '/intl/icu/source/common/ustr_cnv.cpp', - '/intl/icu/source/common/ustr_titlecase_brkiter.cpp', - '/intl/icu/source/common/ustr_wcs.cpp', - '/intl/icu/source/common/ustrcase.cpp', - '/intl/icu/source/common/ustrcase_locale.cpp', - '/intl/icu/source/common/ustrenum.cpp', - '/intl/icu/source/common/ustrfmt.c', - '/intl/icu/source/common/ustring.cpp', - '/intl/icu/source/common/ustrtrns.cpp', - '/intl/icu/source/common/utext.cpp', - '/intl/icu/source/common/utf_impl.c', - '/intl/icu/source/common/util.cpp', - '/intl/icu/source/common/util_props.cpp', - '/intl/icu/source/common/utrace.c', - '/intl/icu/source/common/utrie.cpp', - '/intl/icu/source/common/utrie2.cpp', - '/intl/icu/source/common/utrie2_builder.cpp', - '/intl/icu/source/common/uts46.cpp', - '/intl/icu/source/common/utypes.c', - '/intl/icu/source/common/uvector.cpp', - '/intl/icu/source/common/uvectr32.cpp', - '/intl/icu/source/common/uvectr64.cpp', - '/intl/icu/source/common/wintz.c', -] - -EXPORTS.unicode += [ - '/intl/icu/source/common/unicode/appendable.h', - '/intl/icu/source/common/unicode/brkiter.h', - '/intl/icu/source/common/unicode/bytestream.h', - '/intl/icu/source/common/unicode/bytestrie.h', - '/intl/icu/source/common/unicode/bytestriebuilder.h', - '/intl/icu/source/common/unicode/caniter.h', - '/intl/icu/source/common/unicode/chariter.h', - '/intl/icu/source/common/unicode/dbbi.h', - '/intl/icu/source/common/unicode/docmain.h', - '/intl/icu/source/common/unicode/dtintrv.h', - '/intl/icu/source/common/unicode/enumset.h', - '/intl/icu/source/common/unicode/errorcode.h', - '/intl/icu/source/common/unicode/filteredbrk.h', - '/intl/icu/source/common/unicode/icudataver.h', - '/intl/icu/source/common/unicode/icuplug.h', - '/intl/icu/source/common/unicode/idna.h', - '/intl/icu/source/common/unicode/listformatter.h', - '/intl/icu/source/common/unicode/localpointer.h', - '/intl/icu/source/common/unicode/locdspnm.h', - '/intl/icu/source/common/unicode/locid.h', - '/intl/icu/source/common/unicode/messagepattern.h', - '/intl/icu/source/common/unicode/normalizer2.h', - '/intl/icu/source/common/unicode/normlzr.h', - '/intl/icu/source/common/unicode/parseerr.h', - '/intl/icu/source/common/unicode/parsepos.h', - '/intl/icu/source/common/unicode/platform.h', - '/intl/icu/source/common/unicode/ptypes.h', - '/intl/icu/source/common/unicode/putil.h', - '/intl/icu/source/common/unicode/rbbi.h', - '/intl/icu/source/common/unicode/rep.h', - '/intl/icu/source/common/unicode/resbund.h', - '/intl/icu/source/common/unicode/schriter.h', - '/intl/icu/source/common/unicode/simpleformatter.h', - '/intl/icu/source/common/unicode/std_string.h', - '/intl/icu/source/common/unicode/strenum.h', - '/intl/icu/source/common/unicode/stringpiece.h', - '/intl/icu/source/common/unicode/stringtriebuilder.h', - '/intl/icu/source/common/unicode/symtable.h', - '/intl/icu/source/common/unicode/ubidi.h', - '/intl/icu/source/common/unicode/ubiditransform.h', - '/intl/icu/source/common/unicode/ubrk.h', - '/intl/icu/source/common/unicode/ucasemap.h', - '/intl/icu/source/common/unicode/ucat.h', - '/intl/icu/source/common/unicode/uchar.h', - '/intl/icu/source/common/unicode/ucharstrie.h', - '/intl/icu/source/common/unicode/ucharstriebuilder.h', - '/intl/icu/source/common/unicode/uchriter.h', - '/intl/icu/source/common/unicode/uclean.h', - '/intl/icu/source/common/unicode/ucnv.h', - '/intl/icu/source/common/unicode/ucnv_cb.h', - '/intl/icu/source/common/unicode/ucnv_err.h', - '/intl/icu/source/common/unicode/ucnvsel.h', - '/intl/icu/source/common/unicode/uconfig.h', - '/intl/icu/source/common/unicode/ucurr.h', - '/intl/icu/source/common/unicode/udata.h', - '/intl/icu/source/common/unicode/udisplaycontext.h', - '/intl/icu/source/common/unicode/uenum.h', - '/intl/icu/source/common/unicode/uidna.h', - '/intl/icu/source/common/unicode/uiter.h', - '/intl/icu/source/common/unicode/uldnames.h', - '/intl/icu/source/common/unicode/ulistformatter.h', - '/intl/icu/source/common/unicode/uloc.h', - '/intl/icu/source/common/unicode/umachine.h', - '/intl/icu/source/common/unicode/umisc.h', - '/intl/icu/source/common/unicode/unifilt.h', - '/intl/icu/source/common/unicode/unifunct.h', - '/intl/icu/source/common/unicode/unimatch.h', - '/intl/icu/source/common/unicode/uniset.h', - '/intl/icu/source/common/unicode/unistr.h', - '/intl/icu/source/common/unicode/unorm.h', - '/intl/icu/source/common/unicode/unorm2.h', - '/intl/icu/source/common/unicode/uobject.h', - '/intl/icu/source/common/unicode/urename.h', - '/intl/icu/source/common/unicode/urep.h', - '/intl/icu/source/common/unicode/ures.h', - '/intl/icu/source/common/unicode/uscript.h', - '/intl/icu/source/common/unicode/uset.h', - '/intl/icu/source/common/unicode/usetiter.h', - '/intl/icu/source/common/unicode/ushape.h', - '/intl/icu/source/common/unicode/usprep.h', - '/intl/icu/source/common/unicode/ustring.h', - '/intl/icu/source/common/unicode/ustringtrie.h', - '/intl/icu/source/common/unicode/utext.h', - '/intl/icu/source/common/unicode/utf.h', - '/intl/icu/source/common/unicode/utf16.h', - '/intl/icu/source/common/unicode/utf32.h', - '/intl/icu/source/common/unicode/utf8.h', - '/intl/icu/source/common/unicode/utf_old.h', - '/intl/icu/source/common/unicode/utrace.h', - '/intl/icu/source/common/unicode/utypes.h', - '/intl/icu/source/common/unicode/uvernum.h', - '/intl/icu/source/common/unicode/uversion.h', -] diff --git a/config/external/icu/data/icudata.s b/config/external/icu/data/icudata.s deleted file mode 100644 index a740f3260..000000000 --- a/config/external/icu/data/icudata.s +++ /dev/null @@ -1,31 +0,0 @@ -;; 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/. - -%ifdef PREFIX - %define DATA_SYMBOL _ %+ ICU_DATA_SYMBOL -%else - %define DATA_SYMBOL ICU_DATA_SYMBOL -%endif - -%ifidn __OUTPUT_FORMAT__,elf - %define FORMAT_ELF 1 -%elifidn __OUTPUT_FORMAT__,elf32 - %define FORMAT_ELF 1 -%elifidn __OUTPUT_FORMAT__,elf64 - %define FORMAT_ELF 1 -%else - %define FORMAT_ELF 0 -%endif - -%if FORMAT_ELF - global DATA_SYMBOL:data hidden - ; This is needed for ELF, otherwise the GNU linker assumes the stack is executable by default. - [SECTION .note.GNU-stack noalloc noexec nowrite progbits] -%else - global DATA_SYMBOL -%endif - -SECTION .rodata align=16 -DATA_SYMBOL: - incbin ICU_DATA_FILE diff --git a/config/external/icu/data/icudata_gas.S b/config/external/icu/data/icudata_gas.S deleted file mode 100644 index 7690ac9da..000000000 --- a/config/external/icu/data/icudata_gas.S +++ /dev/null @@ -1,12 +0,0 @@ -# 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 defined(__linux__) && defined(__ELF__) -.section .note.GNU-stack,"",%progbits -#endif -.global ICU_DATA_SYMBOL -.data -.balign 16 -ICU_DATA_SYMBOL: - .incbin ICU_DATA_FILE diff --git a/config/external/icu/data/icudt58l.dat b/config/external/icu/data/icudt58l.dat Binary files differdeleted file mode 100644 index be985f57c..000000000 --- a/config/external/icu/data/icudt58l.dat +++ /dev/null diff --git a/config/external/icu/data/moz.build b/config/external/icu/data/moz.build deleted file mode 100644 index 90b1fd7a1..000000000 --- a/config/external/icu/data/moz.build +++ /dev/null @@ -1,30 +0,0 @@ -# -*- 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/. - -if CONFIG['MOZ_ICU_DATA_ARCHIVE']: - # Copy the pre-built ICU data file to dist/bin. - FINAL_TARGET_FILES += [CONFIG['ICU_DATA_FILE']] - -# Build a library containing the ICU data for use in the JS shell, so that -# JSAPI consumers don't have to deal with setting ICU's data path. -Library('icudata') - -if CONFIG['OS_ARCH'] == 'WINNT': - if CONFIG['CPU_ARCH'] == 'x86': - ASFLAGS += ['-DPREFIX'] -elif CONFIG['OS_ARCH'] == 'Darwin': - ASFLAGS += ['-DPREFIX'] - -ASFLAGS += [ - '-DICU_DATA_FILE="%s"' % CONFIG['ICU_DATA_FILE'], - '-DICU_DATA_SYMBOL=icudt%s_dat' % CONFIG['MOZ_ICU_VERSION'], -] -LOCAL_INCLUDES += ['.'] - -if CONFIG['HAVE_YASM']: - USE_YASM = True - SOURCES += ['icudata.s'] -elif CONFIG['GNU_AS']: - SOURCES += ['icudata_gas.S'] diff --git a/config/external/icu/defs.mozbuild b/config/external/icu/defs.mozbuild deleted file mode 100644 index a6249783f..000000000 --- a/config/external/icu/defs.mozbuild +++ /dev/null @@ -1,59 +0,0 @@ -# -*- 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/. - -DEFINES.update( - # Don't use icu namespace automatically in client code. - U_USING_ICU_NAMESPACE = 0, - - # Don't include obsolete header files. - U_NO_DEFAULT_INCLUDE_UTF_HEADERS = 1, - - # Remove chunks of the library that we don't need (yet). - UCONFIG_NO_LEGACY_CONVERSION = True, - UCONFIG_NO_TRANSLITERATION = True, - UCONFIG_NO_REGULAR_EXPRESSIONS = True, - UCONFIG_NO_BREAK_ITERATION = True, - - # We don't need to pass data to and from legacy char* APIs. - U_CHARSET_IS_UTF8 = True, -) - -if not CONFIG['HAVE_LANGINFO_CODESET']: - DEFINES['U_HAVE_NL_LANGINFO_CODESET'] = 0 - -if CONFIG['MOZ_DEBUG']: - DEFINES['U_DEBUG'] = 1 - -# ICU requires RTTI -if CONFIG['GNU_CXX']: - CXXFLAGS += ['-frtti'] -elif CONFIG['OS_TARGET'] == 'WINNT': - CXXFLAGS += ['-GR'] - -DISABLE_STL_WRAPPING = True -ALLOW_COMPILER_WARNINGS = True - -# We allow compiler warnings, but we can at least cut down on spammy -# warnings that get triggered for every file. -if CONFIG['CLANG_CL']: - CFLAGS += [ - '-Wno-macro-redefined', - '-Wno-microsoft-include', - ] - CXXFLAGS += [ - '-Wno-macro-redefined', - '-Wno-microsoft-include', - ] - -if CONFIG['_MSC_VER'] and not CONFIG['CLANG_CL']: - CFLAGS += [ - '-wd4005', # 'WIN32_LEAN_AND_MEAN' : macro redefinition - '-wd4996', # The compiler encountered a deprecated declaration. - ] - CXXFLAGS += [ - '-wd4005', # 'WIN32_LEAN_AND_MEAN' : macro redefinition - '-wd4333', # '>>' : right shift by too large amount, data loss - '-wd4996', # The compiler encountered a deprecated declaration. - ] diff --git a/config/external/icu/i18n/Makefile.in b/config/external/icu/i18n/Makefile.in deleted file mode 100644 index e1b45580f..000000000 --- a/config/external/icu/i18n/Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ -# -*- Mode: python; c-basic-offset: 4; 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/. - -include $(topsrcdir)/config/rules.mk - -ifdef _MSC_VER -CXXFLAGS := $(filter-out -GR-,$(CXXFLAGS)) -CFLAGS := $(filter-out -GR-,$(CFLAGS)) -endif diff --git a/config/external/icu/i18n/moz.build b/config/external/icu/i18n/moz.build deleted file mode 100644 index f300ee6f5..000000000 --- a/config/external/icu/i18n/moz.build +++ /dev/null @@ -1,14 +0,0 @@ -# -*- 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/. - -Library('icui18n') -FINAL_LIBRARY = 'icu' - -DEFINES['U_I18N_IMPLEMENTATION'] = True - -LOCAL_INCLUDES += ['/intl/icu/source/common'] - -include('../defs.mozbuild') -include('sources.mozbuild') diff --git a/config/external/icu/i18n/sources.mozbuild b/config/external/icu/i18n/sources.mozbuild deleted file mode 100644 index 8bb619545..000000000 --- a/config/external/icu/i18n/sources.mozbuild +++ /dev/null @@ -1,280 +0,0 @@ -# THIS FILE IS GENERATED BY /intl/icu_sources_data.py DO NOT EDIT -SOURCES += [ - '/intl/icu/source/i18n/affixpatternparser.cpp', - '/intl/icu/source/i18n/alphaindex.cpp', - '/intl/icu/source/i18n/anytrans.cpp', - '/intl/icu/source/i18n/astro.cpp', - '/intl/icu/source/i18n/basictz.cpp', - '/intl/icu/source/i18n/bocsu.cpp', - '/intl/icu/source/i18n/brktrans.cpp', - '/intl/icu/source/i18n/buddhcal.cpp', - '/intl/icu/source/i18n/calendar.cpp', - '/intl/icu/source/i18n/casetrn.cpp', - '/intl/icu/source/i18n/cecal.cpp', - '/intl/icu/source/i18n/chnsecal.cpp', - '/intl/icu/source/i18n/choicfmt.cpp', - '/intl/icu/source/i18n/coleitr.cpp', - '/intl/icu/source/i18n/coll.cpp', - '/intl/icu/source/i18n/collation.cpp', - '/intl/icu/source/i18n/collationbuilder.cpp', - '/intl/icu/source/i18n/collationcompare.cpp', - '/intl/icu/source/i18n/collationdata.cpp', - '/intl/icu/source/i18n/collationdatabuilder.cpp', - '/intl/icu/source/i18n/collationdatareader.cpp', - '/intl/icu/source/i18n/collationdatawriter.cpp', - '/intl/icu/source/i18n/collationfastlatin.cpp', - '/intl/icu/source/i18n/collationfastlatinbuilder.cpp', - '/intl/icu/source/i18n/collationfcd.cpp', - '/intl/icu/source/i18n/collationiterator.cpp', - '/intl/icu/source/i18n/collationkeys.cpp', - '/intl/icu/source/i18n/collationroot.cpp', - '/intl/icu/source/i18n/collationrootelements.cpp', - '/intl/icu/source/i18n/collationruleparser.cpp', - '/intl/icu/source/i18n/collationsets.cpp', - '/intl/icu/source/i18n/collationsettings.cpp', - '/intl/icu/source/i18n/collationtailoring.cpp', - '/intl/icu/source/i18n/collationweights.cpp', - '/intl/icu/source/i18n/compactdecimalformat.cpp', - '/intl/icu/source/i18n/coptccal.cpp', - '/intl/icu/source/i18n/cpdtrans.cpp', - '/intl/icu/source/i18n/csdetect.cpp', - '/intl/icu/source/i18n/csmatch.cpp', - '/intl/icu/source/i18n/csr2022.cpp', - '/intl/icu/source/i18n/csrecog.cpp', - '/intl/icu/source/i18n/csrmbcs.cpp', - '/intl/icu/source/i18n/csrsbcs.cpp', - '/intl/icu/source/i18n/csrucode.cpp', - '/intl/icu/source/i18n/csrutf8.cpp', - '/intl/icu/source/i18n/curramt.cpp', - '/intl/icu/source/i18n/currfmt.cpp', - '/intl/icu/source/i18n/currpinf.cpp', - '/intl/icu/source/i18n/currunit.cpp', - '/intl/icu/source/i18n/dangical.cpp', - '/intl/icu/source/i18n/datefmt.cpp', - '/intl/icu/source/i18n/dayperiodrules.cpp', - '/intl/icu/source/i18n/dcfmtsym.cpp', - '/intl/icu/source/i18n/decContext.c', - '/intl/icu/source/i18n/decfmtst.cpp', - '/intl/icu/source/i18n/decimalformatpattern.cpp', - '/intl/icu/source/i18n/decimfmt.cpp', - '/intl/icu/source/i18n/decimfmtimpl.cpp', - '/intl/icu/source/i18n/decNumber.c', - '/intl/icu/source/i18n/digitaffix.cpp', - '/intl/icu/source/i18n/digitaffixesandpadding.cpp', - '/intl/icu/source/i18n/digitformatter.cpp', - '/intl/icu/source/i18n/digitgrouping.cpp', - '/intl/icu/source/i18n/digitinterval.cpp', - '/intl/icu/source/i18n/digitlst.cpp', - '/intl/icu/source/i18n/dtfmtsym.cpp', - '/intl/icu/source/i18n/dtitvfmt.cpp', - '/intl/icu/source/i18n/dtitvinf.cpp', - '/intl/icu/source/i18n/dtptngen.cpp', - '/intl/icu/source/i18n/dtrule.cpp', - '/intl/icu/source/i18n/esctrn.cpp', - '/intl/icu/source/i18n/ethpccal.cpp', - '/intl/icu/source/i18n/fmtable.cpp', - '/intl/icu/source/i18n/fmtable_cnv.cpp', - '/intl/icu/source/i18n/format.cpp', - '/intl/icu/source/i18n/fphdlimp.cpp', - '/intl/icu/source/i18n/fpositer.cpp', - '/intl/icu/source/i18n/funcrepl.cpp', - '/intl/icu/source/i18n/gender.cpp', - '/intl/icu/source/i18n/gregocal.cpp', - '/intl/icu/source/i18n/gregoimp.cpp', - '/intl/icu/source/i18n/hebrwcal.cpp', - '/intl/icu/source/i18n/indiancal.cpp', - '/intl/icu/source/i18n/inputext.cpp', - '/intl/icu/source/i18n/islamcal.cpp', - '/intl/icu/source/i18n/japancal.cpp', - '/intl/icu/source/i18n/measfmt.cpp', - '/intl/icu/source/i18n/measunit.cpp', - '/intl/icu/source/i18n/measure.cpp', - '/intl/icu/source/i18n/msgfmt.cpp', - '/intl/icu/source/i18n/name2uni.cpp', - '/intl/icu/source/i18n/nfrs.cpp', - '/intl/icu/source/i18n/nfrule.cpp', - '/intl/icu/source/i18n/nfsubs.cpp', - '/intl/icu/source/i18n/nortrans.cpp', - '/intl/icu/source/i18n/nultrans.cpp', - '/intl/icu/source/i18n/numfmt.cpp', - '/intl/icu/source/i18n/numsys.cpp', - '/intl/icu/source/i18n/olsontz.cpp', - '/intl/icu/source/i18n/persncal.cpp', - '/intl/icu/source/i18n/pluralaffix.cpp', - '/intl/icu/source/i18n/plurfmt.cpp', - '/intl/icu/source/i18n/plurrule.cpp', - '/intl/icu/source/i18n/precision.cpp', - '/intl/icu/source/i18n/quant.cpp', - '/intl/icu/source/i18n/quantityformatter.cpp', - '/intl/icu/source/i18n/rbnf.cpp', - '/intl/icu/source/i18n/rbt.cpp', - '/intl/icu/source/i18n/rbt_data.cpp', - '/intl/icu/source/i18n/rbt_pars.cpp', - '/intl/icu/source/i18n/rbt_rule.cpp', - '/intl/icu/source/i18n/rbt_set.cpp', - '/intl/icu/source/i18n/rbtz.cpp', - '/intl/icu/source/i18n/regexcmp.cpp', - '/intl/icu/source/i18n/regeximp.cpp', - '/intl/icu/source/i18n/regexst.cpp', - '/intl/icu/source/i18n/regextxt.cpp', - '/intl/icu/source/i18n/region.cpp', - '/intl/icu/source/i18n/reldatefmt.cpp', - '/intl/icu/source/i18n/reldtfmt.cpp', - '/intl/icu/source/i18n/rematch.cpp', - '/intl/icu/source/i18n/remtrans.cpp', - '/intl/icu/source/i18n/repattrn.cpp', - '/intl/icu/source/i18n/rulebasedcollator.cpp', - '/intl/icu/source/i18n/scientificnumberformatter.cpp', - '/intl/icu/source/i18n/scriptset.cpp', - '/intl/icu/source/i18n/search.cpp', - '/intl/icu/source/i18n/selfmt.cpp', - '/intl/icu/source/i18n/sharedbreakiterator.cpp', - '/intl/icu/source/i18n/simpletz.cpp', - '/intl/icu/source/i18n/smallintformatter.cpp', - '/intl/icu/source/i18n/smpdtfmt.cpp', - '/intl/icu/source/i18n/smpdtfst.cpp', - '/intl/icu/source/i18n/sortkey.cpp', - '/intl/icu/source/i18n/standardplural.cpp', - '/intl/icu/source/i18n/strmatch.cpp', - '/intl/icu/source/i18n/strrepl.cpp', - '/intl/icu/source/i18n/stsearch.cpp', - '/intl/icu/source/i18n/taiwncal.cpp', - '/intl/icu/source/i18n/timezone.cpp', - '/intl/icu/source/i18n/titletrn.cpp', - '/intl/icu/source/i18n/tmunit.cpp', - '/intl/icu/source/i18n/tmutamt.cpp', - '/intl/icu/source/i18n/tmutfmt.cpp', - '/intl/icu/source/i18n/tolowtrn.cpp', - '/intl/icu/source/i18n/toupptrn.cpp', - '/intl/icu/source/i18n/translit.cpp', - '/intl/icu/source/i18n/transreg.cpp', - '/intl/icu/source/i18n/tridpars.cpp', - '/intl/icu/source/i18n/tzfmt.cpp', - '/intl/icu/source/i18n/tzgnames.cpp', - '/intl/icu/source/i18n/tznames.cpp', - '/intl/icu/source/i18n/tznames_impl.cpp', - '/intl/icu/source/i18n/tzrule.cpp', - '/intl/icu/source/i18n/tztrans.cpp', - '/intl/icu/source/i18n/ucal.cpp', - '/intl/icu/source/i18n/ucln_in.cpp', - '/intl/icu/source/i18n/ucol.cpp', - '/intl/icu/source/i18n/ucol_res.cpp', - '/intl/icu/source/i18n/ucol_sit.cpp', - '/intl/icu/source/i18n/ucoleitr.cpp', - '/intl/icu/source/i18n/ucsdet.cpp', - '/intl/icu/source/i18n/udat.cpp', - '/intl/icu/source/i18n/udateintervalformat.cpp', - '/intl/icu/source/i18n/udatpg.cpp', - '/intl/icu/source/i18n/ufieldpositer.cpp', - '/intl/icu/source/i18n/uitercollationiterator.cpp', - '/intl/icu/source/i18n/ulocdata.c', - '/intl/icu/source/i18n/umsg.cpp', - '/intl/icu/source/i18n/unesctrn.cpp', - '/intl/icu/source/i18n/uni2name.cpp', - '/intl/icu/source/i18n/unum.cpp', - '/intl/icu/source/i18n/unumsys.cpp', - '/intl/icu/source/i18n/upluralrules.cpp', - '/intl/icu/source/i18n/uregex.cpp', - '/intl/icu/source/i18n/uregexc.cpp', - '/intl/icu/source/i18n/uregion.cpp', - '/intl/icu/source/i18n/usearch.cpp', - '/intl/icu/source/i18n/uspoof.cpp', - '/intl/icu/source/i18n/uspoof_build.cpp', - '/intl/icu/source/i18n/uspoof_conf.cpp', - '/intl/icu/source/i18n/uspoof_impl.cpp', - '/intl/icu/source/i18n/utf16collationiterator.cpp', - '/intl/icu/source/i18n/utf8collationiterator.cpp', - '/intl/icu/source/i18n/utmscale.c', - '/intl/icu/source/i18n/utrans.cpp', - '/intl/icu/source/i18n/valueformatter.cpp', - '/intl/icu/source/i18n/visibledigits.cpp', - '/intl/icu/source/i18n/vtzone.cpp', - '/intl/icu/source/i18n/vzone.cpp', - '/intl/icu/source/i18n/windtfmt.cpp', - '/intl/icu/source/i18n/winnmfmt.cpp', - '/intl/icu/source/i18n/wintzimpl.cpp', - '/intl/icu/source/i18n/zonemeta.cpp', - '/intl/icu/source/i18n/zrule.cpp', - '/intl/icu/source/i18n/ztrans.cpp', -] - -EXPORTS.unicode += [ - '/intl/icu/source/i18n/unicode/alphaindex.h', - '/intl/icu/source/i18n/unicode/basictz.h', - '/intl/icu/source/i18n/unicode/calendar.h', - '/intl/icu/source/i18n/unicode/choicfmt.h', - '/intl/icu/source/i18n/unicode/coleitr.h', - '/intl/icu/source/i18n/unicode/coll.h', - '/intl/icu/source/i18n/unicode/compactdecimalformat.h', - '/intl/icu/source/i18n/unicode/curramt.h', - '/intl/icu/source/i18n/unicode/currpinf.h', - '/intl/icu/source/i18n/unicode/currunit.h', - '/intl/icu/source/i18n/unicode/datefmt.h', - '/intl/icu/source/i18n/unicode/dcfmtsym.h', - '/intl/icu/source/i18n/unicode/decimfmt.h', - '/intl/icu/source/i18n/unicode/dtfmtsym.h', - '/intl/icu/source/i18n/unicode/dtitvfmt.h', - '/intl/icu/source/i18n/unicode/dtitvinf.h', - '/intl/icu/source/i18n/unicode/dtptngen.h', - '/intl/icu/source/i18n/unicode/dtrule.h', - '/intl/icu/source/i18n/unicode/fieldpos.h', - '/intl/icu/source/i18n/unicode/fmtable.h', - '/intl/icu/source/i18n/unicode/format.h', - '/intl/icu/source/i18n/unicode/fpositer.h', - '/intl/icu/source/i18n/unicode/gender.h', - '/intl/icu/source/i18n/unicode/gregocal.h', - '/intl/icu/source/i18n/unicode/measfmt.h', - '/intl/icu/source/i18n/unicode/measunit.h', - '/intl/icu/source/i18n/unicode/measure.h', - '/intl/icu/source/i18n/unicode/msgfmt.h', - '/intl/icu/source/i18n/unicode/numfmt.h', - '/intl/icu/source/i18n/unicode/numsys.h', - '/intl/icu/source/i18n/unicode/plurfmt.h', - '/intl/icu/source/i18n/unicode/plurrule.h', - '/intl/icu/source/i18n/unicode/rbnf.h', - '/intl/icu/source/i18n/unicode/rbtz.h', - '/intl/icu/source/i18n/unicode/regex.h', - '/intl/icu/source/i18n/unicode/region.h', - '/intl/icu/source/i18n/unicode/reldatefmt.h', - '/intl/icu/source/i18n/unicode/scientificnumberformatter.h', - '/intl/icu/source/i18n/unicode/search.h', - '/intl/icu/source/i18n/unicode/selfmt.h', - '/intl/icu/source/i18n/unicode/simpletz.h', - '/intl/icu/source/i18n/unicode/smpdtfmt.h', - '/intl/icu/source/i18n/unicode/sortkey.h', - '/intl/icu/source/i18n/unicode/stsearch.h', - '/intl/icu/source/i18n/unicode/tblcoll.h', - '/intl/icu/source/i18n/unicode/timezone.h', - '/intl/icu/source/i18n/unicode/tmunit.h', - '/intl/icu/source/i18n/unicode/tmutamt.h', - '/intl/icu/source/i18n/unicode/tmutfmt.h', - '/intl/icu/source/i18n/unicode/translit.h', - '/intl/icu/source/i18n/unicode/tzfmt.h', - '/intl/icu/source/i18n/unicode/tznames.h', - '/intl/icu/source/i18n/unicode/tzrule.h', - '/intl/icu/source/i18n/unicode/tztrans.h', - '/intl/icu/source/i18n/unicode/ucal.h', - '/intl/icu/source/i18n/unicode/ucol.h', - '/intl/icu/source/i18n/unicode/ucoleitr.h', - '/intl/icu/source/i18n/unicode/ucsdet.h', - '/intl/icu/source/i18n/unicode/udat.h', - '/intl/icu/source/i18n/unicode/udateintervalformat.h', - '/intl/icu/source/i18n/unicode/udatpg.h', - '/intl/icu/source/i18n/unicode/ufieldpositer.h', - '/intl/icu/source/i18n/unicode/uformattable.h', - '/intl/icu/source/i18n/unicode/ugender.h', - '/intl/icu/source/i18n/unicode/ulocdata.h', - '/intl/icu/source/i18n/unicode/umsg.h', - '/intl/icu/source/i18n/unicode/unirepl.h', - '/intl/icu/source/i18n/unicode/unum.h', - '/intl/icu/source/i18n/unicode/unumsys.h', - '/intl/icu/source/i18n/unicode/upluralrules.h', - '/intl/icu/source/i18n/unicode/uregex.h', - '/intl/icu/source/i18n/unicode/uregion.h', - '/intl/icu/source/i18n/unicode/ureldatefmt.h', - '/intl/icu/source/i18n/unicode/usearch.h', - '/intl/icu/source/i18n/unicode/uspoof.h', - '/intl/icu/source/i18n/unicode/utmscale.h', - '/intl/icu/source/i18n/unicode/utrans.h', - '/intl/icu/source/i18n/unicode/vtzone.h', -] diff --git a/config/external/icu/moz.build b/config/external/icu/moz.build deleted file mode 100644 index ba95cd0fb..000000000 --- a/config/external/icu/moz.build +++ /dev/null @@ -1,18 +0,0 @@ -# -*- 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/. - -Library('icu') - -DIRS += [ - 'common', - 'data', - 'i18n', -] - -if CONFIG['MOZ_ICU_DATA_ARCHIVE']: - DIRS += ['stubdata'] - USE_LIBS += ['icustubdata'] -else: - USE_LIBS += ['icudata'] diff --git a/config/external/icu/stubdata/moz.build b/config/external/icu/stubdata/moz.build deleted file mode 100644 index c404d6754..000000000 --- a/config/external/icu/stubdata/moz.build +++ /dev/null @@ -1,12 +0,0 @@ -# -*- 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/. - -# This builds the ICU stubdata library, since we are shipping ICU -# data in a separate data file. ICU needs a data symbol to link against -# even if you're loading its data from a file. - -Library('icustubdata') - -SOURCES += ['/intl/icu/source/stubdata/stubdata.c'] |