Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Side by Side Diff: sync/tools/BUILD.gn

Issue 1310323009: Merge duplicate code in invalidation helper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sync/tools/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « no previous file | sync/tools/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698