Index: remoting/protocol/BUILD.gn |
diff --git a/remoting/protocol/BUILD.gn b/remoting/protocol/BUILD.gn |
index 1d24f31da95bc8a30b74817a431186f8b276ea22..bd09f87b821ae70bb951f7a0e50b6e90be35d1cd 100644 |
--- a/remoting/protocol/BUILD.gn |
+++ b/remoting/protocol/BUILD.gn |
@@ -28,6 +28,7 @@ source_set("protocol") { |
"//remoting/base", |
"//remoting/codec", |
"//remoting/signaling", |
+ "//third_party/boringssl", |
"//third_party/libyuv", |
] |
@@ -54,6 +55,14 @@ source_set("protocol") { |
] |
} |
} |
+ |
+ if (!use_openssl) { |
+ sources -= [ |
+ "spake2_authenticator.cc", |
+ "spake2_authenticator.h", |
+ ] |
+ deps -= [ "//third_party/boringssl" ] |
+ } |
} |
source_set("test_support") { |
@@ -119,6 +128,7 @@ source_set("unit_tests") { |
"ppapi_module_stub.cc", |
"pseudotcp_adapter_unittest.cc", |
"session_config_unittest.cc", |
+ "spake2_authenticator_unittest.cc", |
"ssl_hmac_channel_authenticator_unittest.cc", |
"third_party_authenticator_unittest.cc", |
"v2_authenticator_unittest.cc", |
@@ -126,6 +136,10 @@ source_set("unit_tests") { |
"webrtc_transport_unittest.cc", |
] |
+ if (!use_openssl) { |
+ sources -= [ "spake2_authenticator_unittest.cc" ] |
+ } |
+ |
deps = [ |
":test_support", |
"//testing/gmock", |