mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-09 18:48:51 +08:00
c5d57c03ee
* Replace protobuf 2.6.1 with 3.21.8 * Update/add protobuf libs * Add CS2 protos * Remove old csgo/dota protos * Add versioned protoc bin * Comment out Valve's `schema` define for now * Use ENetworkDisconnectionReason * Fix-up `offsetof` to avoid errors on some Clang versions
35 lines
1013 B
Python
35 lines
1013 B
Python
# Protobuf Ruby runtime
|
|
#
|
|
# See also code generation logic under /src/google/protobuf/compiler/ruby.
|
|
|
|
load("@rules_pkg//:mappings.bzl", "pkg_files", "strip_prefix")
|
|
|
|
pkg_files(
|
|
name = "dist_files",
|
|
srcs = glob([
|
|
"compatibility_tests/v3.0.0/**/*",
|
|
"ext/google/protobuf_c/*",
|
|
"src/main/java/com/google/protobuf/jruby/*.java",
|
|
"tests/*.proto",
|
|
"tests/*.rb",
|
|
]) + [
|
|
".gitignore",
|
|
"BUILD.bazel",
|
|
"Gemfile",
|
|
"README.md",
|
|
"Rakefile",
|
|
"google-protobuf.gemspec",
|
|
"lib/google/protobuf.rb",
|
|
"lib/google/protobuf/descriptor_dsl.rb",
|
|
"lib/google/protobuf/message_exts.rb",
|
|
"lib/google/protobuf/repeated_field.rb",
|
|
"lib/google/protobuf/well_known_types.rb",
|
|
"pom.xml",
|
|
"src/main/java/google/ProtobufJavaService.java",
|
|
"src/main/sentinel.proto",
|
|
"travis-test.sh",
|
|
],
|
|
strip_prefix = strip_prefix.from_root(""),
|
|
visibility = ["//pkg:__pkg__"],
|
|
)
|