Breaking Change: [ObjC] Remove legacy WKT headers.

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
pull/18735/head
Thomas Van Lenten 2 months ago committed by Copybara-Service
parent 6c9c12c8a1
commit d9caebc313
  1. 12
      Protobuf.podspec
  2. 10
      objectivec/BUILD.bazel
  3. 2
      objectivec/google/protobuf/Any.pbobjc.h
  4. 2
      objectivec/google/protobuf/Api.pbobjc.h
  5. 2
      objectivec/google/protobuf/Duration.pbobjc.h
  6. 2
      objectivec/google/protobuf/Empty.pbobjc.h
  7. 2
      objectivec/google/protobuf/FieldMask.pbobjc.h
  8. 2
      objectivec/google/protobuf/SourceContext.pbobjc.h
  9. 2
      objectivec/google/protobuf/Struct.pbobjc.h
  10. 2
      objectivec/google/protobuf/Timestamp.pbobjc.h
  11. 2
      objectivec/google/protobuf/Type.pbobjc.h
  12. 2
      objectivec/google/protobuf/Wrappers.pbobjc.h

@ -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'

@ -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",

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBAny.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBApi.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBDuration.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBEmpty.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBFieldMask.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBSourceContext.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBStruct.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBTimestamp.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBType.pbobjc.h"

@ -1,2 +0,0 @@
// Moved to root of objectivec directory, shim to keep anyone's imports working.
#import "GPBWrappers.pbobjc.h"
Loading…
Cancel
Save