Upstream isClosing() and setClosing() to Tab.
[chromium-blink-merge.git] / components / sessions.gypi
blob4d2805d4f61892b475b2efb23e5ce3a68b28dbe9
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       'target_name': 'sessions',
9       'type': '<(component)',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../content/content.gyp:content_browser',
13         '../skia/skia.gyp:skia',
14         '../third_party/protobuf/protobuf.gyp:protobuf_lite',
15         '../url/url.gyp:url_lib',
16       ],
17       'include_dirs': [
18         '..',
19       ],
20       'defines': [
21         'SESSIONS_IMPLEMENTATION',
22       ],
23       'sources': [
24         'sessions/serialized_navigation_entry.cc',
25         'sessions/serialized_navigation_entry.h',
26       ],
27       'conditions': [
28         ['android_webview_build == 0', {
29           'dependencies': [
30              '../sync/sync.gyp:sync',
31           ]
32         }],
33       ],
34     },
35     {
36       'target_name': 'sessions_test_support',
37       'type': 'static_library',
38       'defines!': ['SESSIONS_IMPLEMENTATION'],
39       'dependencies': [
40         '../skia/skia.gyp:skia',
41         '../testing/gtest.gyp:gtest',
42       ],
43       'include_dirs': [
44         '..',
45       ],
46       'sources': [
47         'sessions/serialized_navigation_entry_test_helper.cc',
48         'sessions/serialized_navigation_entry_test_helper.h',
49       ],
50       'conditions': [
51         ['android_webview_build == 0', {
52           'dependencies': [
53              '../sync/sync.gyp:sync',
54           ]
55         }],
56       ],
57     },
58   ],