mirror of
https://github.com/typesense/typesense.git
synced 2025-05-21 06:02:26 +08:00
1596 lines
32 KiB
Diff
1596 lines
32 KiB
Diff
|
|
|
|
|
|
--- icu4c/source/common/BUILD.bazel
|
|
+++ /dev/null
|
|
@@ -1,1213 +0,0 @@
|
|
-# © 2021 and later: Unicode, Inc. and others.
|
|
-# License & terms of use: http://www.unicode.org/copyright.html
|
|
-
|
|
-# This file defines Bazel targets for a subset of ICU4C "common" library header and source files.
|
|
-# The configuration of dependencies among targets is strongly assisted by the
|
|
-# file in depstest that maintains such information, at
|
|
-# icu4c/source/test/depstest/dependencies.txt .
|
|
-
|
|
-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
|
|
-
|
|
-package(
|
|
- default_visibility = ["//visibility:public"],
|
|
-)
|
|
-
|
|
-# When compiling code in the `common` dir, the constant
|
|
-# `U_COMMON_IMPLEMENTATION` needs to be defined. See
|
|
-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system .
|
|
-
|
|
-# If linker errors occur, then this may be a sign that the dependencies were
|
|
-# not specified correctly. Use dependencies.txt in depstest for assistance. See
|
|
-# https://stackoverflow.com/q/66111709/2077918 .
|
|
-
|
|
-cc_library(
|
|
- name = "headers",
|
|
- hdrs = glob([
|
|
- "unicode/*.h", # public
|
|
- "*.h", # internal
|
|
- ],
|
|
- # Instead of using these checked-in files, our Bazel build process
|
|
- # regenerates them and then uses the new versions.
|
|
- # Same list of .h files as in icu4c/source/data/unidata/clean.sh.
|
|
- exclude = ["norm2_nfc_data.h", "propname_data.h", "*_props_data.h"],
|
|
- ),
|
|
- # We need to add includes in order to preserve existing source files'
|
|
- # include directives that use traditional paths, not paths relative to
|
|
- # Bazel workspace:
|
|
- # https://stackoverflow.com/a/65635893/2077918
|
|
- includes = ["."],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "platform",
|
|
- srcs = [
|
|
- "cmemory.cpp",
|
|
- "uobject.cpp",
|
|
- "cstring.cpp",
|
|
- "cwchar.cpp",
|
|
- "uinvchar.cpp",
|
|
- "charstr.cpp",
|
|
- "unistr.cpp",
|
|
- "appendable.cpp",
|
|
- "stringpiece.cpp",
|
|
- "ustrtrns.cpp",
|
|
- "ustring.cpp",
|
|
- "ustrfmt.cpp",
|
|
- "utf_impl.cpp",
|
|
- "putil.cpp",
|
|
- "ucln_cmn.cpp",
|
|
- "udataswp.cpp",
|
|
- "umath.cpp",
|
|
- "umutex.cpp",
|
|
- "sharedobject.cpp",
|
|
- "utrace.cpp",
|
|
- ],
|
|
- deps = [
|
|
- ":headers",
|
|
- # omit other deps b/c they are sys symbols
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
- linkopts = ["-ldl"],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "utrie",
|
|
- srcs = ["utrie.cpp"],
|
|
- deps = [":platform"],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "utrie2",
|
|
- srcs = ["utrie2.cpp"],
|
|
- deps = [":platform"],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "utrie2_builder",
|
|
- srcs = ["utrie2_builder.cpp"],
|
|
- deps = [
|
|
- ":utrie",
|
|
- ":utrie2",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ucptrie",
|
|
- srcs = ["ucptrie.cpp"],
|
|
- deps = [":platform"],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "umutablecptrie",
|
|
- srcs = ["umutablecptrie.cpp"],
|
|
- deps = [":ucptrie"],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "bytestrie",
|
|
- srcs = ["bytestrie.cpp"],
|
|
- deps = [":platform"],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "bytestriebuilder",
|
|
- srcs = ["bytestriebuilder.cpp"],
|
|
- deps = [
|
|
- ":bytestrie",
|
|
- ":stringtriebuilder",
|
|
- ":sort",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "stringtriebuilder",
|
|
- srcs = ["stringtriebuilder.cpp"],
|
|
- deps = [
|
|
- ":uhash",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uhash",
|
|
- hdrs = [
|
|
- "uhash.h",
|
|
- ],
|
|
- srcs = [
|
|
- "uhash.cpp",
|
|
- ],
|
|
- deps = [
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "errorcode",
|
|
- hdrs = [
|
|
- ],
|
|
- srcs = [
|
|
- "errorcode.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":platform",
|
|
- ":utypes",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "utypes",
|
|
- srcs = [
|
|
- "utypes.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uniset",
|
|
- srcs = [
|
|
- "uniset.cpp",
|
|
- "unifilt.cpp",
|
|
- "unisetspan.cpp",
|
|
- "bmpset.cpp",
|
|
- "util.cpp",
|
|
- "unifunct.cpp",
|
|
- "usetiter.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":patternprops",
|
|
- ":uvector",
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "patternprops",
|
|
- srcs = [
|
|
- "patternprops.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "propsvec",
|
|
- srcs = [
|
|
- "propsvec.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":sort",
|
|
- ":utrie2_builder",
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "propname",
|
|
- srcs = [
|
|
- "propname.cpp",
|
|
- "propname_data.h",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":bytestrie",
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-# Note: The cc_library target names "uvector32" and "uvector64" match the
|
|
-# dependencies.txt group names, but the filenames are "uvectr32.*"/"uvectr64.*".
|
|
-cc_library(
|
|
- name = "uvector32",
|
|
- srcs = [
|
|
- "uvectr32.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uvector64",
|
|
- srcs = [
|
|
- "uvectr64.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "sort",
|
|
- srcs = [
|
|
- "uarrsort.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uvector",
|
|
- srcs = [
|
|
- "uvector.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":platform",
|
|
- ":sort",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "breakiterator",
|
|
- srcs = [
|
|
- "brkiter.cpp",
|
|
- "brkeng.cpp",
|
|
- "dictbe.cpp",
|
|
- "dictionarydata.cpp",
|
|
- "filteredbrk.cpp",
|
|
- "lstmbe.cpp",
|
|
- "rbbi.cpp",
|
|
- "rbbi_cache.cpp",
|
|
- "rbbidata.cpp",
|
|
- "rbbinode.cpp",
|
|
- "rbbirb.cpp",
|
|
- "rbbiscan.cpp",
|
|
- "rbbisetb.cpp",
|
|
- "rbbistbl.cpp",
|
|
- "rbbitblb.cpp",
|
|
- "ubrk.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":bytestrie",
|
|
- ":headers",
|
|
- ":normlzr",
|
|
- ":resourcebundle",
|
|
- ":schriter",
|
|
- ":service_registration",
|
|
- ":ucharstrie",
|
|
- ":ucharstriebuilder",
|
|
- ":uhash",
|
|
- ":uniset_core",
|
|
- ":uniset_props",
|
|
- ":ustack",
|
|
- ":utext",
|
|
- ":utrie2_builder",
|
|
- ":uvector32",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "bytesinkutil",
|
|
- srcs = [
|
|
- "bytesinkutil.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":bytestream",
|
|
- ":edits",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "bytestream",
|
|
- srcs = [
|
|
- "bytestream.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "canonical_iterator",
|
|
- srcs = [
|
|
- "caniter.cpp",
|
|
- ],
|
|
- deps = [
|
|
- ":normalizer2",
|
|
- ":usetiter",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "characterproperties",
|
|
- srcs = [
|
|
- "characterproperties.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":emojiprops",
|
|
- ":ucptrie",
|
|
- ":umutablecptrie",
|
|
- ":uniset_core",
|
|
- ":uprops",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "chariter",
|
|
- srcs = [
|
|
- "chariter.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "edits",
|
|
- srcs = [
|
|
- "edits.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":icu_utility",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "filterednormalizer2",
|
|
- srcs = [
|
|
- "filterednormalizer2.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":normalizer2",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "hashtable",
|
|
- srcs = [
|
|
- "uhash_us.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":uhash",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "icu_utility",
|
|
- srcs = [
|
|
- "util.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":patternprops",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "loadednormalizer2",
|
|
- srcs = [
|
|
- "loadednormalizer2impl.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":normalizer2",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "locale_display_names",
|
|
- srcs = [
|
|
- "locdispnames.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":locresdata",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "locresdata",
|
|
- srcs = [
|
|
- "locresdata.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":resourcebundle",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "normlzr",
|
|
- srcs = [
|
|
- "normlzr.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":filterednormalizer2",
|
|
- ":headers",
|
|
- ":schriter",
|
|
- ":uniset_props",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "parsepos",
|
|
- srcs = [
|
|
- "parsepos.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "resourcebundle",
|
|
- srcs = [
|
|
- "localebuilder.cpp",
|
|
- "locavailable.cpp",
|
|
- "locbased.cpp",
|
|
- "locid.cpp",
|
|
- "loclikely.cpp",
|
|
- "locmap.cpp",
|
|
- "resbund.cpp",
|
|
- "resource.cpp",
|
|
- "uloc.cpp",
|
|
- "uloc_tag.cpp",
|
|
- "uloc_keytype.cpp",
|
|
- "uresbund.cpp",
|
|
- "uresdata.cpp",
|
|
- "wintz.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":bytesinkutil",
|
|
- ":errorcode",
|
|
- ":headers",
|
|
- ":propname",
|
|
- ":sort",
|
|
- ":stringenumeration",
|
|
- ":ucol_swp",
|
|
- ":udata",
|
|
- ":uhash",
|
|
- ":uscript_props",
|
|
- ":uvector",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "schriter",
|
|
- srcs = [
|
|
- "schriter.cpp",
|
|
- "uchriter.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":chariter",
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "service_registration",
|
|
- srcs = [
|
|
- "locutil.cpp",
|
|
- "serv.cpp",
|
|
- "servlk.cpp",
|
|
- "servlkf.cpp",
|
|
- "servls.cpp",
|
|
- "servnotf.cpp",
|
|
- "servrbf.cpp",
|
|
- "servslkf.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":hashtable",
|
|
- ":headers",
|
|
- ":locale_display_names",
|
|
- ":resourcebundle",
|
|
- ":uvector",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "stringenumeration",
|
|
- srcs = [
|
|
- "uenum.cpp",
|
|
- "ustrenum.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ubidi_props",
|
|
- srcs = [
|
|
- "ubidi_props.cpp",
|
|
- "ubidi_props_data.h",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":utrie2",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ucase",
|
|
- srcs = [
|
|
- "ucase.cpp",
|
|
- "ucase_props_data.h",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":utrie2",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uchar",
|
|
- srcs = [
|
|
- "uchar.cpp",
|
|
- "uchar_props_data.h",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":utrie2",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "emojiprops",
|
|
- srcs = [
|
|
- "emojiprops.cpp",
|
|
- "emojiprops.h",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":ucharstrie",
|
|
- ":ucharstrieiterator",
|
|
- ":ucptrie",
|
|
- ":udata",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ucharstrie",
|
|
- srcs = [
|
|
- "ucharstrie.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ucharstriebuilder",
|
|
- srcs = [
|
|
- "ucharstriebuilder.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":sort",
|
|
- ":stringtriebuilder",
|
|
- ":ucharstrie",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ucharstrieiterator",
|
|
- srcs = [
|
|
- "ucharstrieiterator.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":ucharstrie",
|
|
- ":uvector32",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ucol_swp",
|
|
- srcs = [
|
|
- "ucol_swp.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":utrie_swap",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "udata",
|
|
- srcs = [
|
|
- "restrace.cpp",
|
|
- "ucmndata.cpp",
|
|
- "udata.cpp",
|
|
- "udatamem.cpp",
|
|
- "umapfile.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":icu_utility",
|
|
- ":platform",
|
|
- ":uhash",
|
|
- "//icu4c/source/stubdata",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uiter",
|
|
- srcs = [
|
|
- "uiter.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ulist",
|
|
- srcs = [
|
|
- "ulist.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "unames",
|
|
- srcs = [
|
|
- "unames.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":uchar",
|
|
- ":udata",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "unifiedcache",
|
|
- srcs = [
|
|
- "unifiedcache.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ":uhash",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uniset_core",
|
|
- srcs = [
|
|
- "bmpset.cpp",
|
|
- "unifilt.cpp",
|
|
- "unifunct.cpp",
|
|
- "uniset.cpp",
|
|
- "unisetspan.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":icu_utility",
|
|
- ":patternprops",
|
|
- ":uvector",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uniset_closure",
|
|
- srcs = [
|
|
- "uniset_closure.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":uniset_core",
|
|
- ":unistr_case_locale",
|
|
- ":unistr_titlecase_brkiter",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uniset_props",
|
|
- srcs = [
|
|
- "uniset_props.cpp",
|
|
- "ruleiter.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":characterproperties",
|
|
- ":headers",
|
|
- ":parsepos",
|
|
- ":propname",
|
|
- ":resourcebundle",
|
|
- ":unames",
|
|
- ":uniset_core",
|
|
- ":unistr_case",
|
|
- ":uprops",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "unistr_case",
|
|
- srcs = [
|
|
- "unistr_case.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":ustring_case",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "unistr_case_locale",
|
|
- srcs = [
|
|
- "unistr_case_locale.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":unistr_case",
|
|
- ":ustring_case_locale",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "unistr_titlecase_brkiter",
|
|
- srcs = [
|
|
- "unistr_titlecase_brkiter.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":ustr_titlecase_brkiter",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uprops",
|
|
- srcs = [
|
|
- "uprops.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":emojiprops",
|
|
- ":loadednormalizer2",
|
|
- ":normalizer2",
|
|
- ":ubidi_props",
|
|
- ":ucase",
|
|
- ":uchar",
|
|
- ":unistr_case",
|
|
- ":ustring_case",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uscript_props",
|
|
- srcs = [
|
|
- "uscript_props.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uset",
|
|
- srcs = [
|
|
- "uset.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ":uniset_core",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uset_props",
|
|
- srcs = [
|
|
- "uset_props.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":uniset_closure",
|
|
- ":uniset_core",
|
|
- ":uniset_props",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "usetiter",
|
|
- srcs = [
|
|
- "usetiter.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":platform",
|
|
- ":uniset_core",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ustack",
|
|
- srcs = [
|
|
- "ustack.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":uvector",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ustr_titlecase_brkiter",
|
|
- srcs = [
|
|
- "ustr_titlecase_brkiter.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":breakiterator",
|
|
- ":headers",
|
|
- ":ucase",
|
|
- ":ustring_case_locale",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ustring_case",
|
|
- srcs = [
|
|
- "ustrcase.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":ucase",
|
|
- ":uchar",
|
|
- ":edits",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ustring_case_locale",
|
|
- srcs = [
|
|
- "ustrcase_locale.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":resourcebundle",
|
|
- ":ustring_case",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "utext",
|
|
- srcs = [
|
|
- "utext.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":ucase",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "utrie_swap",
|
|
- srcs = [
|
|
- "utrie_swap.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":udata",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-# This target depends on a header file that contains NFC/NFD normalization data.
|
|
-# This header file is generated by a script (generate.sh) that invokes the gennorm2 binary.
|
|
-# See the Unicode update change log (changes.txt).
|
|
-cc_library(
|
|
- name = "normalizer2",
|
|
- srcs = [
|
|
- "norm2_nfc_data.h", # generated by gennorm2
|
|
- "normalizer2.cpp",
|
|
- "normalizer2impl.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- hdrs = [
|
|
- "normalizer2impl.h",
|
|
- ],
|
|
- deps = [
|
|
- ":headers",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
|
|
|
|
|
|
--- icu4c/source/data/unidata/norm2/BUILD.bazel
|
|
+++ /dev/null
|
|
@@ -1,13 +0,0 @@
|
|
-# © 2021 and later: Unicode, Inc. and others.
|
|
-# License & terms of use: http://www.unicode.org/copyright.html
|
|
-
|
|
-# This Bazel build file is needed to declare targets for the files used as
|
|
-# inputs to binary executables that are a part of other Bazel genrule targets.
|
|
-
|
|
-package(
|
|
- default_visibility = ["//visibility:public"],
|
|
-)
|
|
-
|
|
-exports_files([
|
|
- "nfc.txt", "nfkc.txt", "nfkc_cf.txt", "uts46.txt",
|
|
-])
|
|
|
|
|
|
|
|
--- icu4c/source/i18n/BUILD.bazel
|
|
+++ /dev/null
|
|
@@ -1,130 +0,0 @@
|
|
-# © 2021 and later: Unicode, Inc. and others.
|
|
-# License & terms of use: http://www.unicode.org/copyright.html
|
|
-
|
|
-# This file defines Bazel targets for a subset of the ICU4C "i18n" library header and source files.
|
|
-# The configuration of dependencies among targets is strongly assisted by the
|
|
-# file in depstest that maintains such information, at
|
|
-# icu4c/source/test/depstest/dependencies.txt .
|
|
-
|
|
-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
|
|
-
|
|
-package(
|
|
- default_visibility = ["//visibility:public"],
|
|
-)
|
|
-
|
|
-# When compiling code in the `common` dir, the constant
|
|
-# `U_I18n_IMPLEMENTATION` needs to be defined. See
|
|
-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system .
|
|
-
|
|
-# If linker errors occur, then this may be a sign that the dependencies were
|
|
-# not specified correctly. Use dependencies.txt in depstest for assistance. See
|
|
-# https://stackoverflow.com/q/66111709/2077918 .
|
|
-
|
|
-cc_library(
|
|
- name = "headers",
|
|
- hdrs = glob([
|
|
- "unicode/*.h", # public
|
|
- "*.h", # internal
|
|
- ]),
|
|
- # We need to add includes in order to preserve existing source files'
|
|
- # include directives that use traditional paths, not paths relative to
|
|
- # Bazel workspace:
|
|
- # https://stackoverflow.com/a/65635893/2077918
|
|
- includes = ["."],
|
|
- local_defines = [
|
|
- "U_I18N_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "collation",
|
|
- srcs = [
|
|
- "bocsu.cpp",
|
|
- "coleitr.cpp",
|
|
- "coll.cpp",
|
|
- "collation.cpp",
|
|
- "collationcompare.cpp",
|
|
- "collationdata.cpp",
|
|
- "collationdatareader.cpp",
|
|
- "collationdatawriter.cpp",
|
|
- "collationfastlatin.cpp",
|
|
- # collationfcd.cpp is generated by genuca;
|
|
- # probably hard to build genuca without depending on the old version.
|
|
- "collationfcd.cpp",
|
|
- "collationiterator.cpp",
|
|
- "collationkeys.cpp",
|
|
- "collationroot.cpp",
|
|
- "collationrootelements.cpp",
|
|
- "collationsets.cpp",
|
|
- "collationsettings.cpp",
|
|
- "collationtailoring.cpp",
|
|
- "rulebasedcollator.cpp",
|
|
- "sortkey.cpp",
|
|
- "ucol.cpp",
|
|
- "ucol_res.cpp",
|
|
- "ucol_sit.cpp",
|
|
- "ucoleitr.cpp",
|
|
- "uitercollationiterator.cpp",
|
|
- "utf16collationiterator.cpp",
|
|
- "utf8collationiterator.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":headers",
|
|
- ":uclean_i18n",
|
|
- "//icu4c/source/common:bytestream",
|
|
- "//icu4c/source/common:normalizer2",
|
|
- "//icu4c/source/common:platform",
|
|
- "//icu4c/source/common:propname",
|
|
- "//icu4c/source/common:resourcebundle",
|
|
- "//icu4c/source/common:service_registration",
|
|
- "//icu4c/source/common:ucharstrieiterator",
|
|
- "//icu4c/source/common:uiter",
|
|
- "//icu4c/source/common:ulist",
|
|
- "//icu4c/source/common:unifiedcache",
|
|
- "//icu4c/source/common:uset",
|
|
- "//icu4c/source/common:usetiter",
|
|
- "//icu4c/source/common:utrie2",
|
|
- "//icu4c/source/common:uvector32",
|
|
- "//icu4c/source/common:uvector64",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_I18N_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "collation_builder",
|
|
- srcs = [
|
|
- "collationbuilder.cpp",
|
|
- "collationdatabuilder.cpp",
|
|
- "collationfastlatinbuilder.cpp",
|
|
- "collationruleparser.cpp",
|
|
- "collationweights.cpp",
|
|
- ],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- ":collation",
|
|
- "//icu4c/source/common:canonical_iterator",
|
|
- "//icu4c/source/common:ucharstriebuilder",
|
|
- "//icu4c/source/common:uset_props"
|
|
- ],
|
|
- local_defines = [
|
|
- "U_I18N_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uclean_i18n",
|
|
- srcs = [
|
|
- "ucln_in.cpp",
|
|
- ],
|
|
- hdrs = ["ucln_in.h"],
|
|
- includes = ["."],
|
|
- deps = [
|
|
- "//icu4c/source/common:platform",
|
|
- ],
|
|
- local_defines = [
|
|
- "U_I18N_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
|
|
|
|
--- icu4c/source/icudefs.mk.in
|
|
+++ icu4c/source/icudefs.mk.in
|
|
@@ -116,8 +116,8 @@ ENABLE_RELEASE = @ENABLE_RELEASE@
|
|
EXEEXT = @EXEEXT@
|
|
CC = @CC@
|
|
CXX = @CXX@
|
|
-AR = @AR@
|
|
-ARFLAGS = @ARFLAGS@ r
|
|
+AR = ar
|
|
+ARFLAGS = r
|
|
RANLIB = @RANLIB@
|
|
COMPILE_LINK_ENVVAR = @COMPILE_LINK_ENVVAR@
|
|
UCLN_NO_AUTO_CLEANUP = @UCLN_NO_AUTO_CLEANUP@
|
|
|
|
|
|
|
|
--- icu4c/source/stubdata/BUILD.bazel
|
|
+++ /dev/null
|
|
@@ -1,23 +0,0 @@
|
|
-# © 2021 and later: Unicode, Inc. and others.
|
|
-# License & terms of use: http://www.unicode.org/copyright.html
|
|
-
|
|
-# This file defines Bazel targets for the ICU4C "stubdata" library header and source files.
|
|
-
|
|
-load("@rules_cc//cc:defs.bzl", "cc_library")
|
|
-
|
|
-package(
|
|
- default_visibility = ["//visibility:public"],
|
|
-)
|
|
-
|
|
-# When compiling code in the `common` dir, the constant
|
|
-# `U_COMMON_IMPLEMENTATION` needs to be defined. See
|
|
-# https://unicode-org.github.io/icu/userguide/howtouseicu#c-with-your-own-build-system .
|
|
-
|
|
-cc_library(
|
|
- name = "stubdata",
|
|
- srcs = ["stubdata.cpp"],
|
|
- deps = ["//icu4c/source/common:headers"],
|
|
- local_defines = [
|
|
- "U_COMMON_IMPLEMENTATION",
|
|
- ],
|
|
-)
|
|
|
|
|
|
|
|
--- icu4c/source/tools/gennorm2/BUILD.bazel
|
|
+++ /dev/null
|
|
@@ -1,39 +0,0 @@
|
|
-# © 2021 and later: Unicode, Inc. and others.
|
|
-# License & terms of use: http://www.unicode.org/copyright.html
|
|
-
|
|
-# This Bazel build file defines a target for the gennorm2 binary that generates
|
|
-# headers needed for bootstrapping the ICU4C build process in a way that
|
|
-# integrates the normalization data.
|
|
-
|
|
-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
|
|
-
|
|
-package(
|
|
- default_visibility = ["//visibility:public"],
|
|
-)
|
|
-
|
|
-cc_binary(
|
|
- name = "gennorm2",
|
|
- srcs = glob([
|
|
- "*.c",
|
|
- "*.cpp",
|
|
- "*.h", # cannot have hdrs section in cc_binary
|
|
- ]),
|
|
- deps = [
|
|
- "//icu4c/source/common:uhash",
|
|
- "//icu4c/source/common:umutablecptrie",
|
|
- "//icu4c/source/common:ucptrie",
|
|
- "//icu4c/source/common:errorcode",
|
|
- "//icu4c/source/common:uniset",
|
|
- "//icu4c/source/common:uvector32",
|
|
-
|
|
- "//icu4c/source/common:platform",
|
|
- "//icu4c/source/common:headers",
|
|
-
|
|
- "//icu4c/source/tools/toolutil:toolutil",
|
|
- "//icu4c/source/tools/toolutil:unewdata",
|
|
- "//icu4c/source/tools/toolutil:writesrc",
|
|
- "//icu4c/source/tools/toolutil:uoptions",
|
|
- "//icu4c/source/tools/toolutil:uparse",
|
|
- ],
|
|
- linkopts = ["-pthread"],
|
|
-)
|
|
|
|
|
|
|
|
--- icu4c/source/tools/toolutil/BUILD.bazel
|
|
+++ /dev/null
|
|
@@ -1,126 +0,0 @@
|
|
-# © 2021 and later: Unicode, Inc. and others.
|
|
-# License & terms of use: http://www.unicode.org/copyright.html
|
|
-
|
|
-# This Bazel build file defines targets that are dependencies for building
|
|
-# the gennorm2 and genprops binaries.
|
|
-
|
|
-load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
|
|
-
|
|
-package(
|
|
- default_visibility = ["//visibility:public"],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "toolutil",
|
|
- includes = ["."],
|
|
- hdrs = ["toolutil.h"],
|
|
- srcs = ["toolutil.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = ["//icu4c/source/common:platform"],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "unewdata",
|
|
- includes = ["."],
|
|
- hdrs = ["unewdata.h"],
|
|
- srcs = ["unewdata.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = [
|
|
- ":filestrm",
|
|
- "//icu4c/source/common:platform",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uoptions",
|
|
- includes = ["."],
|
|
- hdrs = ["uoptions.h"],
|
|
- srcs = ["uoptions.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = ["//icu4c/source/common:platform"],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "writesrc",
|
|
- includes = ["."],
|
|
- hdrs = ["writesrc.h"],
|
|
- srcs = ["writesrc.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = [
|
|
- "//icu4c/source/common:bytestream",
|
|
- "//icu4c/source/common:platform",
|
|
- "//icu4c/source/common:uniset_core",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "uparse",
|
|
- includes = ["."],
|
|
- hdrs = ["uparse.h"],
|
|
- srcs = ["uparse.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = [
|
|
- ":filestrm",
|
|
- "//icu4c/source/common:platform",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "filestrm",
|
|
- includes = ["."],
|
|
- hdrs = ["filestrm.h"],
|
|
- srcs = ["filestrm.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = ["//icu4c/source/common:platform"],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "ppucd",
|
|
- includes = ["."],
|
|
- hdrs = ["ppucd.h"],
|
|
- srcs = ["ppucd.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = [
|
|
- ":uparse",
|
|
- "//icu4c/source/common:platform",
|
|
- ],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "denseranges",
|
|
- includes = ["."],
|
|
- hdrs = ["denseranges.h"],
|
|
- srcs = ["denseranges.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = ["//icu4c/source/common:platform"],
|
|
-)
|
|
-
|
|
-cc_library(
|
|
- name = "collationinfo",
|
|
- includes = ["."],
|
|
- hdrs = ["collationinfo.h"],
|
|
- srcs = ["collationinfo.cpp"],
|
|
- local_defines = [
|
|
- "U_TOOLUTIL_IMPLEMENTATION",
|
|
- ],
|
|
- deps = [
|
|
- "//icu4c/source/common:platform",
|
|
- "//icu4c/source/i18n:headers",
|
|
- ],
|
|
-)
|