| 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", | 13 "invalidation_helper.cc", |
| 14 "invalidation_helper.h", | 14 "invalidation_helper.h", |
| 15 "null_invalidation_state_tracker.cc", | 15 "null_invalidation_state_tracker.cc", |
| 16 "null_invalidation_state_tracker.h", | 16 "null_invalidation_state_tracker.h", |
| 17 ] | 17 ] |
| 18 | 18 |
| 19 deps = [ | 19 deps = [ |
| 20 "//base", | 20 "//base", |
| 21 "//components/invalidation", | 21 "//components/invalidation/impl", |
| 22 "//sync", | 22 "//sync", |
| 23 ] | 23 ] |
| 24 } | 24 } |
| 25 | 25 |
| 26 test("sync_listen_notifications") { | 26 test("sync_listen_notifications") { |
| 27 sources = [ | 27 sources = [ |
| 28 "sync_listen_notifications.cc", | 28 "sync_listen_notifications.cc", |
| 29 ] | 29 ] |
| 30 | 30 |
| 31 defines = [ "SYNC_TEST" ] | 31 defines = [ "SYNC_TEST" ] |
| 32 | 32 |
| 33 deps = [ | 33 deps = [ |
| 34 ":common", | 34 ":common", |
| 35 "//base", | 35 "//base", |
| 36 "//components/invalidation", | 36 "//components/invalidation/impl", |
| 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", | 55 "//components/invalidation/impl", |
| 56 "//jingle:notifier", | 56 "//jingle:notifier", |
| 57 "//net", | 57 "//net", |
| 58 "//net:test_support", | 58 "//net:test_support", |
| 59 "//sync", | 59 "//sync", |
| 60 "//sync:test_support_sync_core", | 60 "//sync:test_support_sync_core", |
| 61 ] | 61 ] |
| 62 } | 62 } |
| 63 } | 63 } |
| OLD | NEW |