mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
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
This commit is contained in:
parent
0ea5ccd61c
commit
cd46d340a5
6 changed files with 0 additions and 9815 deletions
|
|
@ -23,7 +23,6 @@ STALENESS_TESTS=(
|
|||
"php:test_amalgamation_staleness"
|
||||
"php:proto_staleness_test"
|
||||
"ruby/ext/google/protobuf_c:test_amalgamation_staleness"
|
||||
"upb/cmake:test_generated_files"
|
||||
"upb/reflection:descriptor_upb_proto_staleness_test"
|
||||
"upb_generator:plugin_upb_proto_staleness_test"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@
|
|||
# https://developers.google.com/open-source/licenses/bsd
|
||||
|
||||
load("@rules_pkg//pkg:mappings.bzl", "pkg_files", "strip_prefix")
|
||||
load(
|
||||
":build_defs.bzl",
|
||||
"staleness_test",
|
||||
)
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
|
|
@ -38,17 +34,6 @@ genrule(
|
|||
cmd = "cp $(SRCS) $(@D)/generated-in/google/protobuf",
|
||||
)
|
||||
|
||||
staleness_test(
|
||||
name = "test_generated_files",
|
||||
outs = [
|
||||
"google/protobuf/descriptor.upb.h",
|
||||
"google/protobuf/descriptor.upb_minitable.c",
|
||||
"google/protobuf/descriptor.upb_minitable.h",
|
||||
],
|
||||
generated_pattern = "generated-in/%s",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
pkg_files(
|
||||
name = "upb_cmake_dist",
|
||||
srcs = [
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,114 +0,0 @@
|
|||
/* This file was generated by upb_generator from the input file:
|
||||
*
|
||||
* google/protobuf/descriptor.proto
|
||||
*
|
||||
* Do not edit -- your changes will be discarded when the file is
|
||||
* regenerated.
|
||||
* NO CHECKED-IN PROTOBUF GENCODE */
|
||||
|
||||
#ifndef GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H__UPB_MINITABLE_H_
|
||||
#define GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H__UPB_MINITABLE_H_
|
||||
|
||||
#include "upb/generated_code_support.h"
|
||||
|
||||
// Must be last.
|
||||
#include "upb/port/def.inc"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern const upb_MiniTable google__protobuf__FileDescriptorSet_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FileDescriptorSet_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FileDescriptorProto_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FileDescriptorProto_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__DescriptorProto_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__DescriptorProto_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__DescriptorProto__ExtensionRange_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__DescriptorProto__ExtensionRange_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__DescriptorProto__ReservedRange_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__DescriptorProto__ReservedRange_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__ExtensionRangeOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__ExtensionRangeOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__ExtensionRangeOptions__Declaration_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__ExtensionRangeOptions__Declaration_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FieldDescriptorProto_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FieldDescriptorProto_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__OneofDescriptorProto_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__OneofDescriptorProto_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__EnumDescriptorProto_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__EnumDescriptorProto_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__EnumValueDescriptorProto_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__EnumValueDescriptorProto_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__ServiceDescriptorProto_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__ServiceDescriptorProto_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__MethodDescriptorProto_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__MethodDescriptorProto_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FileOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FileOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__MessageOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__MessageOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FieldOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FieldOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FieldOptions__EditionDefault_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FieldOptions__EditionDefault_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FieldOptions__FeatureSupport_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FieldOptions__FeatureSupport_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__OneofOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__OneofOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__EnumOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__EnumOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__EnumValueOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__EnumValueOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__ServiceOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__ServiceOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__MethodOptions_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__MethodOptions_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__UninterpretedOption_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__UninterpretedOption_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__UninterpretedOption__NamePart_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__UninterpretedOption__NamePart_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FeatureSet_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FeatureSet_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FeatureSetDefaults_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FeatureSetDefaults_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__SourceCodeInfo_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__SourceCodeInfo_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__SourceCodeInfo__Location_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__SourceCodeInfo__Location_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__GeneratedCodeInfo_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__GeneratedCodeInfo_msg_init_ptr;
|
||||
extern const upb_MiniTable google__protobuf__GeneratedCodeInfo__Annotation_msg_init;
|
||||
extern const upb_MiniTable* google__protobuf__GeneratedCodeInfo__Annotation_msg_init_ptr;
|
||||
|
||||
extern const upb_MiniTableEnum google__protobuf__Edition_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__ExtensionRangeOptions__VerificationState_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FeatureSet__EnforceNamingStyle_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FeatureSet__EnumType_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FeatureSet__FieldPresence_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FeatureSet__JsonFormat_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FeatureSet__MessageEncoding_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FeatureSet__RepeatedFieldEncoding_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FeatureSet__Utf8Validation_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FieldDescriptorProto__Label_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FieldDescriptorProto__Type_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FieldOptions__CType_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FieldOptions__JSType_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FieldOptions__OptionRetention_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FieldOptions__OptionTargetType_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__FileOptions__OptimizeMode_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__GeneratedCodeInfo__Annotation__Semantic_enum_init;
|
||||
extern const upb_MiniTableEnum google__protobuf__MethodOptions__IdempotencyLevel_enum_init;
|
||||
extern const upb_MiniTableFile google_protobuf_descriptor_proto_upb_file_layout;
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#include "upb/port/undef.inc"
|
||||
|
||||
#endif /* GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H__UPB_MINITABLE_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue