aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
authorGravatar jiangtaoli2016 <jiangtao@google.com>2017-08-09 11:15:04 -0700
committerGravatar jiangtaoli2016 <jiangtao@google.com>2017-08-09 11:15:04 -0700
commit25d6fd82d13ea8363ce09bc482e1f3365084d2a2 (patch)
treeec0f079d491145b12149523b36491df1f317642b /BUILD
parent59611fb5710ee21fb49dae52acb92342cc28fcad (diff)
split tsi library into two
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD26
1 files changed, 19 insertions, 7 deletions
diff --git a/BUILD b/BUILD
index 19d019bc51..49c340d070 100644
--- a/BUILD
+++ b/BUILD
@@ -1412,13 +1412,29 @@ grpc_cc_library(
)
grpc_cc_library(
+ name = "tsi_interface",
+ srcs = [
+ "src/core/tsi/transport_security.c",
+ "src/core/tsi/transport_security_adapter.c",
+ ],
+ hdrs = [
+ "src/core/tsi/transport_security.h",
+ "src/core/tsi/transport_security_adapter.h",
+ "src/core/tsi/transport_security_interface.h",
+ ],
+ language = "c",
+ deps = [
+ "gpr",
+ "grpc_trace",
+ ],
+)
+
+grpc_cc_library(
name = "tsi",
srcs = [
"src/core/tsi/fake_transport_security.c",
"src/core/tsi/gts_transport_security.c",
"src/core/tsi/ssl_transport_security.c",
- "src/core/tsi/transport_security.c",
- "src/core/tsi/transport_security_adapter.c",
"src/core/tsi/transport_security_grpc.c",
],
hdrs = [
@@ -1426,19 +1442,15 @@ grpc_cc_library(
"src/core/tsi/gts_transport_security.h",
"src/core/tsi/ssl_transport_security.h",
"src/core/tsi/ssl_types.h",
- "src/core/tsi/transport_security.h",
- "src/core/tsi/transport_security_adapter.h",
"src/core/tsi/transport_security_grpc.h",
- "src/core/tsi/transport_security_interface.h",
],
external_deps = [
"libssl",
],
language = "c",
deps = [
- "gpr",
"grpc_base",
- "grpc_trace",
+ "tsi_interface",
],
)