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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("common") { | 7 source_set("common") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 sources = [ | 10 sources = [ |
11 "null_invalidation_state_tracker.cc", | 11 "null_invalidation_state_tracker.cc", |
12 "null_invalidation_state_tracker.h", | 12 "null_invalidation_state_tracker.h", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
17 "//components/invalidation/impl", | 17 "//components/invalidation/impl", |
| 18 "//components/sync", |
18 "//components/sync_driver", | 19 "//components/sync_driver", |
19 "//sync", | |
20 ] | 20 ] |
21 } | 21 } |
22 | 22 |
23 test("sync_listen_notifications") { | 23 test("sync_listen_notifications") { |
24 sources = [ | 24 sources = [ |
25 "sync_listen_notifications.cc", | 25 "sync_listen_notifications.cc", |
26 ] | 26 ] |
27 | 27 |
28 defines = [ "SYNC_TEST" ] | 28 defines = [ "SYNC_TEST" ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 ":common", | 31 ":common", |
32 "//base", | 32 "//base", |
33 "//components/invalidation/impl", | 33 "//components/invalidation/impl", |
| 34 "//components/sync:test_support_sync_core", |
34 "//components/sync_driver", | 35 "//components/sync_driver", |
35 "//jingle:notifier", | 36 "//jingle:notifier", |
36 "//net:test_support", | 37 "//net:test_support", |
37 "//sync:test_support_sync_core", | |
38 ] | 38 ] |
39 } | 39 } |
40 | 40 |
41 test("sync_client") { | 41 test("sync_client") { |
42 sources = [ | 42 sources = [ |
43 "sync_client.cc", | 43 "sync_client.cc", |
44 ] | 44 ] |
45 | 45 |
46 defines = [ "SYNC_TEST" ] | 46 defines = [ "SYNC_TEST" ] |
47 | 47 |
48 deps = [ | 48 deps = [ |
49 ":common", | 49 ":common", |
50 "//base", | 50 "//base", |
51 "//components/invalidation/impl", | 51 "//components/invalidation/impl", |
| 52 "//components/sync:test_support_sync_core", |
52 "//components/sync_driver", | 53 "//components/sync_driver", |
53 "//jingle:notifier", | 54 "//jingle:notifier", |
54 "//net:test_support", | 55 "//net:test_support", |
55 "//sync:test_support_sync_core", | |
56 ] | 56 ] |
57 } | 57 } |
OLD | NEW |