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