Skip to content

Commit cd46d34

Browse files
acozzettecopybara-github
authored andcommitted
Remove upb gencode from upb/cmake/
This code appears to be unused, and is also duplicated in upb/reflection/cmake and upb/reflection/stage0. PiperOrigin-RevId: 728772596
1 parent 0ea5ccd commit cd46d34

File tree

6 files changed

+0
-9815
lines changed

6 files changed

+0
-9815
lines changed

regenerate_stale_files.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ STALENESS_TESTS=(
2323
"php:test_amalgamation_staleness"
2424
"php:proto_staleness_test"
2525
"ruby/ext/google/protobuf_c:test_amalgamation_staleness"
26-
"upb/cmake:test_generated_files"
2726
"upb/reflection:descriptor_upb_proto_staleness_test"
2827
"upb_generator:plugin_upb_proto_staleness_test"
2928
)

upb/cmake/BUILD.bazel

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
# https://developers.google.com/open-source/licenses/bsd
77

88
load("@rules_pkg//pkg:mappings.bzl", "pkg_files", "strip_prefix")
9-
load(
10-
":build_defs.bzl",
11-
"staleness_test",
12-
)
139

1410
licenses(["notice"])
1511

@@ -38,17 +34,6 @@ genrule(
3834
cmd = "cp $(SRCS) $(@D)/generated-in/google/protobuf",
3935
)
4036

41-
staleness_test(
42-
name = "test_generated_files",
43-
outs = [
44-
"google/protobuf/descriptor.upb.h",
45-
"google/protobuf/descriptor.upb_minitable.c",
46-
"google/protobuf/descriptor.upb_minitable.h",
47-
],
48-
generated_pattern = "generated-in/%s",
49-
tags = ["manual"],
50-
)
51-
5237
pkg_files(
5338
name = "upb_cmake_dist",
5439
srcs = [

0 commit comments

Comments
 (0)