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 static_library("sync_sessions") { | 6 static_library("sync_sessions") { |
7 sources = [ | 7 sources = [ |
8 "favicon_cache.cc", | 8 "favicon_cache.cc", |
9 "favicon_cache.h", | 9 "favicon_cache.h", |
10 "local_session_event_router.h", | 10 "local_session_event_router.h", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "synced_session_tracker.h", | 42 "synced_session_tracker.h", |
43 "synced_tab_delegate.cc", | 43 "synced_tab_delegate.cc", |
44 "synced_tab_delegate.h", | 44 "synced_tab_delegate.h", |
45 "synced_window_delegate.h", | 45 "synced_window_delegate.h", |
46 "synced_window_delegates_getter.cc", | 46 "synced_window_delegates_getter.cc", |
47 "synced_window_delegates_getter.h", | 47 "synced_window_delegates_getter.h", |
48 "tab_node_pool.cc", | 48 "tab_node_pool.cc", |
49 "tab_node_pool.h", | 49 "tab_node_pool.h", |
50 ] | 50 ] |
51 | 51 |
| 52 public_deps = [ |
| 53 "//components/sessions", |
| 54 "//components/sync", |
| 55 ] |
| 56 |
52 deps = [ | 57 deps = [ |
53 "//base", | 58 "//base", |
54 "//components/bookmarks/browser", | 59 "//components/bookmarks/browser", |
55 "//components/favicon/core", | 60 "//components/favicon/core", |
56 "//components/history/core/browser", | 61 "//components/history/core/browser", |
57 "//components/prefs", | 62 "//components/prefs", |
58 "//components/sessions", | |
59 "//components/sync", | |
60 "//components/variations", | 63 "//components/variations", |
61 "//ui/base:base", | 64 "//ui/base:base", |
62 "//ui/gfx", | 65 "//ui/gfx", |
63 "//url", | 66 "//url", |
64 ] | 67 ] |
65 } | 68 } |
66 | 69 |
67 static_library("test_support") { | 70 static_library("test_support") { |
68 testonly = true | 71 testonly = true |
69 sources = [ | 72 sources = [ |
70 "fake_sync_sessions_client.cc", | 73 "fake_sync_sessions_client.cc", |
71 "fake_sync_sessions_client.h", | 74 "fake_sync_sessions_client.h", |
| 75 "session_sync_test_helper.cc", |
| 76 "session_sync_test_helper.h", |
72 ] | 77 ] |
73 | 78 |
74 public_deps = [ | 79 public_deps = [ |
75 ":sync_sessions", | 80 ":sync_sessions", |
76 "//base", | 81 "//base", |
| 82 "//components/sync", |
| 83 "//testing/gtest", |
77 "//url", | 84 "//url", |
78 ] | 85 ] |
79 | 86 |
80 deps = [] | 87 deps = [] |
81 } | 88 } |
82 | 89 |
83 source_set("unit_tests") { | 90 source_set("unit_tests") { |
84 testonly = true | 91 testonly = true |
85 sources = [ | 92 sources = [ |
86 "favicon_cache_unittest.cc", | 93 "favicon_cache_unittest.cc", |
(...skipping 19 matching lines...) Expand all Loading... |
106 "//components/sessions:test_support", | 113 "//components/sessions:test_support", |
107 "//components/sync", | 114 "//components/sync", |
108 "//components/sync:test_support_sync_api", | 115 "//components/sync:test_support_sync_api", |
109 "//components/sync:test_support_sync_driver", | 116 "//components/sync:test_support_sync_driver", |
110 "//testing/gmock", | 117 "//testing/gmock", |
111 "//testing/gtest", | 118 "//testing/gtest", |
112 "//ui/base:base", | 119 "//ui/base:base", |
113 "//url", | 120 "//url", |
114 ] | 121 ] |
115 } | 122 } |
OLD | NEW |