Include <string> and <istream> outside __pnacl__.
[chromium-blink-merge.git] / components / sessions.gypi
blob14fa0801fd0afcfbae5cc75dfa6ca8d7d30e1a27
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         'sessions/session_id.cc',
29         'sessions/session_id.h',
30       ],
31       'conditions': [
32         ['android_webview_build == 0', {
33           'dependencies': [
34              '../sync/sync.gyp:sync',
35           ]
36         }],
37       ],
38     },
39     {
40       # GN version: //components/sessions:test_support
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         # Note: sources list duplicated in GN build.
53         'sessions/serialized_navigation_entry_test_helper.cc',
54         'sessions/serialized_navigation_entry_test_helper.h',
55       ],
56       'conditions': [
57         ['android_webview_build == 0', {
58           'dependencies': [
59              '../sync/sync.gyp:sync',
60           ]
61         }],
62       ],
63     },
64   ],