Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1024)

Unified Diff: remoting/protocol/BUILD.gn

Issue 1759313002: Implement authenticator based on SPAKE2 implementation in boringssl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/protocol/DEPS » ('j') | remoting/protocol/spake2_authenticator.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « no previous file | remoting/protocol/DEPS » ('j') | remoting/protocol/spake2_authenticator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698