Do no longer depend on deprecated bind() target //external:python_headers

pull/15236/head
maleo 11 months ago
parent 6e25bb8d4c
commit 801ac73313
  1. 5
      WORKSPACE
  2. 6
      python/build_targets.bzl

@ -191,11 +191,6 @@ load("@fuzzing_py_deps//:requirements.bzl", fuzzing_py_deps_install_deps = "inst
fuzzing_py_deps_install_deps()
bind(
name = "python_headers",
actual = "@system_python//:python_headers",
)
http_archive(
name = "rules_rust",
sha256 = "9ecd0f2144f0a24e6bc71ebcc50a1ee5128cedeceb32187004532c9710cb2334",

@ -85,7 +85,7 @@ def build_targets(name):
],
deps = select({
"//conditions:default": [],
":use_fast_cpp_protos": ["//external:python_headers"],
":use_fast_cpp_protos": ["@system_python//:python_headers"],
}),
)
@ -123,7 +123,7 @@ def build_targets(name):
"//:protobuf",
] + select({
"//conditions:default": [],
":use_fast_cpp_protos": ["//external:python_headers"],
":use_fast_cpp_protos": ["@system_python//:python_headers"],
}),
)
@ -387,7 +387,7 @@ def build_targets(name):
hdrs = ["google/protobuf/proto_api.h"],
visibility = ["//visibility:public"],
deps = [
"//external:python_headers",
"@system_python//:python_headers",
],
)

Loading…
Cancel
Save