Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
701 B
37 lines
701 B
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__"], |
|
)
|
|
|