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

Side by Side Diff: components/sync_sessions/BUILD.gn

Issue 1408643002: [Sync] Componentize synced_tab_delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test broken by rebase Created 5 years, 1 month 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
OLDNEW
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 "favicon_cache.cc", 8 "favicon_cache.cc",
9 "favicon_cache.h", 9 "favicon_cache.h",
10 "revisit/bookmarks_by_url_provider_impl.cc", 10 "revisit/bookmarks_by_url_provider_impl.cc",
11 "revisit/bookmarks_by_url_provider_impl.h", 11 "revisit/bookmarks_by_url_provider_impl.h",
12 "revisit/bookmarks_page_revisit_observer.cc", 12 "revisit/bookmarks_page_revisit_observer.cc",
13 "revisit/bookmarks_page_revisit_observer.h", 13 "revisit/bookmarks_page_revisit_observer.h",
14 "revisit/current_tab_matcher.cc", 14 "revisit/current_tab_matcher.cc",
15 "revisit/current_tab_matcher.h", 15 "revisit/current_tab_matcher.h",
16 "revisit/offset_tab_matcher.cc", 16 "revisit/offset_tab_matcher.cc",
17 "revisit/offset_tab_matcher.h", 17 "revisit/offset_tab_matcher.h",
18 "revisit/page_equality.h", 18 "revisit/page_equality.h",
19 "revisit/page_visit_observer.h", 19 "revisit/page_visit_observer.h",
20 "revisit/sessions_page_revisit_observer.cc", 20 "revisit/sessions_page_revisit_observer.cc",
21 "revisit/sessions_page_revisit_observer.h", 21 "revisit/sessions_page_revisit_observer.h",
22 "revisit/typed_url_page_revisit_observer.cc", 22 "revisit/typed_url_page_revisit_observer.cc",
23 "revisit/typed_url_page_revisit_observer.h", 23 "revisit/typed_url_page_revisit_observer.h",
24 "revisit/typed_url_page_revisit_task.cc", 24 "revisit/typed_url_page_revisit_task.cc",
25 "revisit/typed_url_page_revisit_task.h", 25 "revisit/typed_url_page_revisit_task.h",
26 "sync_sessions_client.cc",
27 "sync_sessions_client.h",
28 "synced_tab_delegate.cc",
29 "synced_tab_delegate.h",
26 ] 30 ]
27 31
28 deps = [ 32 deps = [
29 "//base", 33 "//base",
30 "//components/bookmarks/browser", 34 "//components/bookmarks/browser",
31 "//components/favicon/core", 35 "//components/favicon/core",
32 "//components/history/core/browser", 36 "//components/history/core/browser",
33 "//components/sessions", 37 "//components/sessions",
34 "//components/sync_driver", 38 "//components/sync_driver",
35 "//sync", 39 "//sync",
40 "//ui/base",
36 "//ui/gfx", 41 "//ui/gfx",
37 "//url", 42 "//url",
38 ] 43 ]
39 } 44 }
40 45
46 source_set("test_support") {
47 testonly = true
48 sources = [
49 "fake_sync_sessions_client.cc",
50 "fake_sync_sessions_client.h",
51 ]
52
53 public_deps = [
54 ":sync_sessions",
55 "//base",
56 "//url",
57 ]
58
59 deps = []
60 }
61
41 source_set("unit_tests") { 62 source_set("unit_tests") {
42 testonly = true 63 testonly = true
43 sources = [ 64 sources = [
44 "favicon_cache_unittest.cc", 65 "favicon_cache_unittest.cc",
45 "revisit/bookmarks_page_revisit_observer_unittest.cc", 66 "revisit/bookmarks_page_revisit_observer_unittest.cc",
46 "revisit/current_tab_matcher_unittest.cc", 67 "revisit/current_tab_matcher_unittest.cc",
47 "revisit/offset_tab_matcher_unittest.cc", 68 "revisit/offset_tab_matcher_unittest.cc",
48 "revisit/sessions_page_revisit_observer_unittest.cc", 69 "revisit/sessions_page_revisit_observer_unittest.cc",
49 "revisit/typed_url_page_revisit_task_unittest.cc", 70 "revisit/typed_url_page_revisit_task_unittest.cc",
50 ] 71 ]
51 72
52 deps = [ 73 deps = [
53 ":sync_sessions", 74 ":sync_sessions",
75 ":test_support",
54 "//base/test:test_support", 76 "//base/test:test_support",
55 "//testing/gmock", 77 "//testing/gmock",
56 "//components/bookmarks/browser", 78 "//components/bookmarks/browser",
57 "//components/history/core/browser", 79 "//components/history/core/browser",
58 "//components/sessions:test_support", 80 "//components/sessions:test_support",
59 "//components/sync_driver", 81 "//components/sync_driver",
60 "//testing/gtest", 82 "//testing/gtest",
61 "//sync", 83 "//sync",
62 "//sync:test_support_sync_api", 84 "//sync:test_support_sync_api",
63 "//url", 85 "//url",
64 ] 86 ]
65 } 87 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698