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 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_account_token_fetcher.cc", |
9 "cryptauth_account_token_fetcher.h", | 9 "cryptauth_account_token_fetcher.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", | 12 "cryptauth_client.cc", |
13 "cryptauth_client.h", | 13 "cryptauth_client.h", |
14 "cryptauth_client_factory.cc", | 14 "cryptauth_client_factory.cc", |
15 "cryptauth_client_factory.h", | 15 "cryptauth_client_factory.h", |
16 "cryptauth_enrollment_utils.cc", | 16 "cryptauth_enrollment_utils.cc", |
17 "cryptauth_enrollment_utils.h", | 17 "cryptauth_enrollment_utils.h", |
| 18 "secure_message_delegate.cc", |
| 19 "secure_message_delegate.h", |
18 ] | 20 ] |
19 | 21 |
20 deps = [ | 22 deps = [ |
21 "//base", | 23 "//base", |
22 "//google_apis", | 24 "//google_apis", |
23 "//net", | 25 "//net", |
24 ] | 26 ] |
25 | 27 |
26 public_deps = [ | 28 public_deps = [ |
27 "proto", | 29 "proto", |
28 ] | 30 ] |
29 } | 31 } |
30 | 32 |
| 33 source_set("test_support") { |
| 34 sources = [ |
| 35 "fake_secure_message_delegate.cc", |
| 36 "fake_secure_message_delegate.h", |
| 37 ] |
| 38 |
| 39 deps = [ |
| 40 ":cryptauth", |
| 41 "//base", |
| 42 ] |
| 43 |
| 44 public_deps = [ |
| 45 "proto", |
| 46 ] |
| 47 } |
| 48 |
31 source_set("unit_tests") { | 49 source_set("unit_tests") { |
32 testonly = true | 50 testonly = true |
33 sources = [ | 51 sources = [ |
34 "cryptauth_account_token_fetcher_unittest.cc", | 52 "cryptauth_account_token_fetcher_unittest.cc", |
35 "cryptauth_api_call_flow_unittest.cc", | 53 "cryptauth_api_call_flow_unittest.cc", |
36 "cryptauth_client_unittest.cc", | 54 "cryptauth_client_unittest.cc", |
| 55 "fake_secure_message_delegate_unittest.cc", |
37 ] | 56 ] |
38 | 57 |
39 deps = [ | 58 deps = [ |
40 ":cryptauth", | 59 ":cryptauth", |
| 60 ":test_support", |
41 "//base/test:test_support", | 61 "//base/test:test_support", |
42 "//google_apis:test_support", | 62 "//google_apis:test_support", |
43 "//net:test_support", | 63 "//net:test_support", |
44 "//testing/gtest", | 64 "//testing/gtest", |
45 ] | 65 ] |
46 } | 66 } |
OLD | NEW |