aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah Shi <hannahshisfb@gmail.com>2024-01-29 17:15:57 -0800
committerGitHub <noreply@github.com>2024-01-29 17:15:57 -0800
commit2c9c4dac9db8afc64a6cbfbc161376fa3ded8097 (patch)
treedb1afd8cd56544070a75b839fcf0457fb862d463
parentf4fd20cd36dc8feeffdf10b2006e80f1d082a3f6 (diff)
downloadgrpc-grpc-2c9c4dac9db8afc64a6cbfbc161376fa3ded8097.tar.gz
[ObjC] Update swift package for 1.61.x release (#35690)
Backport #35686 for 1.61.0 release
-rw-r--r--Package.swift45
-rw-r--r--build_handwritten.yaml1
-rw-r--r--templates/Package.swift.template6
3 files changed, 46 insertions, 6 deletions
diff --git a/Package.swift b/Package.swift
index 5962c89119..f38f8984d1 100644
--- a/Package.swift
+++ b/Package.swift
@@ -23,7 +23,7 @@ let package = Package(
],
dependencies: [
- .package(url: "https://github.com/firebase/abseil-cpp-SwiftPM.git", "0.20220623.0"..<"0.20220624.0"),
+ .package(url: "https://github.com/firebase/abseil-cpp-SwiftPM.git", "0.20230802.0"..<"0.20230803.0"),
.package(url: "https://github.com/firebase/boringssl-SwiftPM.git", "0.9.0"..<"0.10.0"),
],
@@ -2026,11 +2026,16 @@ let package = Package(
"third_party/re2/util/utf.h",
"third_party/re2/util/util.h",
"third_party/upb/upb/base/descriptor_constants.h",
+ "third_party/upb/upb/base/internal/log2.h",
"third_party/upb/upb/base/status.c",
"third_party/upb/upb/base/status.h",
"third_party/upb/upb/base/status.hpp",
"third_party/upb/upb/base/string_view.h",
"third_party/upb/upb/generated_code_support.h",
+ "third_party/upb/upb/hash/common.c",
+ "third_party/upb/upb/hash/common.h",
+ "third_party/upb/upb/hash/int_table.h",
+ "third_party/upb/upb/hash/str_table.h",
"third_party/upb/upb/json/decode.c",
"third_party/upb/upb/json/decode.h",
"third_party/upb/upb/json/encode.c",
@@ -2051,7 +2056,25 @@ let package = Package(
"third_party/upb/upb/mem/internal/arena.h",
"third_party/upb/upb/message/accessors.c",
"third_party/upb/upb/message/accessors.h",
+ "third_party/upb/upb/message/array.c",
+ "third_party/upb/upb/message/array.h",
"third_party/upb/upb/message/internal/accessors.h",
+ "third_party/upb/upb/message/internal/array.h",
+ "third_party/upb/upb/message/internal/extension.h",
+ "third_party/upb/upb/message/internal/map.h",
+ "third_party/upb/upb/message/internal/map_entry.h",
+ "third_party/upb/upb/message/internal/map_sorter.h",
+ "third_party/upb/upb/message/internal/message.h",
+ "third_party/upb/upb/message/internal/types.h",
+ "third_party/upb/upb/message/map.c",
+ "third_party/upb/upb/message/map.h",
+ "third_party/upb/upb/message/map_gencode_util.h",
+ "third_party/upb/upb/message/map_sorter.c",
+ "third_party/upb/upb/message/message.c",
+ "third_party/upb/upb/message/message.h",
+ "third_party/upb/upb/message/tagged_ptr.h",
+ "third_party/upb/upb/message/types.h",
+ "third_party/upb/upb/message/value.h",
"third_party/upb/upb/mini_descriptor/build_enum.c",
"third_party/upb/upb/mini_descriptor/build_enum.h",
"third_party/upb/upb/mini_descriptor/decode.c",
@@ -2066,6 +2089,22 @@ let package = Package(
"third_party/upb/upb/mini_descriptor/internal/wire_constants.h",
"third_party/upb/upb/mini_descriptor/link.c",
"third_party/upb/upb/mini_descriptor/link.h",
+ "third_party/upb/upb/mini_table/enum.h",
+ "third_party/upb/upb/mini_table/extension.h",
+ "third_party/upb/upb/mini_table/extension_registry.c",
+ "third_party/upb/upb/mini_table/extension_registry.h",
+ "third_party/upb/upb/mini_table/field.h",
+ "third_party/upb/upb/mini_table/file.h",
+ "third_party/upb/upb/mini_table/internal/enum.h",
+ "third_party/upb/upb/mini_table/internal/extension.h",
+ "third_party/upb/upb/mini_table/internal/field.h",
+ "third_party/upb/upb/mini_table/internal/file.h",
+ "third_party/upb/upb/mini_table/internal/message.c",
+ "third_party/upb/upb/mini_table/internal/message.h",
+ "third_party/upb/upb/mini_table/internal/sub.h",
+ "third_party/upb/upb/mini_table/message.c",
+ "third_party/upb/upb/mini_table/message.h",
+ "third_party/upb/upb/mini_table/sub.h",
"third_party/upb/upb/port/atomic.h",
"third_party/upb/upb/port/def.inc",
"third_party/upb/upb/port/undef.inc",
@@ -2142,10 +2181,10 @@ let package = Package(
"third_party/utf8_range/utf8_range.h",
"third_party/xxhash/xxhash.h",
],
- publicHeadersPath: "spm-core-include",
resources: [
.copy("src/objective-c/PrivacyInfo.xcprivacy"),
],
+ publicHeadersPath: "spm-core-include",
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("include/"),
@@ -2191,10 +2230,10 @@ let package = Package(
sources: [
"src/cpp/",
],
- publicHeadersPath: "spm-cpp-include",
resources: [
.copy("src/objective-c/PrivacyInfo.xcprivacy"),
],
+ publicHeadersPath: "spm-cpp-include",
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("include/"),
diff --git a/build_handwritten.yaml b/build_handwritten.yaml
index b18f644b1e..4729d19637 100644
--- a/build_handwritten.yaml
+++ b/build_handwritten.yaml
@@ -209,6 +209,7 @@ swift_package:
- gpr
- upb_base_lib
- upb_mem_lib
+ - upb_message_lib
- upb_json_lib
- upb_textformat_lib
- utf8_range_lib
diff --git a/templates/Package.swift.template b/templates/Package.swift.template
index 2c714749a9..23334c0bc8 100644
--- a/templates/Package.swift.template
+++ b/templates/Package.swift.template
@@ -25,7 +25,7 @@
],
dependencies: [
- .package(url: "https://github.com/firebase/abseil-cpp-SwiftPM.git", "0.20220623.0"..<"0.20220624.0"),
+ .package(url: "https://github.com/firebase/abseil-cpp-SwiftPM.git", "0.20230802.0"..<"0.20230803.0"),
.package(url: "https://github.com/firebase/boringssl-SwiftPM.git", "0.9.0"..<"0.10.0"),
],
@@ -54,10 +54,10 @@
"${file}",
% endfor
],
- publicHeadersPath: "spm-core-include",
resources: [
.copy("src/objective-c/PrivacyInfo.xcprivacy"),
],
+ publicHeadersPath: "spm-core-include",
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("include/"),
@@ -103,10 +103,10 @@
sources: [
"src/cpp/",
],
- publicHeadersPath: "spm-cpp-include",
resources: [
.copy("src/objective-c/PrivacyInfo.xcprivacy"),
],
+ publicHeadersPath: "spm-cpp-include",
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("include/"),