| # Copyright 2015 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # GYP version: components/sync_sessions.gypi:sync_sessions |
| static_library("sync_sessions") { |
| sources = [ |
| "favicon_cache.cc", |
| "favicon_cache.h", |
| "local_session_event_router.h", |
| "open_tabs_ui_delegate.cc", |
| "open_tabs_ui_delegate.h", |
| "revisit/bookmarks_by_url_provider_impl.cc", |
| "revisit/bookmarks_by_url_provider_impl.h", |
| "revisit/bookmarks_page_revisit_observer.cc", |
| "revisit/bookmarks_page_revisit_observer.h", |
| "revisit/current_tab_matcher.cc", |
| "revisit/current_tab_matcher.h", |
| "revisit/offset_tab_matcher.cc", |
| "revisit/offset_tab_matcher.h", |
| "revisit/page_equality.h", |
| "revisit/page_revisit_broadcaster.cc", |
| "revisit/page_revisit_broadcaster.h", |
| "revisit/page_visit_observer.h", |
| "revisit/sessions_page_revisit_observer.cc", |
| "revisit/sessions_page_revisit_observer.h", |
| "revisit/typed_url_page_revisit_observer.cc", |
| "revisit/typed_url_page_revisit_observer.h", |
| "revisit/typed_url_page_revisit_task.cc", |
| "revisit/typed_url_page_revisit_task.h", |
| "session_data_type_controller.cc", |
| "session_data_type_controller.h", |
| "sessions_sync_manager.cc", |
| "sessions_sync_manager.h", |
| "sync_sessions_client.cc", |
| "sync_sessions_client.h", |
| "sync_sessions_metrics.cc", |
| "sync_sessions_metrics.h", |
| "synced_session.cc", |
| "synced_session.h", |
| "synced_session_tracker.cc", |
| "synced_session_tracker.h", |
| "synced_tab_delegate.cc", |
| "synced_tab_delegate.h", |
| "synced_window_delegate.h", |
| "synced_window_delegates_getter.cc", |
| "synced_window_delegates_getter.h", |
| "tab_node_pool.cc", |
| "tab_node_pool.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//components/bookmarks/browser", |
| "//components/favicon/core", |
| "//components/history/core/browser", |
| "//components/prefs", |
| "//components/sessions", |
| "//components/sync_driver", |
| "//components/variations", |
| "//sync", |
| "//ui/base:base", |
| "//ui/gfx", |
| "//url", |
| ] |
| } |
| |
| static_library("test_support") { |
| testonly = true |
| sources = [ |
| "fake_sync_sessions_client.cc", |
| "fake_sync_sessions_client.h", |
| ] |
| |
| public_deps = [ |
| ":sync_sessions", |
| "//base", |
| "//url", |
| ] |
| |
| deps = [] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "favicon_cache_unittest.cc", |
| "revisit/bookmarks_page_revisit_observer_unittest.cc", |
| "revisit/current_tab_matcher_unittest.cc", |
| "revisit/offset_tab_matcher_unittest.cc", |
| "revisit/page_revisit_broadcaster_unittest.cc", |
| "revisit/sessions_page_revisit_observer_unittest.cc", |
| "revisit/typed_url_page_revisit_task_unittest.cc", |
| "session_data_type_controller_unittest.cc", |
| "sync_sessions_metrics_unittest.cc", |
| "synced_session_tracker_unittest.cc", |
| "tab_node_pool_unittest.cc", |
| ] |
| |
| deps = [ |
| ":sync_sessions", |
| ":test_support", |
| "//base/test:test_support", |
| "//components/bookmarks/browser", |
| "//components/history/core/browser", |
| "//components/prefs:test_support", |
| "//components/sessions:test_support", |
| "//components/sync_driver", |
| "//components/sync_driver:test_support", |
| "//sync", |
| "//sync:test_support_sync_api", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//ui/base:base", |
| "//url", |
| ] |
| } |