OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # GYP version: components/sync_sessions.gypi:sync_sessions | 5 # GYP version: components/sync_sessions.gypi:sync_sessions |
6 source_set("sync_sessions") { | 6 source_set("sync_sessions") { |
7 sources = [ | 7 sources = [ |
8 "revisit/bookmarks_by_url_provider_impl.cc", | 8 "revisit/bookmarks_by_url_provider_impl.cc", |
9 "revisit/bookmarks_by_url_provider_impl.h", | 9 "revisit/bookmarks_by_url_provider_impl.h", |
10 "revisit/bookmarks_page_revisit_observer.cc", | 10 "revisit/bookmarks_page_revisit_observer.cc", |
11 "revisit/bookmarks_page_revisit_observer.h", | 11 "revisit/bookmarks_page_revisit_observer.h", |
12 "revisit/current_tab_matcher.cc", | 12 "revisit/current_tab_matcher.cc", |
13 "revisit/current_tab_matcher.h", | 13 "revisit/current_tab_matcher.h", |
14 "revisit/offset_tab_matcher.cc", | 14 "revisit/offset_tab_matcher.cc", |
15 "revisit/offset_tab_matcher.h", | 15 "revisit/offset_tab_matcher.h", |
16 "revisit/page_equality.h", | 16 "revisit/page_equality.h", |
17 "revisit/page_visit_observer.h", | 17 "revisit/page_visit_observer.h", |
18 "revisit/sessions_page_revisit_observer.cc", | 18 "revisit/sessions_page_revisit_observer.cc", |
19 "revisit/sessions_page_revisit_observer.h", | 19 "revisit/sessions_page_revisit_observer.h", |
20 "revisit/typed_url_page_revisit_observer.cc", | 20 "revisit/typed_url_page_revisit_observer.cc", |
21 "revisit/typed_url_page_revisit_observer.h", | 21 "revisit/typed_url_page_revisit_observer.h", |
22 "revisit/typed_url_page_revisit_task.cc", | 22 "revisit/typed_url_page_revisit_task.cc", |
23 "revisit/typed_url_page_revisit_task.h", | 23 "revisit/typed_url_page_revisit_task.h", |
| 24 "sync_sessions_client.cc", |
| 25 "sync_sessions_client.h", |
| 26 "synced_tab_delegate.cc", |
| 27 "synced_tab_delegate.h", |
24 ] | 28 ] |
25 | 29 |
26 deps = [ | 30 deps = [ |
27 "//base", | 31 "//base", |
28 "//components/bookmarks/browser", | 32 "//components/bookmarks/browser", |
29 "//components/history/core/browser", | 33 "//components/history/core/browser", |
30 "//components/sessions", | 34 "//components/sessions", |
31 "//components/sync_driver", | 35 "//components/sync_driver", |
32 "//sync", | 36 "//sync", |
33 ] | 37 ] |
34 } | 38 } |
35 | 39 |
| 40 source_set("test_support") { |
| 41 testonly = true |
| 42 sources = [ |
| 43 "fake_sync_sessions_client.cc", |
| 44 "fake_sync_sessions_client.h", |
| 45 ] |
| 46 |
| 47 public_deps = [ |
| 48 ":sync_sessions", |
| 49 ] |
| 50 |
| 51 deps = [] |
| 52 } |
| 53 |
36 source_set("unit_tests") { | 54 source_set("unit_tests") { |
37 testonly = true | 55 testonly = true |
38 sources = [ | 56 sources = [ |
39 "revisit/bookmarks_page_revisit_observer_unittest.cc", | 57 "revisit/bookmarks_page_revisit_observer_unittest.cc", |
40 "revisit/current_tab_matcher_unittest.cc", | 58 "revisit/current_tab_matcher_unittest.cc", |
41 "revisit/offset_tab_matcher_unittest.cc", | 59 "revisit/offset_tab_matcher_unittest.cc", |
42 "revisit/sessions_page_revisit_observer_unittest.cc", | 60 "revisit/sessions_page_revisit_observer_unittest.cc", |
43 "revisit/typed_url_page_revisit_task_unittest.cc", | 61 "revisit/typed_url_page_revisit_task_unittest.cc", |
44 ] | 62 ] |
45 | 63 |
46 deps = [ | 64 deps = [ |
47 ":sync_sessions", | 65 ":sync_sessions", |
| 66 ":test_support", |
48 "//base/test:test_support", | 67 "//base/test:test_support", |
49 "//testing/gtest", | 68 "//testing/gtest", |
50 "//sync", | 69 "//sync", |
51 ] | 70 ] |
52 } | 71 } |
OLD | NEW |