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", |
19 "//components/sync_driver", | |
20 ] | 19 ] |
21 } | 20 } |
22 | 21 |
23 test("sync_listen_notifications") { | 22 test("sync_listen_notifications") { |
24 sources = [ | 23 sources = [ |
25 "sync_listen_notifications.cc", | 24 "sync_listen_notifications.cc", |
26 ] | 25 ] |
27 | 26 |
28 defines = [ "SYNC_TEST" ] | 27 defines = [ "SYNC_TEST" ] |
29 | 28 |
30 deps = [ | 29 deps = [ |
31 ":common", | 30 ":common", |
32 "//base", | 31 "//base", |
33 "//components/invalidation/impl", | 32 "//components/invalidation/impl", |
34 "//components/sync:test_support_sync_core", | 33 "//components/sync:test_support_sync_core", |
35 "//components/sync_driver", | |
36 "//jingle:notifier", | 34 "//jingle:notifier", |
37 "//net:test_support", | 35 "//net:test_support", |
38 ] | 36 ] |
39 } | 37 } |
40 | 38 |
41 test("sync_client") { | 39 test("sync_client") { |
42 sources = [ | 40 sources = [ |
43 "sync_client.cc", | 41 "sync_client.cc", |
44 ] | 42 ] |
45 | 43 |
46 defines = [ "SYNC_TEST" ] | 44 defines = [ "SYNC_TEST" ] |
47 | 45 |
48 deps = [ | 46 deps = [ |
49 ":common", | 47 ":common", |
50 "//base", | 48 "//base", |
51 "//components/invalidation/impl", | 49 "//components/invalidation/impl", |
52 "//components/sync:test_support_sync_core", | 50 "//components/sync:test_support_sync_core", |
53 "//components/sync_driver", | |
54 "//jingle:notifier", | 51 "//jingle:notifier", |
55 "//net:test_support", | 52 "//net:test_support", |
56 ] | 53 ] |
57 } | 54 } |
OLD | NEW |