chore: import upstream snapshot with attribution
cffconvert / validate (push) Has been skipped
License Check / license-check (push) Failing after 2s

This commit is contained in:
wehub-resource-sync
2026-07-13 12:14:16 +08:00
commit 8a852e4b4e
36502 changed files with 9277225 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Necessary for bazel to recognize this as a package.
# copybara:uncomment package(default_applicable_licenses = ["//tensorflow:license"])
+20
View File
@@ -0,0 +1,20 @@
diff --git a/pybind11_protobuf/BUILD b/pybind11_protobuf/BUILD
--- a/pybind11_protobuf/BUILD (revision 80f3440cd8fee124e077e2e47a8a17b78b451363)
+++ b/pybind11_protobuf/BUILD (date 1714533560692)
@@ -53,8 +53,8 @@
"proto_caster_impl.h",
],
local_defines = select({
- ":enable_pyproto_api_setting": ["PYBIND11_PROTOBUF_ENABLE_PYPROTO_API"],
- "//conditions:default": [],
+ ":enable_pyproto_api_setting": ["PROTOBUF_USE_DLLS", "PYBIND11_PROTOBUF_ENABLE_PYPROTO_API"],
+ "//conditions:default": ["PROTOBUF_USE_DLLS"],
}),
deps = [
":check_unknown_fields",
@@ -95,4 +95,5 @@
"@com_google_absl//absl/synchronization",
"@com_google_protobuf//:protobuf",
],
+ local_defines = ["PROTOBUF_USE_DLLS"],
)
+13
View File
@@ -0,0 +1,13 @@
diff --git third_party/pybind11_protobuf/BUILD third_party/pybind11_protobuf/BUILD
index b62eb91..b7d1240 100644
--- a/pybind11_protobuf/BUILD
+++ b/pybind11_protobuf/BUILD
@@ -3,8 +3,6 @@
load("@pybind11_bazel//:build_defs.bzl", "pybind_library")
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
-licenses(["notice"])
-
pybind_library(
name = "enum_type_caster",
hdrs = ["enum_type_caster.h"],