|
|
@ -211,55 +211,55 @@ config_setting( |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# begin:github_only |
|
|
|
# begin:github_only |
|
|
|
# pkg_files( |
|
|
|
pkg_files( |
|
|
|
# name = "rust_protobuf_src", |
|
|
|
name = "rust_protobuf_src", |
|
|
|
# srcs = glob( |
|
|
|
srcs = glob( |
|
|
|
# [ |
|
|
|
[ |
|
|
|
# "*", |
|
|
|
"*", |
|
|
|
# ], |
|
|
|
], |
|
|
|
# ), |
|
|
|
), |
|
|
|
# strip_prefix = strip_prefix.from_root("rust"), |
|
|
|
strip_prefix = strip_prefix.from_root("rust"), |
|
|
|
# visibility = ["//:__pkg__"], |
|
|
|
visibility = ["//:__pkg__"], |
|
|
|
# ) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# pkg_files( |
|
|
|
pkg_files( |
|
|
|
# name = "crate_root_files", |
|
|
|
name = "crate_root_files", |
|
|
|
# srcs = glob(["cargo/**/*"]), |
|
|
|
srcs = glob(["cargo/**/*"]), |
|
|
|
# strip_prefix = strip_prefix.from_root("rust/cargo"), |
|
|
|
strip_prefix = strip_prefix.from_root("rust/cargo"), |
|
|
|
# visibility = ["//:__pkg__"], |
|
|
|
visibility = ["//:__pkg__"], |
|
|
|
# ) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# pkg_filegroup( |
|
|
|
pkg_filegroup( |
|
|
|
# name = "rust_protobuf_src_dir", |
|
|
|
name = "rust_protobuf_src_dir", |
|
|
|
# srcs = [ |
|
|
|
srcs = [ |
|
|
|
# ":rust_protobuf_src", |
|
|
|
":rust_protobuf_src", |
|
|
|
# "//rust/upb:rust_protobuf_upb_src", |
|
|
|
"//rust/upb:rust_protobuf_upb_src", |
|
|
|
# ], |
|
|
|
], |
|
|
|
# prefix = "src", |
|
|
|
prefix = "src", |
|
|
|
# ) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# pkg_files( |
|
|
|
pkg_files( |
|
|
|
# name = "amalgamated_upb", |
|
|
|
name = "amalgamated_upb", |
|
|
|
# srcs = ["//upb:gen_amalgamation"], |
|
|
|
srcs = ["//upb:gen_amalgamation"], |
|
|
|
# strip_prefix = strip_prefix.from_root(""), |
|
|
|
strip_prefix = strip_prefix.from_root(""), |
|
|
|
# ) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# pkg_filegroup( |
|
|
|
pkg_filegroup( |
|
|
|
# name = "rust_protobuf_libupb_src", |
|
|
|
name = "rust_protobuf_libupb_src", |
|
|
|
# srcs = [ |
|
|
|
srcs = [ |
|
|
|
# ":amalgamated_upb", |
|
|
|
":amalgamated_upb", |
|
|
|
# "//upb/cmake:upb_cmake_dist", |
|
|
|
"//upb/cmake:upb_cmake_dist", |
|
|
|
# ], |
|
|
|
], |
|
|
|
# prefix = "libupb", |
|
|
|
prefix = "libupb", |
|
|
|
# ) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# pkg_zip( |
|
|
|
pkg_zip( |
|
|
|
# name = "rust_crate", |
|
|
|
name = "rust_crate", |
|
|
|
# srcs = [ |
|
|
|
srcs = [ |
|
|
|
# ":crate_root_files", |
|
|
|
":crate_root_files", |
|
|
|
# ":rust_protobuf_libupb_src", |
|
|
|
":rust_protobuf_libupb_src", |
|
|
|
# ":rust_protobuf_src_dir", |
|
|
|
":rust_protobuf_src_dir", |
|
|
|
# "//:LICENSE", |
|
|
|
"//:LICENSE", |
|
|
|
# ], |
|
|
|
], |
|
|
|
# ) |
|
|
|
) |
|
|
|
# end:github_only |
|
|
|
# end:github_only |
|
|
|