Reland: Remove some dead app host code.
[chromium-blink-merge.git] / components / sessions.gypi
blob743ebf2209c426cf5190e97da67dc12d5d5c8b4d
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //components/sessions
9       'target_name': 'sessions',
10       'type': '<(component)',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../content/content.gyp:content_browser',
14         '../skia/skia.gyp:skia',
15         '../third_party/protobuf/protobuf.gyp:protobuf_lite',
16         '../url/url.gyp:url_lib',
17       ],
18       'include_dirs': [
19         '..',
20       ],
21       'defines': [
22         'SESSIONS_IMPLEMENTATION',
23       ],
24       'sources': [
25         # Note: sources list duplicated in GN build.
26         'sessions/serialized_navigation_entry.cc',
27         'sessions/serialized_navigation_entry.h',
28       ],
29       'conditions': [
30         ['android_webview_build == 0', {
31           'dependencies': [
32              '../sync/sync.gyp:sync',
33           ]
34         }],
35       ],
36     },
37     {
38       # GN version: //components/sessions:test_support
39       'target_name': 'sessions_test_support',
40       'type': 'static_library',
41       'defines!': ['SESSIONS_IMPLEMENTATION'],
42       'dependencies': [
43         '../skia/skia.gyp:skia',
44         '../testing/gtest.gyp:gtest',
45       ],
46       'include_dirs': [
47         '..',
48       ],
49       'sources': [
50         # Note: sources list duplicated in GN build.
51         'sessions/serialized_navigation_entry_test_helper.cc',
52         'sessions/serialized_navigation_entry_test_helper.h',
53       ],
54       'conditions': [
55         ['android_webview_build == 0', {
56           'dependencies': [
57              '../sync/sync.gyp:sync',
58           ]
59         }],
60       ],
61     },
62   ],