OLD | NEW |
| (Empty) |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/features.gni") | |
6 | |
7 static_library("browser") { | |
8 sources = [ | |
9 "profile_sync_components_factory_impl.cc", | |
10 "profile_sync_components_factory_impl.h", | |
11 "profile_sync_service.cc", | |
12 "profile_sync_service.h", | |
13 "signin_confirmation_helper.cc", | |
14 "signin_confirmation_helper.h", | |
15 ] | |
16 | |
17 public_deps = [ | |
18 "//components/sync", | |
19 ] | |
20 | |
21 deps = [ | |
22 "//base", | |
23 "//components/autofill/core/browser", | |
24 "//components/autofill/core/common", | |
25 "//components/browser_sync/common", | |
26 "//components/dom_distiller/core", | |
27 "//components/history/core/browser", | |
28 "//components/invalidation/impl", | |
29 "//components/invalidation/public", | |
30 "//components/keyed_service/core", | |
31 "//components/password_manager/core/browser", | |
32 "//components/password_manager/sync/browser", | |
33 "//components/pref_registry", | |
34 "//components/prefs", | |
35 "//components/signin/core/browser", | |
36 "//components/strings", | |
37 "//components/sync_bookmarks", | |
38 "//components/sync_sessions", | |
39 "//components/syncable_prefs", | |
40 "//components/variations", | |
41 "//components/version_info", | |
42 "//components/version_info:generate_version_info", | |
43 "//google_apis", | |
44 "//net", | |
45 "//ui/base", | |
46 ] | |
47 } | |
48 | |
49 source_set("unit_tests") { | |
50 testonly = true | |
51 | |
52 sources = [ | |
53 "profile_sync_service_autofill_unittest.cc", | |
54 "profile_sync_service_bookmark_unittest.cc", | |
55 "profile_sync_service_startup_unittest.cc", | |
56 "profile_sync_service_typed_url_unittest.cc", | |
57 "profile_sync_service_unittest.cc", | |
58 ] | |
59 | |
60 deps = [ | |
61 ":browser", | |
62 ":test_support", | |
63 "//base", | |
64 "//base/test:test_support", | |
65 "//components/autofill/core/browser:test_support", | |
66 "//components/autofill/core/common:common", | |
67 "//components/bookmarks/browser:browser", | |
68 "//components/bookmarks/managed:managed", | |
69 "//components/bookmarks/test:test", | |
70 "//components/browser_sync/common", | |
71 "//components/dom_distiller/core", | |
72 "//components/history/core/browser:browser", | |
73 "//components/invalidation/impl", | |
74 "//components/invalidation/public", | |
75 "//components/prefs", | |
76 "//components/signin/core/browser", | |
77 "//components/signin/core/browser:test_support", | |
78 "//components/signin/core/common:common", | |
79 "//components/strings", | |
80 "//components/sync", | |
81 "//components/sync:test_support_sync_core_impl", | |
82 "//components/sync:test_support_sync_driver", | |
83 "//components/sync_bookmarks:sync_bookmarks", | |
84 "//components/sync_sessions", | |
85 "//components/sync_sessions:test_support", | |
86 "//components/syncable_prefs", | |
87 "//components/syncable_prefs:test_support", | |
88 "//components/version_info", | |
89 "//components/version_info:generate_version_info", | |
90 "//components/webdata_services:test_support", | |
91 "//google_apis", | |
92 "//net", | |
93 "//testing/gmock", | |
94 "//testing/gtest", | |
95 "//ui/base", | |
96 ] | |
97 } | |
98 | |
99 static_library("test_support") { | |
100 testonly = true | |
101 sources = [ | |
102 "abstract_profile_sync_service_test.cc", | |
103 "abstract_profile_sync_service_test.h", | |
104 "profile_sync_service_mock.cc", | |
105 "profile_sync_service_mock.h", | |
106 "profile_sync_test_util.cc", | |
107 "profile_sync_test_util.h", | |
108 "test_http_bridge_factory.cc", | |
109 "test_http_bridge_factory.h", | |
110 "test_profile_sync_service.cc", | |
111 "test_profile_sync_service.h", | |
112 ] | |
113 | |
114 deps = [ | |
115 ":browser", | |
116 "//base", | |
117 "//base/test:test_support", | |
118 "//components/bookmarks/browser:browser", | |
119 "//components/history/core/browser:browser", | |
120 "//components/invalidation/impl", | |
121 "//components/invalidation/impl:test_support", | |
122 "//components/pref_registry", | |
123 "//components/signin/core/browser:browser", | |
124 "//components/signin/core/browser:test_support", | |
125 "//components/sync", | |
126 "//components/sync:test_support_sync_core", | |
127 "//components/sync:test_support_sync_core_impl", | |
128 "//components/sync:test_support_sync_driver", | |
129 "//components/sync_sessions:test_support", | |
130 "//components/syncable_prefs:test_support", | |
131 "//google_apis", | |
132 "//net:test_support", | |
133 "//testing/gmock", | |
134 ] | |
135 } | |
OLD | NEW |