[bazel] Make publishers for c++ hdr / srcs, and java (#8114)

This commit is contained in:
PJ Reiniger
2025-07-24 09:11:09 -04:00
committed by GitHub
parent e2f901822c
commit c78bd942bb
37 changed files with 478 additions and 230 deletions

View File

@@ -135,7 +135,7 @@ def wpilib_cc_library(
pkg_zip(
name = name + "-srcs-zip",
srcs = maybe_license_pkg + extra_src_pkg_files + [name + "-srcs-pkg"] + [lib + "-srcs-pkg" for lib in third_party_libraries],
tags = ["no-remote"],
tags = ["manual"],
)
if hdrs_pkg_root:
@@ -148,7 +148,7 @@ def wpilib_cc_library(
pkg_zip(
name = name + "-hdrs-zip",
srcs = extra_hdr_pkg_files + maybe_license_pkg + [name + "-hdrs-pkg"] + [lib + "-hdrs-pkg" for lib in third_party_libraries + third_party_header_only_libraries],
tags = ["no-remote"],
tags = ["manual"],
)
def wpilib_cc_shared_library(
@@ -388,15 +388,3 @@ def wpilib_cc_static_library(
static_lib_name = static_lib_name,
**kwargs
)
pkg_files(
name = name + "-static.pkg",
srcs = [":" + name],
tags = ["manual"],
)
pkg_zip(
name = name + "-static-zip",
srcs = ["//:license_pkg_files", name + "-static.pkg"],
tags = ["no-remote", "manual"],
)