aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2016-05-09 11:51:26 +0000
committerGravatar Klaus Aehlig <aehlig@google.com>2016-05-09 13:05:59 +0000
commita51a85ec8d2ab1446a4ccfd39eaea078e0201ef2 (patch)
treed372ade035e90e41c76c7d5c7e0e0b831f8fc9c2 /third_party
parent352f7e7b5f3adae4128a6041bdfe1324c433ce28 (diff)
Cut dependency on BoringSSL.
gRPC is only used for intra-machine communications, for which not using crypto is perfectly fine. -- MOS_MIGRATED_REVID=121825070
Diffstat (limited to 'third_party')
-rw-r--r--third_party/grpc/BUILD59
1 files changed, 5 insertions, 54 deletions
diff --git a/third_party/grpc/BUILD b/third_party/grpc/BUILD
index 6a54da5988..9693ea3d8e 100644
--- a/third_party/grpc/BUILD
+++ b/third_party/grpc/BUILD
@@ -47,7 +47,7 @@ cc_binary(
)
cc_library(
- name = "grpc",
+ name = "grpc_unsecure",
srcs = [
"src/core/census/aggregation.h",
"src/core/census/context.c",
@@ -121,7 +121,6 @@ cc_library(
"src/core/httpcli/format_request.h",
"src/core/httpcli/httpcli.c",
"src/core/httpcli/httpcli.h",
- "src/core/httpcli/httpcli_security_connector.c",
"src/core/httpcli/parser.c",
"src/core/httpcli/parser.h",
"src/core/iomgr/closure.c",
@@ -212,30 +211,6 @@ cc_library(
"src/core/profiling/basic_timers.c",
"src/core/profiling/stap_timers.c",
"src/core/profiling/timers.h",
- "src/core/security/auth_filters.h",
- "src/core/security/base64.c",
- "src/core/security/base64.h",
- "src/core/security/client_auth_filter.c",
- "src/core/security/credentials.c",
- "src/core/security/credentials.h",
- "src/core/security/credentials_metadata.c",
- "src/core/security/credentials_posix.c",
- "src/core/security/credentials_win32.c",
- "src/core/security/google_default_credentials.c",
- "src/core/security/handshake.c",
- "src/core/security/handshake.h",
- "src/core/security/json_token.c",
- "src/core/security/json_token.h",
- "src/core/security/jwt_verifier.c",
- "src/core/security/jwt_verifier.h",
- "src/core/security/secure_endpoint.c",
- "src/core/security/secure_endpoint.h",
- "src/core/security/security_connector.c",
- "src/core/security/security_connector.h",
- "src/core/security/security_context.c",
- "src/core/security/security_context.h",
- "src/core/security/server_auth_filter.c",
- "src/core/security/server_secure_chttp2.c",
"src/core/statistics/census_interface.h",
"src/core/statistics/census_rpc_stats.h",
"src/core/support/alloc.c",
@@ -309,10 +284,9 @@ cc_library(
"src/core/surface/event_string.h",
"src/core/surface/init.c",
"src/core/surface/init.h",
- "src/core/surface/init_secure.c",
+ "src/core/surface/init_unsecure.c",
"src/core/surface/lame_client.c",
"src/core/surface/metadata_array.c",
- "src/core/surface/secure_channel_create.c",
"src/core/surface/server.c",
"src/core/surface/server.h",
"src/core/surface/server_chttp2.c",
@@ -376,14 +350,6 @@ cc_library(
"src/core/transport/transport.h",
"src/core/transport/transport_impl.h",
"src/core/transport/transport_op_string.c",
- "src/core/tsi/fake_transport_security.c",
- "src/core/tsi/fake_transport_security.h",
- "src/core/tsi/ssl_transport_security.c",
- "src/core/tsi/ssl_transport_security.h",
- "src/core/tsi/ssl_types.h",
- "src/core/tsi/transport_security.c",
- "src/core/tsi/transport_security.h",
- "src/core/tsi/transport_security_interface.h",
],
hdrs = [
"include/grpc/byte_buffer.h",
@@ -391,7 +357,6 @@ cc_library(
"include/grpc/census.h",
"include/grpc/compression.h",
"include/grpc/grpc.h",
- "include/grpc/grpc_security.h",
"include/grpc/impl/codegen/alloc.h",
"include/grpc/impl/codegen/atm.h",
"include/grpc/impl/codegen/atm_gcc_atomic.h",
@@ -451,13 +416,12 @@ cc_library(
"include",
],
deps = [
- "//third_party/boringssl:ssl",
"//third_party/zlib",
],
)
cc_library(
- name = "grpc++",
+ name = "grpc++_unsecure",
srcs = [
"src/cpp/client/channel.cc",
"src/cpp/client/client_context.cc",
@@ -467,19 +431,13 @@ cc_library(
"src/cpp/client/credentials.cc",
"src/cpp/client/generic_stub.cc",
"src/cpp/client/insecure_credentials.cc",
- "src/cpp/client/secure_credentials.cc",
- "src/cpp/client/secure_credentials.h",
"src/cpp/codegen/grpc_library.cc",
- "src/cpp/common/auth_property_iterator.cc",
"src/cpp/common/call.cc",
"src/cpp/common/channel_arguments.cc",
"src/cpp/common/completion_queue.cc",
"src/cpp/common/create_auth_context.h",
+ "src/cpp/common/insecure_create_auth_context.cc",
"src/cpp/common/rpc_method.cc",
- "src/cpp/common/secure_auth_context.cc",
- "src/cpp/common/secure_auth_context.h",
- "src/cpp/common/secure_channel_arguments.cc",
- "src/cpp/common/secure_create_auth_context.cc",
"src/cpp/proto/proto_utils.cc",
"src/cpp/server/async_generic_service.cc",
"src/cpp/server/create_default_thread_pool.cc",
@@ -488,8 +446,6 @@ cc_library(
"src/cpp/server/fixed_size_thread_pool.cc",
"src/cpp/server/fixed_size_thread_pool.h",
"src/cpp/server/insecure_server_credentials.cc",
- "src/cpp/server/secure_server_credentials.cc",
- "src/cpp/server/secure_server_credentials.h",
"src/cpp/server/server.cc",
"src/cpp/server/server_builder.cc",
"src/cpp/server/server_context.cc",
@@ -576,13 +532,8 @@ cc_library(
"include/grpc++/support/sync_stream.h",
"include/grpc++/support/time.h",
],
- includes = [
- ".",
- "include",
- ],
deps = [
- ":grpc",
- "//third_party/boringssl:ssl",
+ ":grpc_unsecure",
"//third_party/protobuf:protobuf_clib",
],
)