Added secure public header to grpc++_unsecure dependencies

pull/19778/head
Matthew Stevenson 6 years ago
parent bd8952b214
commit 83302c759e
  1. 3
      BUILD
  2. 1
      CMakeLists.txt
  3. 1
      Makefile
  4. 4
      build.yaml
  5. 8
      tools/run_tests/generated/sources_and_headers.json

@ -388,6 +388,7 @@ grpc_cc_library(
"src/cpp/server/insecure_server_credentials.cc",
],
language = "c++",
public_hdrs= GRPC_SECURE_PUBLIC_HDRS,
standalone = True,
deps = [
"gpr",
@ -2013,7 +2014,7 @@ grpc_cc_library(
srcs = GRPCXX_SRCS,
hdrs = GRPCXX_HDRS,
language = "c++",
public_hdrs = GRPCXX_PUBLIC_HDRS,
public_hdrs = GRPCXX_PUBLIC_HDRS + GRPC_SECURE_PUBLIC_HDRS,
deps = [
"grpc++_codegen_base",
"grpc_unsecure",

@ -4224,6 +4224,7 @@ target_link_libraries(grpc++_unsecure
)
foreach(_hdr
include/grpc/grpc_security.h
include/grpc++/alarm.h
include/grpc++/channel.h
include/grpc++/client_context.h

@ -6534,6 +6534,7 @@ LIBGRPC++_UNSECURE_SRC = \
src/cpp/codegen/codegen_init.cc \
PUBLIC_HEADERS_CXX += \
include/grpc/grpc_security.h \
include/grpc++/alarm.h \
include/grpc++/channel.h \
include/grpc++/client_context.h \

@ -257,6 +257,8 @@ filegroups:
- grpc++_common
- grpc++_codegen_base
- name: grpc++_base_unsecure
public_headers:
- include/grpc/grpc_security.h
deps:
- grpc_unsecure
uses:
@ -1953,6 +1955,8 @@ libs:
- grpc++_base_unsecure
- grpc++_codegen_base
- grpc++_codegen_base_src
public headers:
- include/grpc/grpc_security.h
secure: false
- name: grpc_benchmark
build: test

@ -8543,11 +8543,15 @@
"grpc++_common",
"grpc_unsecure"
],
"headers": [],
"headers": [
"include/grpc/grpc_security.h"
],
"is_filegroup": true,
"language": "c",
"name": "grpc++_base_unsecure",
"src": [],
"src": [
"include/grpc/grpc_security.h"
],
"third_party": false,
"type": "filegroup"
},

Loading…
Cancel
Save