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", |
22 "//sync", | 20 "//sync", |
droger
2015/09/21 07:17:11
Looks like there is a missing dependency on //comp
Jitu( very slow this week)
2015/09/21 13:03:22
Done.
| |
23 ] | 21 ] |
24 } | 22 } |
25 | 23 |
26 test("sync_listen_notifications") { | 24 test("sync_listen_notifications") { |
27 sources = [ | 25 sources = [ |
28 "sync_listen_notifications.cc", | 26 "sync_listen_notifications.cc", |
29 ] | 27 ] |
30 | 28 |
31 defines = [ "SYNC_TEST" ] | 29 defines = [ "SYNC_TEST" ] |
32 | 30 |
33 deps = [ | 31 deps = [ |
34 ":common", | 32 ":common", |
35 "//base", | 33 "//base", |
36 "//components/invalidation/impl", | 34 "//components/invalidation/impl", |
droger
2015/09/21 07:18:07
And probably here too.
Jitu( very slow this week)
2015/09/21 13:03:22
I think only adding in above place is fine, as alr
droger
2015/09/21 13:11:13
You are right that it will compile.
However, the
| |
37 "//jingle:notifier", | 35 "//jingle:notifier", |
38 "//net", | 36 "//net", |
39 "//net:test_support", | 37 "//net:test_support", |
40 "//sync", | 38 "//sync", |
41 "//sync:test_support_sync_core", | 39 "//sync:test_support_sync_core", |
42 ] | 40 ] |
43 } | 41 } |
44 | 42 |
45 test("sync_client") { | 43 test("sync_client") { |
46 sources = [ | 44 sources = [ |
47 "sync_client.cc", | 45 "sync_client.cc", |
48 ] | 46 ] |
49 | 47 |
50 defines = [ "SYNC_TEST" ] | 48 defines = [ "SYNC_TEST" ] |
51 | 49 |
52 deps = [ | 50 deps = [ |
53 ":common", | 51 ":common", |
54 "//base", | 52 "//base", |
55 "//components/invalidation/impl", | 53 "//components/invalidation/impl", |
56 "//jingle:notifier", | 54 "//jingle:notifier", |
57 "//net", | 55 "//net", |
58 "//net:test_support", | 56 "//net:test_support", |
59 "//sync", | 57 "//sync", |
60 "//sync:test_support_sync_core", | 58 "//sync:test_support_sync_core", |
61 ] | 59 ] |
62 } | 60 } |
63 } | 61 } |
OLD | NEW |