aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/gRPC-C++.podspec.template
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-02-21 17:29:33 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-02-21 17:29:33 -0800
commitb19c52579671e597f3646407247fb1ee9348aec7 (patch)
tree0b861063a75ed6fba1f05e0bb97cd3badb4d8e3f /templates/gRPC-C++.podspec.template
parent6be15eef08759470fedece4b86afaae848a38303 (diff)
Disable Tests subspec
Diffstat (limited to 'templates/gRPC-C++.podspec.template')
-rw-r--r--templates/gRPC-C++.podspec.template14
1 files changed, 3 insertions, 11 deletions
diff --git a/templates/gRPC-C++.podspec.template b/templates/gRPC-C++.podspec.template
index c24afea09c..25981adff4 100644
--- a/templates/gRPC-C++.podspec.template
+++ b/templates/gRPC-C++.podspec.template
@@ -102,6 +102,8 @@
out = grpc_lib_files(libs, ("grpc_test_util", "gpr_test_util"), ("headers",))
return out
+ # Tests subspec is currently disabled since the tests currently use `grpc++` include style instead of `grpcpp`.
+ # TODO (mxyan): enable Tests subspec after the inclusion style is updated in `test/` directory.
def grpcpp_test_util_files(libs, filegroups):
out = grpc_lib_files(libs, ("grpc++_test_util",), ("src", "headers"))
excl_files = grpc_test_util_files(libs) + grpcpp_private_files(libs, filegroups)
@@ -129,7 +131,7 @@
s.name = 'gRPC-C++'
# TODO (mxyan): use version that match gRPC version when pod is stabilized
# version = '${settings.version}'
- version = '0.0.1'
+ version = '0.0.2'
s.version = version
s.summary = 'gRPC C++ library'
s.homepage = 'https://grpc.io'
@@ -191,16 +193,6 @@
ss.private_header_files = ${ruby_multiline_list(grpcpp_private_headers(libs, filegroups), 30)}
end
- s.subspec 'Tests' do |ss|
- ss.header_mappings_dir = '.'
-
- ss.dependency "#{s.name}/Interface", version
- ss.dependency "#{s.name}/Implementation", version
- ss.dependency "gRPC-Core/Tests", grpc_version
-
- ss.source_files = ${ruby_multiline_list(grpcpp_test_util_files(libs, filegroups), 22)}
- end
-
s.prepare_command = <<-END_OF_COMMAND
find src/cpp/ -type f -exec sed -E -i'.back' 's;#include "third_party/nanopb/(.*)";#include <nanopb/\\1>;g' {} \\\;
find src/cpp/ -name "*.back" -type f -delete