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

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 GN, self review Created 5 years, 2 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
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 "revisit/current_tab_matcher.cc", 8 "revisit/current_tab_matcher.cc",
9 "revisit/current_tab_matcher.h", 9 "revisit/current_tab_matcher.h",
10 "revisit/offset_tab_matcher.cc", 10 "revisit/offset_tab_matcher.cc",
11 "revisit/offset_tab_matcher.h", 11 "revisit/offset_tab_matcher.h",
12 "revisit/page_equality.h", 12 "revisit/page_equality.h",
13 "revisit/page_visit_observer.h", 13 "revisit/page_visit_observer.h",
14 "revisit/sessions_page_revisit_observer.cc", 14 "revisit/sessions_page_revisit_observer.cc",
15 "revisit/sessions_page_revisit_observer.h", 15 "revisit/sessions_page_revisit_observer.h",
16 "revisit/typed_url_page_revisit_observer.cc", 16 "revisit/typed_url_page_revisit_observer.cc",
17 "revisit/typed_url_page_revisit_observer.h", 17 "revisit/typed_url_page_revisit_observer.h",
18 "revisit/typed_url_page_revisit_task.cc", 18 "revisit/typed_url_page_revisit_task.cc",
19 "revisit/typed_url_page_revisit_task.h", 19 "revisit/typed_url_page_revisit_task.h",
20 "sync_sessions_client.cc",
21 "sync_sessions_client.h",
22 "synced_tab_delegate.cc",
23 "synced_tab_delegate.h",
20 ] 24 ]
21 25
22 deps = [ 26 deps = [
23 "//base", 27 "//base",
24 "//components/history/core/browser", 28 "//components/history/core/browser",
25 "//components/sessions", 29 "//components/sessions",
26 "//components/sync_driver", 30 "//components/sync_driver",
27 "//sync", 31 "//sync",
28 ] 32 ]
29 } 33 }
30 34
35 source_set("test_support") {
36 testonly = true
37 sources = [
38 "fake_sync_sessions_client.cc",
39 "fake_sync_sessions_client.h",
40 ]
41
42 public_deps = [
43 ":sync_sessions",
44 ]
45
46 deps = []
47 }
48
31 source_set("unit_tests") { 49 source_set("unit_tests") {
32 testonly = true 50 testonly = true
33 sources = [ 51 sources = [
34 "revisit/current_tab_matcher_unittest.cc", 52 "revisit/current_tab_matcher_unittest.cc",
35 "revisit/offset_tab_matcher_unittest.cc", 53 "revisit/offset_tab_matcher_unittest.cc",
36 "revisit/sessions_page_revisit_observer_unittest.cc", 54 "revisit/sessions_page_revisit_observer_unittest.cc",
37 "revisit/typed_url_page_revisit_task_unittest.cc", 55 "revisit/typed_url_page_revisit_task_unittest.cc",
38 ] 56 ]
39 57
40 deps = [ 58 deps = [
41 ":sync_sessions", 59 ":sync_sessions",
60 ":test_support",
42 "//base/test:test_support", 61 "//base/test:test_support",
43 "//testing/gtest", 62 "//testing/gtest",
44 "//sync", 63 "//sync",
45 ] 64 ]
46 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698