mirror of
https://gitee.com/openharmony/third_party_icu
synced 2025-02-17 08:09:15 +00:00
commit
d1e4bdfc4c
@ -523,14 +523,7 @@ ohos_shared_library("shared_icuuc") {
|
||||
"_REENTRANT",
|
||||
]
|
||||
sources = icu_common_source
|
||||
is_cross_platform_build =
|
||||
defined(build_cross_platform_version) && build_cross_platform_version
|
||||
|
||||
if (!is_cross_platform_build || current_toolchain == host_toolchain) {
|
||||
deps = [ ":static_icustubdata" ]
|
||||
} else {
|
||||
sources += [ "//third_party/icu/ohos_icu4j/data/lite/icudt69l_dat.S" ]
|
||||
}
|
||||
deps = [ ":static_icustubdata" ]
|
||||
cflags_cc = [
|
||||
"-O3",
|
||||
"-W",
|
||||
@ -723,3 +716,57 @@ ohos_static_library("static_icui18n") {
|
||||
]
|
||||
output_name = "hmicui18n"
|
||||
}
|
||||
|
||||
ohos_static_library("static_icu") {
|
||||
configs = [
|
||||
":icu_config",
|
||||
"//build/config/compiler:rtti",
|
||||
]
|
||||
|
||||
defines = [
|
||||
"U_ATTRIBUTE_DEPRECATED=",
|
||||
"U_COMMON_IMPLEMENTATION",
|
||||
"U_I18N_IMPLEMENTATION",
|
||||
"U_STATIC_IMPLEMENTATION",
|
||||
"UPRV_BLOCK_MACRO_BEGIN=",
|
||||
"UPRV_BLOCK_MACRO_END=",
|
||||
"UCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
|
||||
"_REENTRANT",
|
||||
]
|
||||
sources = icu_common_source
|
||||
sources += icu_i18n_source
|
||||
sources += [ "//third_party/icu/ohos_icu4j/data/lite/icudt69l_dat.S" ]
|
||||
cflags_cc = [
|
||||
"-Os",
|
||||
"-W",
|
||||
"-Wall",
|
||||
"-pedantic",
|
||||
"-Wpointer-arith",
|
||||
"-Wwrite-strings",
|
||||
"-std=c++11",
|
||||
"-Wno-error=unused-parameter",
|
||||
"-Wno-error=unused-const-variable",
|
||||
"-Wno-error=unneeded-internal-declaration",
|
||||
"-fvisibility-inlines-hidden",
|
||||
"-Wno-unused-function",
|
||||
"-Wno-ignored-attributes",
|
||||
"-Wno-unused-but-set-variable",
|
||||
"-Wno-deprecated-declarations",
|
||||
]
|
||||
|
||||
cflags = [
|
||||
"-fvisibility=hidden",
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
"-Os",
|
||||
"-Wno-unused-function",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-static",
|
||||
"-ldl",
|
||||
"-lm",
|
||||
]
|
||||
|
||||
output_name = "hmicu"
|
||||
}
|
||||
|
@ -1,15 +1,19 @@
|
||||
.globl icudt69_dat
|
||||
#if defined(__APPLE__)
|
||||
.globl _icudt69_dat
|
||||
.private_extern _icudt69_dat
|
||||
.data
|
||||
.const
|
||||
.balign 16
|
||||
_icudt69_dat:
|
||||
#else
|
||||
.globl icudt69_dat
|
||||
.hidden icudt69_dat
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
.section .rodata
|
||||
.balign 16
|
||||
.type icudt69_dat,%object
|
||||
#endif
|
||||
icudt69_dat:
|
||||
#endif
|
||||
|
||||
.long 0x27DA0020,0x14,0x020000,0x446E6D43,1,3,0,0,0x02F1,0x178C,0x5D80,0x17AD,0x043F70,0x17C6,0x0474E0,0x17E2,0x230750,0x17F9,0x230E40,0x1813,0x230E90,0x1833,0x230F30,0x1852,0x29DBA0,0x186F,0x2AA730,0x1888,0x2B0540,0x18A4,0x2B6370,0x18C3
|
||||
.long 0x2BC220,0x18E5,0x2C2430,0x1905,0x2C8190,0x1928,0x2CE080,0x1946,0x2CE120,0x195F,0x2CE3B0,0x1978,0x2D2EC0,0x1994,0x2D79E0,0x19B2,0x2F66A0,0x19CC,0x2F94D0,0x19E5,0x2FEBB0,0x1A04,0x304290,0x1A1B,0x3043A0,0x1A31,0x313D90,0x1A46,0x313DE0,0x1A5E,0x313E30,0x1A7C
|
||||
|
Loading…
x
Reference in New Issue
Block a user