Chromium Code Reviews| 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_enrollment_utils.cc", | 14 "cryptauth_enrollment_utils.cc", |
| 15 "cryptauth_enrollment_utils.h", | 15 "cryptauth_enrollment_utils.h", |
| 16 "secure_message_delegate.cc", | |
| 17 "secure_message_delegate.h", | |
| 16 ] | 18 ] |
| 17 | 19 |
| 18 deps = [ | 20 deps = [ |
| 19 "//base", | 21 "//base", |
| 20 "//google_apis", | 22 "//google_apis", |
| 21 "//net", | 23 "//net", |
| 22 ] | 24 ] |
| 23 | 25 |
| 24 public_deps = [ | 26 public_deps = [ |
| 25 "proto", | 27 "proto", |
| 26 ] | 28 ] |
| 27 } | 29 } |
| 28 | 30 |
| 31 source_set("test_support") { | |
| 32 sources = [ | |
| 33 "fake_secure_message_delegate.cc", | |
| 34 "fake_secure_message_delegate.h", | |
| 35 ] | |
| 36 | |
| 37 deps = [ | |
| 38 ":cryptauth", | |
| 39 "//base", | |
| 40 ] | |
| 41 | |
| 42 public_deps = [ | |
| 43 "proto", | |
| 44 ] | |
| 45 } | |
| 46 | |
| 29 source_set("unit_tests") { | 47 source_set("unit_tests") { |
| 30 testonly = true | 48 testonly = true |
| 31 sources = [ | 49 sources = [ |
| 32 "cryptauth_account_token_fetcher_unittest.cc", | 50 "cryptauth_account_token_fetcher_unittest.cc", |
| 33 "cryptauth_api_call_flow_unittest.cc", | 51 "cryptauth_api_call_flow_unittest.cc", |
| 34 "cryptauth_client_unittest.cc", | 52 "cryptauth_client_unittest.cc", |
| 35 ] | 53 ] |
| 36 | 54 |
| 37 deps = [ | 55 deps = [ |
| 38 ":cryptauth", | 56 ":cryptauth", |
| 39 "//base/test:test_support", | 57 "//base/test:test_support", |
| 40 "//google_apis:test_support", | 58 "//google_apis:test_support", |
| 41 "//net:test_support", | 59 "//net:test_support", |
| 42 "//testing/gtest", | 60 "//testing/gtest", |
|
Ilya Sherman
2015/04/03 02:13:05
Should :test_support be added here? If not, what
Tim Song
2015/04/03 02:46:34
Done.
| |
| 43 ] | 61 ] |
| 44 } | 62 } |
| OLD | NEW |