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("browser") { | 5 source_set("browser") { |
6 sources = [ | 6 sources = [ |
7 "account_consistency_service.h", | 7 "account_consistency_service.h", |
8 "account_consistency_service.mm", | 8 "account_consistency_service.mm", |
9 "manage_accounts_delegate.h", | 9 "manage_accounts_delegate.h", |
10 "merge_session_observer_bridge.h", | 10 "merge_session_observer_bridge.h", |
11 "merge_session_observer_bridge.mm", | 11 "merge_session_observer_bridge.mm", |
12 "oauth2_token_service_observer_bridge.h", | 12 "oauth2_token_service_observer_bridge.h", |
13 "oauth2_token_service_observer_bridge.mm", | 13 "oauth2_token_service_observer_bridge.mm", |
14 "profile_oauth2_token_service_ios_delegate.h", | 14 "profile_oauth2_token_service_ios_delegate.h", |
15 "profile_oauth2_token_service_ios_delegate.mm", | 15 "profile_oauth2_token_service_ios_delegate.mm", |
16 "profile_oauth2_token_service_ios_provider.h", | 16 "profile_oauth2_token_service_ios_provider.h", |
17 ] | 17 ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
| 20 "//base", |
| 21 "//base:prefs", |
| 22 "//components/content_settings/core/browser", |
| 23 "//components/google/core/browser", |
| 24 "//components/keyed_service/core", |
| 25 "//components/pref_registry", |
20 "//components/signin/core/browser", | 26 "//components/signin/core/browser", |
| 27 "//components/signin/core/common", |
| 28 "//google_apis", |
21 "//ios/web", | 29 "//ios/web", |
| 30 "//net", |
22 ] | 31 ] |
23 } | 32 } |
24 | 33 |
25 source_set("test_support") { | 34 source_set("test_support") { |
26 testonly = true | 35 testonly = true |
27 sources = [ | 36 sources = [ |
28 "fake_profile_oauth2_token_service_ios_delegate.h", | 37 "fake_profile_oauth2_token_service_ios_delegate.h", |
29 "fake_profile_oauth2_token_service_ios_delegate.mm", | 38 "fake_profile_oauth2_token_service_ios_delegate.mm", |
30 "fake_profile_oauth2_token_service_ios_provider.h", | 39 "fake_profile_oauth2_token_service_ios_provider.h", |
31 "fake_profile_oauth2_token_service_ios_provider.mm", | 40 "fake_profile_oauth2_token_service_ios_provider.mm", |
32 ] | 41 ] |
33 | 42 |
34 public_deps = [ | 43 public_deps = [ |
35 ":browser", | 44 ":browser", |
36 "//base", | 45 "//base", |
37 "//google_apis:test_support", | 46 "//google_apis:test_support", |
38 ] | 47 ] |
39 } | 48 } |
40 | 49 |
41 source_set("unit_tests") { | 50 source_set("unit_tests") { |
42 testonly = true | 51 testonly = true |
43 sources = [ | 52 sources = [ |
44 "account_consistency_service_unittest.mm", | 53 "account_consistency_service_unittest.mm", |
45 "profile_oauth2_token_service_ios_delegate_unittest.mm", | 54 "profile_oauth2_token_service_ios_delegate_unittest.mm", |
46 ] | 55 ] |
47 | 56 |
48 deps = [ | 57 deps = [ |
49 ":test_support", | 58 ":test_support", |
| 59 "//base:prefs", |
| 60 "//base:prefs_test_support", |
| 61 "//components/pref_registry:test_support", |
| 62 "//components/signin/core/browser", |
| 63 "//components/signin/core/browser:test_support", |
| 64 "//components/signin/core/common", |
50 "//ios/web", | 65 "//ios/web", |
| 66 "//ios/web:test_support", |
51 "//third_party/ocmock", | 67 "//third_party/ocmock", |
52 ] | 68 ] |
53 } | 69 } |
OLD | NEW |