summaryrefslogtreecommitdiffstats
path: root/components/sync_sessions.gypi
blob: c5a22b55480e15dedac996e86ed95ee72429dd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# 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.

{
  'targets': [
    {
      # GN version: //components/sync_sessions
      'target_name': 'sync_sessions',
      'type': 'static_library',
      'include_dirs': [
        '..',
      ],
      'dependencies': [
        '../base/base.gyp:base',
        '../sync/sync.gyp:sync',
        '../url/url.gyp:url_lib',
        'bookmarks_browser',
        'history_core_browser',
        'prefs/prefs.gyp:prefs',
        'sync_driver',
      ],
      'sources': [
        # Note: sources list duplicated in GN build.
        'sync_sessions/favicon_cache.cc',
        'sync_sessions/favicon_cache.h',
        'sync_sessions/local_session_event_router.h',
        'sync_sessions/open_tabs_ui_delegate.cc',
        'sync_sessions/open_tabs_ui_delegate.h',
        'sync_sessions/revisit/bookmarks_by_url_provider_impl.cc',
        'sync_sessions/revisit/bookmarks_by_url_provider_impl.h',
        'sync_sessions/revisit/bookmarks_page_revisit_observer.cc',
        'sync_sessions/revisit/bookmarks_page_revisit_observer.h',
        'sync_sessions/revisit/current_tab_matcher.cc',
        'sync_sessions/revisit/current_tab_matcher.h',
        'sync_sessions/revisit/offset_tab_matcher.cc',
        'sync_sessions/revisit/offset_tab_matcher.h',
        'sync_sessions/revisit/page_equality.h',
        'sync_sessions/revisit/page_visit_observer.h',
        'sync_sessions/revisit/page_revisit_broadcaster.cc',
        'sync_sessions/revisit/page_revisit_broadcaster.h',
        'sync_sessions/revisit/sessions_page_revisit_observer.cc',
        'sync_sessions/revisit/sessions_page_revisit_observer.h',
        'sync_sessions/revisit/typed_url_page_revisit_observer.cc',
        'sync_sessions/revisit/typed_url_page_revisit_observer.h',
        'sync_sessions/revisit/typed_url_page_revisit_task.cc',
        'sync_sessions/revisit/typed_url_page_revisit_task.h',
        'sync_sessions/session_data_type_controller.cc',
        'sync_sessions/session_data_type_controller.h',
        'sync_sessions/sessions_sync_manager.cc',
        'sync_sessions/sessions_sync_manager.h',
        'sync_sessions/synced_tab_delegate.cc',
        'sync_sessions/synced_tab_delegate.h',
        'sync_sessions/synced_session.cc',
        'sync_sessions/synced_session.h',
        'sync_sessions/synced_session_tracker.cc',
        'sync_sessions/synced_session_tracker.h',
        'sync_sessions/synced_window_delegate.h',
        'sync_sessions/synced_window_delegates_getter.cc',
        'sync_sessions/synced_window_delegates_getter.h',
        'sync_sessions/sync_sessions_client.cc',
        'sync_sessions/sync_sessions_client.h',
        'sync_sessions/tab_node_pool.cc',
        'sync_sessions/tab_node_pool.h',
      ],
      'conditions': [
        ['OS!="ios"', {
          'dependencies': [
            'sessions_content',
          ],
        }, {  # OS==ios
          'dependencies': [
            'sessions_ios',
          ],
        }],
      ],
    },
    {
      'target_name': 'sync_sessions_test_support',
      'type': 'static_library',
      'dependencies': [
        'sync_sessions',
        '../base/base.gyp:base',
        '../sync/sync.gyp:sync',
        '../testing/gtest.gyp:gtest',
      ],
      'include_dirs': [
        '..',
      ],
      'sources': [
        'sync_sessions/fake_sync_sessions_client.cc',
        'sync_sessions/fake_sync_sessions_client.h',
      ],
    }
  ]
}