cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / components / sessions.gypi
blob401015eea04e2b2ab7f7b6f87c1743a9afdb8534
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         ['OS != "ios" and chrome_multiple_dll != 1', {
29           'dependencies': [
30             '../webkit/support/webkit_support.gyp:glue',
31           ]
32         }],
33         ['android_webview_build == 0', {
34           'dependencies': [
35              '../sync/sync.gyp:sync',
36           ]
37         }],
38       ],
39     },
40     {
41       'target_name': 'sessions_test_support',
42       'type': 'static_library',
43       'defines!': ['SESSIONS_IMPLEMENTATION'],
44       'dependencies': [
45         '../skia/skia.gyp:skia',
46         '../testing/gtest.gyp:gtest',
47       ],
48       'include_dirs': [
49         '..',
50       ],
51       'sources': [
52         'sessions/serialized_navigation_entry_test_helper.cc',
53         'sessions/serialized_navigation_entry_test_helper.h',
54       ],
55       'conditions': [
56         ['android_webview_build == 0', {
57           'dependencies': [
58              '../sync/sync.gyp:sync',
59           ]
60         }],
61       ],
62     },
63   ],