OLD | NEW |
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 # CryptAuth is a component which manages data about devices associated with a |
| 6 # user's account. This component both sends data about the current device and |
| 7 # requets data about associated devices. |
| 8 |
5 static_library("cryptauth") { | 9 static_library("cryptauth") { |
6 sources = [ | 10 sources = [ |
7 "cryptauth_access_token_fetcher.h", | 11 "cryptauth_access_token_fetcher.h", |
8 "cryptauth_access_token_fetcher_impl.cc", | 12 "cryptauth_access_token_fetcher_impl.cc", |
9 "cryptauth_access_token_fetcher_impl.h", | 13 "cryptauth_access_token_fetcher_impl.h", |
10 "cryptauth_api_call_flow.cc", | 14 "cryptauth_api_call_flow.cc", |
11 "cryptauth_api_call_flow.h", | 15 "cryptauth_api_call_flow.h", |
12 "cryptauth_client.h", | 16 "cryptauth_client.h", |
13 "cryptauth_client_impl.cc", | 17 "cryptauth_client_impl.cc", |
14 "cryptauth_client_impl.h", | 18 "cryptauth_client_impl.h", |
(...skipping 27 matching lines...) Expand all Loading... |
42 "//components/gcm_driver", | 46 "//components/gcm_driver", |
43 "//components/gcm_driver/common", | 47 "//components/gcm_driver/common", |
44 "//components/prefs", | 48 "//components/prefs", |
45 "//components/proximity_auth/logging", | 49 "//components/proximity_auth/logging", |
46 "//crypto", | 50 "//crypto", |
47 "//google_apis", | 51 "//google_apis", |
48 "//net", | 52 "//net", |
49 ] | 53 ] |
50 | 54 |
51 public_deps = [ | 55 public_deps = [ |
52 "//components/proximity_auth/cryptauth/proto", | 56 "//components/cryptauth/proto", |
53 ] | 57 ] |
54 } | 58 } |
55 | 59 |
56 static_library("test_support") { | 60 static_library("test_support") { |
57 testonly = true | 61 testonly = true |
58 | 62 |
59 sources = [ | 63 sources = [ |
60 "fake_cryptauth_gcm_manager.cc", | 64 "fake_cryptauth_gcm_manager.cc", |
61 "fake_cryptauth_gcm_manager.h", | 65 "fake_cryptauth_gcm_manager.h", |
62 "fake_secure_message_delegate.cc", | 66 "fake_secure_message_delegate.cc", |
63 "fake_secure_message_delegate.h", | 67 "fake_secure_message_delegate.h", |
64 "mock_cryptauth_client.cc", | 68 "mock_cryptauth_client.cc", |
65 "mock_cryptauth_client.h", | 69 "mock_cryptauth_client.h", |
66 "mock_sync_scheduler.cc", | 70 "mock_sync_scheduler.cc", |
67 "mock_sync_scheduler.h", | 71 "mock_sync_scheduler.h", |
68 ] | 72 ] |
69 | 73 |
70 public_deps = [ | 74 public_deps = [ |
71 ":cryptauth", | 75 ":cryptauth", |
72 "//components/proximity_auth/cryptauth/proto", | 76 "//components/cryptauth/proto", |
73 ] | 77 ] |
74 | 78 |
75 deps = [ | 79 deps = [ |
76 "//base", | 80 "//base", |
77 "//testing/gmock", | 81 "//testing/gmock", |
78 ] | 82 ] |
79 } | 83 } |
80 | 84 |
81 source_set("unit_tests") { | 85 source_set("unit_tests") { |
82 testonly = true | 86 testonly = true |
(...skipping 14 matching lines...) Expand all Loading... |
97 ":test_support", | 101 ":test_support", |
98 "//base/test:test_support", | 102 "//base/test:test_support", |
99 "//components/gcm_driver:test_support", | 103 "//components/gcm_driver:test_support", |
100 "//components/prefs:test_support", | 104 "//components/prefs:test_support", |
101 "//components/proximity_auth", | 105 "//components/proximity_auth", |
102 "//google_apis:test_support", | 106 "//google_apis:test_support", |
103 "//net:test_support", | 107 "//net:test_support", |
104 "//testing/gtest", | 108 "//testing/gtest", |
105 ] | 109 ] |
106 } | 110 } |
OLD | NEW |