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 if (is_linux && !is_chromeos) { | 7 if (is_linux && !is_chromeos) { |
8 # TODO(GYP): Figure out which of these work and are needed on other platforms. | 8 # TODO(GYP): Figure out which of these work and are needed on other platforms. |
9 source_set("common") { | 9 source_set("common") { |
10 testonly = true | 10 testonly = true |
11 | 11 |
12 sources = [ | 12 sources = [ |
13 "invalidation_helper.cc", | |
14 "invalidation_helper.h", | |
15 "null_invalidation_state_tracker.cc", | 13 "null_invalidation_state_tracker.cc", |
16 "null_invalidation_state_tracker.h", | 14 "null_invalidation_state_tracker.h", |
17 ] | 15 ] |
18 | 16 |
19 deps = [ | 17 deps = [ |
20 "//base", | 18 "//base", |
21 "//components/invalidation/impl", | 19 "//components/invalidation/impl", |
| 20 "//components/sync_driver", |
22 "//sync", | 21 "//sync", |
23 ] | 22 ] |
24 } | 23 } |
25 | 24 |
26 test("sync_listen_notifications") { | 25 test("sync_listen_notifications") { |
27 sources = [ | 26 sources = [ |
28 "sync_listen_notifications.cc", | 27 "sync_listen_notifications.cc", |
29 ] | 28 ] |
30 | 29 |
31 defines = [ "SYNC_TEST" ] | 30 defines = [ "SYNC_TEST" ] |
32 | 31 |
33 deps = [ | 32 deps = [ |
34 ":common", | 33 ":common", |
35 "//base", | 34 "//base", |
36 "//components/invalidation/impl", | 35 "//components/invalidation/impl", |
| 36 "//components/sync_driver", |
37 "//jingle:notifier", | 37 "//jingle:notifier", |
38 "//net", | 38 "//net", |
39 "//net:test_support", | 39 "//net:test_support", |
40 "//sync", | 40 "//sync", |
41 "//sync:test_support_sync_core", | 41 "//sync:test_support_sync_core", |
42 ] | 42 ] |
43 } | 43 } |
44 | 44 |
45 test("sync_client") { | 45 test("sync_client") { |
46 sources = [ | 46 sources = [ |
47 "sync_client.cc", | 47 "sync_client.cc", |
48 ] | 48 ] |
49 | 49 |
50 defines = [ "SYNC_TEST" ] | 50 defines = [ "SYNC_TEST" ] |
51 | 51 |
52 deps = [ | 52 deps = [ |
53 ":common", | 53 ":common", |
54 "//base", | 54 "//base", |
55 "//components/invalidation/impl", | 55 "//components/invalidation/impl", |
| 56 "//components/sync_driver", |
56 "//jingle:notifier", | 57 "//jingle:notifier", |
57 "//net", | 58 "//net", |
58 "//net:test_support", | 59 "//net:test_support", |
59 "//sync", | 60 "//sync", |
60 "//sync:test_support_sync_core", | 61 "//sync:test_support_sync_core", |
61 ] | 62 ] |
62 } | 63 } |
63 } | 64 } |
OLD | NEW |