Merge pull request #20257 from muxi/v1.24.x

Fix v1.24.0-pre1 objc release
pull/20305/head^2 v1.24.0-pre2
Muxi Yan 5 years ago committed by GitHub
commit 7e6d990117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CMakeLists.txt
  2. 4
      Makefile
  3. 2
      build.yaml
  4. 6
      gRPC-C++.podspec
  5. 6
      gRPC-Core.podspec
  6. 2
      gRPC-ProtoRPC.podspec
  7. 2
      gRPC-RxLibrary.podspec
  8. 54
      gRPC.podspec
  9. 4
      package.xml
  10. 2
      src/cpp/common/version_cc.cc
  11. 2
      src/csharp/Grpc.Core.Api/VersionInfo.cs
  12. 2
      src/csharp/build/dependencies.props
  13. 2
      src/csharp/build_unitypackage.bat
  14. 2
      src/objective-c/!ProtoCompiler-gRPCCppPlugin.podspec
  15. 13
      src/objective-c/!ProtoCompiler-gRPCPlugin.podspec
  16. 7
      src/objective-c/!ProtoCompiler.podspec
  17. 2
      src/objective-c/BoringSSL-GRPC.podspec
  18. 2
      src/objective-c/GRPCClient/version.h
  19. 2
      src/objective-c/tests/version.h
  20. 2
      src/php/ext/grpc/version.h
  21. 2
      src/python/grpcio/grpc/_grpcio_metadata.py
  22. 2
      src/python/grpcio/grpc_version.py
  23. 2
      src/python/grpcio_channelz/grpc_version.py
  24. 2
      src/python/grpcio_health_checking/grpc_version.py
  25. 2
      src/python/grpcio_reflection/grpc_version.py
  26. 2
      src/python/grpcio_status/grpc_version.py
  27. 2
      src/python/grpcio_testing/grpc_version.py
  28. 2
      src/python/grpcio_tests/grpc_version.py
  29. 2
      src/ruby/lib/grpc/version.rb
  30. 2
      src/ruby/tools/version.rb
  31. 4
      templates/gRPC-Core.podspec.template
  32. 52
      templates/gRPC.podspec.template
  33. 11
      templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template
  34. 2
      templates/src/objective-c/BoringSSL-GRPC.podspec.template
  35. 2
      tools/distrib/python/grpcio_tools/grpc_version.py
  36. 2
      tools/doxygen/Doxyfile.c++
  37. 2
      tools/doxygen/Doxyfile.c++.internal
  38. 24
      tools/run_tests/run_tests.py

@ -24,7 +24,7 @@
cmake_minimum_required(VERSION 3.5.1) cmake_minimum_required(VERSION 3.5.1)
set(PACKAGE_NAME "grpc") set(PACKAGE_NAME "grpc")
set(PACKAGE_VERSION "1.24.0-pre1") set(PACKAGE_VERSION "1.24.0-pre2")
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}")
set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/")

@ -461,8 +461,8 @@ Q = @
endif endif
CORE_VERSION = 8.0.0 CORE_VERSION = 8.0.0
CPP_VERSION = 1.24.0-pre1 CPP_VERSION = 1.24.0-pre2
CSHARP_VERSION = 2.24.0-pre1 CSHARP_VERSION = 2.24.0-pre2
CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES)) CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS) CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)

@ -15,7 +15,7 @@ settings:
core_version: 8.0.0 core_version: 8.0.0
csharp_major_version: 2 csharp_major_version: 2
g_stands_for: ganges g_stands_for: ganges
version: 1.24.0-pre1 version: 1.24.0-pre2
filegroups: filegroups:
- name: alts_tsi - name: alts_tsi
headers: headers:

@ -23,15 +23,15 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'gRPC-C++' s.name = 'gRPC-C++'
# TODO (mxyan): use version that match gRPC version when pod is stabilized # TODO (mxyan): use version that match gRPC version when pod is stabilized
# version = '1.24.0-pre1' # version = '1.24.0-pre2'
version = '0.0.9-pre1' version = '0.0.9-pre2'
s.version = version s.version = version
s.summary = 'gRPC C++ library' s.summary = 'gRPC C++ library'
s.homepage = 'https://grpc.io' s.homepage = 'https://grpc.io'
s.license = 'Apache License, Version 2.0' s.license = 'Apache License, Version 2.0'
s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' } s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' }
grpc_version = '1.24.0-pre1' grpc_version = '1.24.0-pre2'
s.source = { s.source = {
:git => 'https://github.com/grpc/grpc.git', :git => 'https://github.com/grpc/grpc.git',

@ -22,7 +22,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'gRPC-Core' s.name = 'gRPC-Core'
version = '1.24.0-pre1' version = '1.24.0-pre2'
s.version = version s.version = version
s.summary = 'Core cross-platform gRPC library, written in C' s.summary = 'Core cross-platform gRPC library, written in C'
s.homepage = 'https://grpc.io' s.homepage = 'https://grpc.io'
@ -32,6 +32,7 @@ Pod::Spec.new do |s|
s.source = { s.source = {
:git => 'https://github.com/grpc/grpc.git', :git => 'https://github.com/grpc/grpc.git',
:tag => "v#{version}", :tag => "v#{version}",
:submodules => true,
} }
# gRPC podspecs depend on fix for https://github.com/CocoaPods/CocoaPods/issues/6024, # gRPC podspecs depend on fix for https://github.com/CocoaPods/CocoaPods/issues/6024,
@ -184,10 +185,9 @@ Pod::Spec.new do |s|
ss.header_mappings_dir = '.' ss.header_mappings_dir = '.'
ss.libraries = 'z' ss.libraries = 'z'
ss.dependency "#{s.name}/Interface", version ss.dependency "#{s.name}/Interface", version
ss.dependency 'BoringSSL-GRPC', '0.0.3' ss.dependency 'BoringSSL-GRPC', '0.0.4'
ss.compiler_flags = '-DGRPC_SHADOW_BORINGSSL_SYMBOLS' ss.compiler_flags = '-DGRPC_SHADOW_BORINGSSL_SYMBOLS'
# To save you from scrolling, this is the last part of the podspec.
ss.source_files = 'src/core/lib/gpr/alloc.h', ss.source_files = 'src/core/lib/gpr/alloc.h',
'src/core/lib/gpr/arena.h', 'src/core/lib/gpr/arena.h',
'src/core/lib/gpr/env.h', 'src/core/lib/gpr/env.h',

@ -21,7 +21,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'gRPC-ProtoRPC' s.name = 'gRPC-ProtoRPC'
version = '1.24.0-pre1' version = '1.24.0-pre2'
s.version = version s.version = version
s.summary = 'RPC library for Protocol Buffers, based on gRPC' s.summary = 'RPC library for Protocol Buffers, based on gRPC'
s.homepage = 'https://grpc.io' s.homepage = 'https://grpc.io'

@ -21,7 +21,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'gRPC-RxLibrary' s.name = 'gRPC-RxLibrary'
version = '1.24.0-pre1' version = '1.24.0-pre2'
s.version = version s.version = version
s.summary = 'Reactive Extensions library for iOS/OSX.' s.summary = 'Reactive Extensions library for iOS/OSX.'
s.homepage = 'https://grpc.io' s.homepage = 'https://grpc.io'

@ -20,7 +20,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'gRPC' s.name = 'gRPC'
version = '1.24.0-pre1' version = '1.24.0-pre2'
s.version = version s.version = version
s.summary = 'gRPC client library for iOS/OSX' s.summary = 'gRPC client library for iOS/OSX'
s.homepage = 'https://grpc.io' s.homepage = 'https://grpc.io'
@ -32,11 +32,6 @@ Pod::Spec.new do |s|
:tag => "v#{version}", :tag => "v#{version}",
} }
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '4.0'
name = 'GRPCClient' name = 'GRPCClient'
s.module_name = name s.module_name = name
s.header_dir = name s.header_dir = name
@ -49,25 +44,35 @@ Pod::Spec.new do |s|
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO', 'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
} }
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '4.0'
s.subspec 'Interface-Legacy' do |ss| s.subspec 'Interface-Legacy' do |ss|
ss.header_mappings_dir = 'src/objective-c/GRPCClient' ss.header_mappings_dir = 'src/objective-c/GRPCClient'
ss.public_header_files = "GRPCClient/GRPCCall+ChannelArg.h", ss.public_header_files = "src/objective-c/GRPCClient/GRPCCall+ChannelArg.h",
"GRPCClient/GRPCCall+ChannelCredentials.h", "src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h",
"GRPCClient/GRPCCall+Cronet.h", "src/objective-c/GRPCClient/GRPCCall+Cronet.h",
"GRPCClient/GRPCCall+OAuth2.h", "src/objective-c/GRPCClient/GRPCCall+OAuth2.h",
"GRPCClient/GRPCCall+Tests.h", "src/objective-c/GRPCClient/GRPCCall+Tests.h",
"src/objective-c/GRPCClient/GRPCCallLegacy.h", "src/objective-c/GRPCClient/GRPCCallLegacy.h",
"src/objective-c/GRPCClient/GRPCTypes.h" "src/objective-c/GRPCClient/GRPCTypes.h"
ss.source_files = "GRPCClient/GRPCCall+ChannelArg.h", ss.source_files = "src/objective-c/GRPCClient/GRPCCall+ChannelArg.h",
"GRPCClient/GRPCCall+ChannelCredentials.h", "src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h",
"GRPCClient/GRPCCall+Cronet.h", "src/objective-c/GRPCClient/GRPCCall+Cronet.h",
"GRPCClient/GRPCCall+OAuth2.h", "src/objective-c/GRPCClient/GRPCCall+OAuth2.h",
"GRPCClient/GRPCCall+Tests.h", "src/objective-c/GRPCClient/GRPCCall+Tests.h",
"src/objective-c/GRPCClient/GRPCCallLegacy.h", "src/objective-c/GRPCClient/GRPCCallLegacy.h",
"src/objective-c/GRPCClient/GRPCTypes.h" "src/objective-c/GRPCClient/GRPCTypes.h"
ss.dependency "gRPC-RxLibrary/Interface", version ss.dependency "gRPC-RxLibrary/Interface", version
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end end
s.subspec 'Interface' do |ss| s.subspec 'Interface' do |ss|
@ -98,6 +103,11 @@ Pod::Spec.new do |s|
'src/objective-c/GRPCClient/version.h' 'src/objective-c/GRPCClient/version.h'
ss.dependency "#{s.name}/Interface-Legacy", version ss.dependency "#{s.name}/Interface-Legacy", version
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end end
s.subspec 'GRPCCore' do |ss| s.subspec 'GRPCCore' do |ss|
@ -131,6 +141,11 @@ Pod::Spec.new do |s|
ss.dependency "#{s.name}/Interface", version ss.dependency "#{s.name}/Interface", version
ss.dependency 'gRPC-Core', version ss.dependency 'gRPC-Core', version
ss.dependency 'gRPC-RxLibrary', version ss.dependency 'gRPC-RxLibrary', version
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end end
s.subspec 'GRPCCoreCronet' do |ss| s.subspec 'GRPCCoreCronet' do |ss|
@ -142,10 +157,17 @@ Pod::Spec.new do |s|
ss.dependency "#{s.name}/GRPCCore", version ss.dependency "#{s.name}/GRPCCore", version
ss.dependency 'gRPC-Core/Cronet-Implementation', version ss.dependency 'gRPC-Core/Cronet-Implementation', version
ss.dependency 'CronetFramework' ss.dependency 'CronetFramework'
ss.ios.deployment_target = '8.0'
end end
# CFStream is now default. Leaving this subspec only for compatibility purpose. # CFStream is now default. Leaving this subspec only for compatibility purpose.
s.subspec 'CFStream' do |ss| s.subspec 'CFStream' do |ss|
ss.dependency "#{s.name}/GRPCCore", version ss.dependency "#{s.name}/GRPCCore", version
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end end
end end

@ -13,8 +13,8 @@
<date>2018-01-19</date> <date>2018-01-19</date>
<time>16:06:07</time> <time>16:06:07</time>
<version> <version>
<release>1.24.0RC1</release> <release>1.24.0RC2</release>
<api>1.24.0RC1</api> <api>1.24.0RC2</api>
</version> </version>
<stability> <stability>
<release>beta</release> <release>beta</release>

@ -22,5 +22,5 @@
#include <grpcpp/grpcpp.h> #include <grpcpp/grpcpp.h>
namespace grpc { namespace grpc {
grpc::string Version() { return "1.24.0-pre1"; } grpc::string Version() { return "1.24.0-pre2"; }
} // namespace grpc } // namespace grpc

@ -38,6 +38,6 @@ namespace Grpc.Core
/// <summary> /// <summary>
/// Current version of gRPC C# /// Current version of gRPC C#
/// </summary> /// </summary>
public const string CurrentVersion = "2.24.0-pre1"; public const string CurrentVersion = "2.24.0-pre2";
} }
} }

@ -1,7 +1,7 @@
<!-- This file is generated --> <!-- This file is generated -->
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<GrpcCsharpVersion>2.24.0-pre1</GrpcCsharpVersion> <GrpcCsharpVersion>2.24.0-pre2</GrpcCsharpVersion>
<GoogleProtobufVersion>3.8.0</GoogleProtobufVersion> <GoogleProtobufVersion>3.8.0</GoogleProtobufVersion>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

@ -13,7 +13,7 @@
@rem limitations under the License. @rem limitations under the License.
@rem Current package versions @rem Current package versions
set VERSION=2.24.0-pre1 set VERSION=2.24.0-pre2
@rem Adjust the location of nuget.exe @rem Adjust the location of nuget.exe
set NUGET=C:\nuget\nuget.exe set NUGET=C:\nuget\nuget.exe

@ -42,7 +42,7 @@ Pod::Spec.new do |s|
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed # exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them. # before them.
s.name = '!ProtoCompiler-gRPCCppPlugin' s.name = '!ProtoCompiler-gRPCCppPlugin'
v = '1.24.0-pre1' v = '1.24.0-pre2'
s.version = v s.version = v
s.summary = 'The gRPC ProtoC plugin generates C++ files from .proto services.' s.summary = 'The gRPC ProtoC plugin generates C++ files from .proto services.'
s.description = <<-DESC s.description = <<-DESC

@ -42,7 +42,7 @@ Pod::Spec.new do |s|
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed # exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them. # before them.
s.name = '!ProtoCompiler-gRPCPlugin' s.name = '!ProtoCompiler-gRPCPlugin'
v = '1.24.0-pre1' v = '1.24.0-pre2'
s.version = v s.version = v
s.summary = 'The gRPC ProtoC plugin generates Objective-C files from .proto services.' s.summary = 'The gRPC ProtoC plugin generates Objective-C files from .proto services.'
s.description = <<-DESC s.description = <<-DESC
@ -107,7 +107,12 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '7.0' s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9' s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '10.0' s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '4.0'
# watchOS is disabled due to #20258.
# TODO (mxyan): Enable watchos when !ProtoCompiler.podspec is updated for
# support of watchos in the next release
# s.watchos.deployment_target = '4.0'
# Restrict the gRPC runtime version to the one supported by this plugin. # Restrict the gRPC runtime version to the one supported by this plugin.
s.dependency 'gRPC-ProtoRPC', v s.dependency 'gRPC-ProtoRPC', v
@ -116,6 +121,8 @@ Pod::Spec.new do |s|
# present in this pod's directory. We use that knowledge to check for the existence of the file # present in this pod's directory. We use that knowledge to check for the existence of the file
# and, if absent, compile the plugin from the local sources. # and, if absent, compile the plugin from the local sources.
s.prepare_command = <<-CMD s.prepare_command = <<-CMD
#{bazel} build //src/compiler:grpc_objective_c_plugin if [ ! -f #{plugin} ]; then
#{bazel} build //src/compiler:grpc_objective_c_plugin
fi
CMD CMD
end end

@ -123,6 +123,11 @@ Pod::Spec.new do |s|
bazel = "#{repo_root}/tools/bazel" bazel = "#{repo_root}/tools/bazel"
s.prepare_command = <<-CMD s.prepare_command = <<-CMD
#{bazel} build @com_google_protobuf//:protoc if [ ! -f bin/protoc ]; then
#{bazel} build @com_google_protobuf//:protoc
else
mv bin/protoc .
mv include/google .
fi
CMD CMD
end end

@ -39,7 +39,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'BoringSSL-GRPC' s.name = 'BoringSSL-GRPC'
version = '0.0.3' version = '0.0.4'
s.version = version s.version = version
s.summary = 'BoringSSL is a fork of OpenSSL that is designed to meet Google\'s needs.' s.summary = 'BoringSSL is a fork of OpenSSL that is designed to meet Google\'s needs.'
# Adapted from the homepage: # Adapted from the homepage:

@ -22,4 +22,4 @@
// instead. This file can be regenerated from the template by running // instead. This file can be regenerated from the template by running
// `tools/buildgen/generate_projects.sh`. // `tools/buildgen/generate_projects.sh`.
#define GRPC_OBJC_VERSION_STRING @"1.24.0-pre1" #define GRPC_OBJC_VERSION_STRING @"1.24.0-pre2"

@ -22,5 +22,5 @@
// instead. This file can be regenerated from the template by running // instead. This file can be regenerated from the template by running
// `tools/buildgen/generate_projects.sh`. // `tools/buildgen/generate_projects.sh`.
#define GRPC_OBJC_VERSION_STRING @"1.24.0-pre1" #define GRPC_OBJC_VERSION_STRING @"1.24.0-pre2"
#define GRPC_C_VERSION_STRING @"8.0.0" #define GRPC_C_VERSION_STRING @"8.0.0"

@ -20,6 +20,6 @@
#ifndef VERSION_H #ifndef VERSION_H
#define VERSION_H #define VERSION_H
#define PHP_GRPC_VERSION "1.24.0RC1" #define PHP_GRPC_VERSION "1.24.0RC2"
#endif /* VERSION_H */ #endif /* VERSION_H */

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc/_grpcio_metadata.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc/_grpcio_metadata.py.template`!!!
__version__ = """1.24.0rc1""" __version__ = """1.24.0rc2"""

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_version.py.template`!!!
VERSION = '1.24.0rc1' VERSION = '1.24.0rc2'

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_channelz/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_channelz/grpc_version.py.template`!!!
VERSION = '1.24.0rc1' VERSION = '1.24.0rc2'

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_health_checking/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_health_checking/grpc_version.py.template`!!!
VERSION = '1.24.0rc1' VERSION = '1.24.0rc2'

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_reflection/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_reflection/grpc_version.py.template`!!!
VERSION = '1.24.0rc1' VERSION = '1.24.0rc2'

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_status/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_status/grpc_version.py.template`!!!
VERSION = '1.24.0rc1' VERSION = '1.24.0rc2'

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_testing/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_testing/grpc_version.py.template`!!!
VERSION = '1.24.0rc1' VERSION = '1.24.0rc2'

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_tests/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_tests/grpc_version.py.template`!!!
VERSION = '1.24.0rc1' VERSION = '1.24.0rc2'

@ -14,5 +14,5 @@
# GRPC contains the General RPC module. # GRPC contains the General RPC module.
module GRPC module GRPC
VERSION = '1.24.0.pre1' VERSION = '1.24.0.pre2'
end end

@ -14,6 +14,6 @@
module GRPC module GRPC
module Tools module Tools
VERSION = '1.24.0.pre1' VERSION = '1.24.0.pre2'
end end
end end

@ -85,6 +85,7 @@
s.source = { s.source = {
:git => 'https://github.com/grpc/grpc.git', :git => 'https://github.com/grpc/grpc.git',
:tag => "v#{version}", :tag => "v#{version}",
:submodules => true,
} }
# gRPC podspecs depend on fix for https://github.com/CocoaPods/CocoaPods/issues/6024, # gRPC podspecs depend on fix for https://github.com/CocoaPods/CocoaPods/issues/6024,
@ -171,10 +172,9 @@
ss.header_mappings_dir = '.' ss.header_mappings_dir = '.'
ss.libraries = 'z' ss.libraries = 'z'
ss.dependency "#{s.name}/Interface", version ss.dependency "#{s.name}/Interface", version
ss.dependency 'BoringSSL-GRPC', '0.0.3' ss.dependency 'BoringSSL-GRPC', '0.0.4'
ss.compiler_flags = '-DGRPC_SHADOW_BORINGSSL_SYMBOLS' ss.compiler_flags = '-DGRPC_SHADOW_BORINGSSL_SYMBOLS'
# To save you from scrolling, this is the last part of the podspec.
ss.source_files = ${ruby_multiline_list(grpc_private_files(libs), 22)} ss.source_files = ${ruby_multiline_list(grpc_private_files(libs), 22)}
ss.private_header_files = ${ruby_multiline_list(grpc_private_headers(libs), 30)} ss.private_header_files = ${ruby_multiline_list(grpc_private_headers(libs), 30)}

@ -34,11 +34,6 @@
:tag => "v#{version}", :tag => "v#{version}",
} }
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '4.0'
name = 'GRPCClient' name = 'GRPCClient'
s.module_name = name s.module_name = name
s.header_dir = name s.header_dir = name
@ -51,25 +46,35 @@
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO', 'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
} }
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '4.0'
s.subspec 'Interface-Legacy' do |ss| s.subspec 'Interface-Legacy' do |ss|
ss.header_mappings_dir = 'src/objective-c/GRPCClient' ss.header_mappings_dir = 'src/objective-c/GRPCClient'
ss.public_header_files = "GRPCClient/GRPCCall+ChannelArg.h", ss.public_header_files = "src/objective-c/GRPCClient/GRPCCall+ChannelArg.h",
"GRPCClient/GRPCCall+ChannelCredentials.h", "src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h",
"GRPCClient/GRPCCall+Cronet.h", "src/objective-c/GRPCClient/GRPCCall+Cronet.h",
"GRPCClient/GRPCCall+OAuth2.h", "src/objective-c/GRPCClient/GRPCCall+OAuth2.h",
"GRPCClient/GRPCCall+Tests.h", "src/objective-c/GRPCClient/GRPCCall+Tests.h",
"src/objective-c/GRPCClient/GRPCCallLegacy.h", "src/objective-c/GRPCClient/GRPCCallLegacy.h",
"src/objective-c/GRPCClient/GRPCTypes.h" "src/objective-c/GRPCClient/GRPCTypes.h"
ss.source_files = "GRPCClient/GRPCCall+ChannelArg.h", ss.source_files = "src/objective-c/GRPCClient/GRPCCall+ChannelArg.h",
"GRPCClient/GRPCCall+ChannelCredentials.h", "src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h",
"GRPCClient/GRPCCall+Cronet.h", "src/objective-c/GRPCClient/GRPCCall+Cronet.h",
"GRPCClient/GRPCCall+OAuth2.h", "src/objective-c/GRPCClient/GRPCCall+OAuth2.h",
"GRPCClient/GRPCCall+Tests.h", "src/objective-c/GRPCClient/GRPCCall+Tests.h",
"src/objective-c/GRPCClient/GRPCCallLegacy.h", "src/objective-c/GRPCClient/GRPCCallLegacy.h",
"src/objective-c/GRPCClient/GRPCTypes.h" "src/objective-c/GRPCClient/GRPCTypes.h"
ss.dependency "gRPC-RxLibrary/Interface", version ss.dependency "gRPC-RxLibrary/Interface", version
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end end
s.subspec 'Interface' do |ss| s.subspec 'Interface' do |ss|
@ -100,6 +105,11 @@
'src/objective-c/GRPCClient/version.h' 'src/objective-c/GRPCClient/version.h'
ss.dependency "#{s.name}/Interface-Legacy", version ss.dependency "#{s.name}/Interface-Legacy", version
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end end
s.subspec 'GRPCCore' do |ss| s.subspec 'GRPCCore' do |ss|
@ -133,6 +143,11 @@
ss.dependency "#{s.name}/Interface", version ss.dependency "#{s.name}/Interface", version
ss.dependency 'gRPC-Core', version ss.dependency 'gRPC-Core', version
ss.dependency 'gRPC-RxLibrary', version ss.dependency 'gRPC-RxLibrary', version
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end end
s.subspec 'GRPCCoreCronet' do |ss| s.subspec 'GRPCCoreCronet' do |ss|
@ -144,10 +159,17 @@
ss.dependency "#{s.name}/GRPCCore", version ss.dependency "#{s.name}/GRPCCore", version
ss.dependency 'gRPC-Core/Cronet-Implementation', version ss.dependency 'gRPC-Core/Cronet-Implementation', version
ss.dependency 'CronetFramework' ss.dependency 'CronetFramework'
ss.ios.deployment_target = '8.0'
end end
# CFStream is now default. Leaving this subspec only for compatibility purpose. # CFStream is now default. Leaving this subspec only for compatibility purpose.
s.subspec 'CFStream' do |ss| s.subspec 'CFStream' do |ss|
ss.dependency "#{s.name}/GRPCCore", version ss.dependency "#{s.name}/GRPCCore", version
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end end
end end

@ -109,7 +109,12 @@
s.ios.deployment_target = '7.0' s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9' s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '10.0' s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '4.0'
# watchOS is disabled due to #20258.
# TODO (mxyan): Enable watchos when !ProtoCompiler.podspec is updated for
# support of watchos in the next release
# s.watchos.deployment_target = '4.0'
# Restrict the gRPC runtime version to the one supported by this plugin. # Restrict the gRPC runtime version to the one supported by this plugin.
s.dependency 'gRPC-ProtoRPC', v s.dependency 'gRPC-ProtoRPC', v
@ -118,6 +123,8 @@
# present in this pod's directory. We use that knowledge to check for the existence of the file # present in this pod's directory. We use that knowledge to check for the existence of the file
# and, if absent, compile the plugin from the local sources. # and, if absent, compile the plugin from the local sources.
s.prepare_command = <<-CMD s.prepare_command = <<-CMD
#{bazel} build //src/compiler:grpc_objective_c_plugin if [ ! -f #{plugin} ]; then
#{bazel} build //src/compiler:grpc_objective_c_plugin
fi
CMD CMD
end end

@ -44,7 +44,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'BoringSSL-GRPC' s.name = 'BoringSSL-GRPC'
version = '0.0.3' version = '0.0.4'
s.version = version s.version = version
s.summary = 'BoringSSL is a fork of OpenSSL that is designed to meet Google\'s needs.' s.summary = 'BoringSSL is a fork of OpenSSL that is designed to meet Google\'s needs.'
# Adapted from the homepage: # Adapted from the homepage:

@ -14,4 +14,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
VERSION = '1.24.0rc1' VERSION = '1.24.0rc2'

@ -40,7 +40,7 @@ PROJECT_NAME = "GRPC C++"
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # control system is used.
PROJECT_NUMBER = 1.24.0-pre1 PROJECT_NUMBER = 1.24.0-pre2
# Using the PROJECT_BRIEF tag one can provide an optional one line description # Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a # for a project that appears at the top of each page and should give viewer a

@ -40,7 +40,7 @@ PROJECT_NAME = "GRPC C++"
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # control system is used.
PROJECT_NUMBER = 1.24.0-pre1 PROJECT_NUMBER = 1.24.0-pre2
# Using the PROJECT_BRIEF tag one can provide an optional one line description # Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a # for a project that appears at the top of each page and should give viewer a

@ -1102,17 +1102,19 @@ class ObjCLanguage(object):
'EXAMPLE_PATH': 'src/objective-c/examples/tvOS-sample', 'EXAMPLE_PATH': 'src/objective-c/examples/tvOS-sample',
'FRAMEWORKS': 'NO' 'FRAMEWORKS': 'NO'
})) }))
out.append( # Disabled due to #20258
self.config.job_spec( # TODO (mxyan): Reenable this test when #20258 is resolved.
['src/objective-c/tests/build_one_example_bazel.sh'], # out.append(
timeout_seconds=20 * 60, # self.config.job_spec(
shortname='ios-buildtest-example-watchOS-sample', # ['src/objective-c/tests/build_one_example_bazel.sh'],
cpu_cost=1e6, # timeout_seconds=20 * 60,
environ={ # shortname='ios-buildtest-example-watchOS-sample',
'SCHEME': 'watchOS-sample-WatchKit-App', # cpu_cost=1e6,
'EXAMPLE_PATH': 'src/objective-c/examples/watchOS-sample', # environ={
'FRAMEWORKS': 'NO' # 'SCHEME': 'watchOS-sample-WatchKit-App',
})) # 'EXAMPLE_PATH': 'src/objective-c/examples/watchOS-sample',
# 'FRAMEWORKS': 'NO'
# }))
out.append( out.append(
self.config.job_spec( self.config.job_spec(
['src/objective-c/tests/run_plugin_tests.sh'], ['src/objective-c/tests/run_plugin_tests.sh'],

Loading…
Cancel
Save