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

Unified Diff: components/proximity_auth/cryptauth/BUILD.gn

Issue 1060483002: Add SecureMessage definitions to CryptAuth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use StartsWithASCII Created 5 years, 8 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 | « components/proximity_auth.gypi ('k') | components/proximity_auth/cryptauth/fake_secure_message_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/cryptauth/BUILD.gn
diff --git a/components/proximity_auth/cryptauth/BUILD.gn b/components/proximity_auth/cryptauth/BUILD.gn
index ccf0ac26aef5cac697a3d4b734a8a7277092dda3..e496151304029cde0760cfc0c9c30e5fbfe2df4b 100644
--- a/components/proximity_auth/cryptauth/BUILD.gn
+++ b/components/proximity_auth/cryptauth/BUILD.gn
@@ -15,6 +15,8 @@ source_set("cryptauth") {
"cryptauth_client_factory.h",
"cryptauth_enrollment_utils.cc",
"cryptauth_enrollment_utils.h",
+ "secure_message_delegate.cc",
+ "secure_message_delegate.h",
]
deps = [
@@ -28,16 +30,34 @@ source_set("cryptauth") {
]
}
+source_set("test_support") {
+ sources = [
+ "fake_secure_message_delegate.cc",
+ "fake_secure_message_delegate.h",
+ ]
+
+ deps = [
+ ":cryptauth",
+ "//base",
+ ]
+
+ public_deps = [
+ "proto",
+ ]
+}
+
source_set("unit_tests") {
testonly = true
sources = [
"cryptauth_account_token_fetcher_unittest.cc",
"cryptauth_api_call_flow_unittest.cc",
"cryptauth_client_unittest.cc",
+ "fake_secure_message_delegate_unittest.cc",
]
deps = [
":cryptauth",
+ ":test_support",
"//base/test:test_support",
"//google_apis:test_support",
"//net:test_support",
« no previous file with comments | « components/proximity_auth.gypi ('k') | components/proximity_auth/cryptauth/fake_secure_message_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698