blob: 693f390d809510f5983424e11815dca56c75f16a [file] [log] [blame]
load("@rules_pkg//:mappings.bzl", "pkg_files", "strip_prefix")
# Pulled from: https://github.com/cyb70289/utf8
cc_library(
name = "utf8_range",
hdrs = ["utf8_range.h"],
srcs = [
"naive.c",
"range2-neon.c",
"range2-sse.c",
],
visibility = ["//:__pkg__"],
)
filegroup(
name = "all_files",
srcs = glob([
"*.h",
"*.c",
]) + [
"BUILD.bazel",
"LICENSE",
],
visibility = [
"//cmake:__pkg__",
"//php:__pkg__",
"//ruby:__pkg__",
],
)
pkg_files(
name = "dist_files",
srcs = [":all_files"],
strip_prefix = strip_prefix.from_root(""),
visibility = ["//pkg:__pkg__"],
)