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

Side by Side Diff: components/proximity_auth/cryptauth/BUILD.gn

Issue 1066453002: Refactor CryptAuth component to be more testable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cryptauth_securemessage
Patch Set: rename tests 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("cryptauth") { 5 source_set("cryptauth") {
6 sources = [ 6 sources = [
7 "cryptauth_access_token_fetcher.h", 7 "cryptauth_access_token_fetcher.h",
8 "cryptauth_account_token_fetcher.cc", 8 "cryptauth_access_token_fetcher_impl.cc",
9 "cryptauth_account_token_fetcher.h", 9 "cryptauth_access_token_fetcher_impl.h",
10 "cryptauth_api_call_flow.cc", 10 "cryptauth_api_call_flow.cc",
11 "cryptauth_api_call_flow.h", 11 "cryptauth_api_call_flow.h",
12 "cryptauth_client.cc",
13 "cryptauth_client.h", 12 "cryptauth_client.h",
14 "cryptauth_client_factory.cc", 13 "cryptauth_client_impl.cc",
15 "cryptauth_client_factory.h", 14 "cryptauth_client_impl.h",
16 "cryptauth_enrollment_utils.cc", 15 "cryptauth_enrollment_utils.cc",
17 "cryptauth_enrollment_utils.h", 16 "cryptauth_enrollment_utils.h",
18 "secure_message_delegate.cc", 17 "secure_message_delegate.cc",
19 "secure_message_delegate.h", 18 "secure_message_delegate.h",
20 ] 19 ]
21 20
22 deps = [ 21 deps = [
23 "//base", 22 "//base",
24 "//google_apis", 23 "//google_apis",
25 "//net", 24 "//net",
(...skipping 16 matching lines...) Expand all
42 ] 41 ]
43 42
44 public_deps = [ 43 public_deps = [
45 "proto", 44 "proto",
46 ] 45 ]
47 } 46 }
48 47
49 source_set("unit_tests") { 48 source_set("unit_tests") {
50 testonly = true 49 testonly = true
51 sources = [ 50 sources = [
52 "cryptauth_account_token_fetcher_unittest.cc", 51 "cryptauth_access_token_fetcher_impl_unittest.cc",
53 "cryptauth_api_call_flow_unittest.cc", 52 "cryptauth_api_call_flow_unittest.cc",
54 "cryptauth_client_unittest.cc", 53 "cryptauth_client_impl_unittest.cc",
55 "fake_secure_message_delegate_unittest.cc", 54 "fake_secure_message_delegate_unittest.cc",
56 ] 55 ]
57 56
58 deps = [ 57 deps = [
59 ":cryptauth", 58 ":cryptauth",
60 ":test_support", 59 ":test_support",
61 "//base/test:test_support", 60 "//base/test:test_support",
62 "//google_apis:test_support", 61 "//google_apis:test_support",
63 "//net:test_support", 62 "//net:test_support",
64 "//testing/gtest", 63 "//testing/gtest",
65 ] 64 ]
66 } 65 }
OLDNEW
« no previous file with comments | « components/proximity_auth.gypi ('k') | components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698