Skip to content

Commit

Permalink
Breaking Change: [ObjC] Remove legacy WKT headers.
Browse files Browse the repository at this point in the history
These have been empty and forwarding to the real versions for
years now. Everyone should have migrated to the GPB[Name].pbobjc.h
versions instead.

PiperOrigin-RevId: 684580342
  • Loading branch information
thomasvl authored and copybara-github committed Oct 10, 2024
1 parent 6c9c12c commit d9caebc
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 41 deletions.
12 changes: 1 addition & 11 deletions Protobuf.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/protocolbuffers/protobuf.git',
:tag => "v#{s.version}" }

s.source_files = 'objectivec/*.{h,m,swift}',
'objectivec/google/protobuf/Any.pbobjc.h',
'objectivec/google/protobuf/Api.pbobjc.h',
'objectivec/google/protobuf/Duration.pbobjc.h',
'objectivec/google/protobuf/Empty.pbobjc.h',
'objectivec/google/protobuf/FieldMask.pbobjc.h',
'objectivec/google/protobuf/SourceContext.pbobjc.h',
'objectivec/google/protobuf/Struct.pbobjc.h',
'objectivec/google/protobuf/Timestamp.pbobjc.h',
'objectivec/google/protobuf/Type.pbobjc.h',
'objectivec/google/protobuf/Wrappers.pbobjc.h'
s.source_files = 'objectivec/*.{h,m,swift}'
# The following would cause duplicate symbol definitions. GPBProtocolBuffers is expected to be
# left out, as it's an umbrella implementation file.
s.exclude_files = 'objectivec/GPBProtocolBuffers.m'
Expand Down
10 changes: 0 additions & 10 deletions objectivec/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,6 @@ objc_library(
"GPBUtilities.h",
"GPBWellKnownTypes.h",
"GPBWireFormat.h",
"google/protobuf/Any.pbobjc.h",
"google/protobuf/Api.pbobjc.h",
"google/protobuf/Duration.pbobjc.h",
"google/protobuf/Empty.pbobjc.h",
"google/protobuf/FieldMask.pbobjc.h",
"google/protobuf/SourceContext.pbobjc.h",
"google/protobuf/Struct.pbobjc.h",
"google/protobuf/Timestamp.pbobjc.h",
"google/protobuf/Type.pbobjc.h",
"google/protobuf/Wrappers.pbobjc.h",
# Package private headers, but exposed because the generated sources
# need to use them.
"GPBArray_PackagePrivate.h",
Expand Down
2 changes: 0 additions & 2 deletions objectivec/google/protobuf/Any.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/Api.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/Duration.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/Empty.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/FieldMask.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/SourceContext.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/Struct.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/Timestamp.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/Type.pbobjc.h

This file was deleted.

2 changes: 0 additions & 2 deletions objectivec/google/protobuf/Wrappers.pbobjc.h

This file was deleted.

0 comments on commit d9caebc

Please sign in to comment.