Selectively enable D3D11 on Intel GPUs.
[chromium-blink-merge.git] / components / sessions.gypi
blob2da33d78869e95c49ca3cecd97ec00fbafb7712f
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         '../ui/base/ui_base.gyp:ui_base',
17         '../url/url.gyp:url_lib',
18       ],
19       'include_dirs': [
20         '..',
21       ],
22       'defines': [
23         'SESSIONS_IMPLEMENTATION',
24       ],
25       'sources': [
26         # Note: sources list duplicated in GN build.
27         'sessions/serialized_navigation_entry.cc',
28         'sessions/serialized_navigation_entry.h',
29         'sessions/session_id.cc',
30         'sessions/session_id.h',
31       ],
32       'conditions': [
33         ['android_webview_build == 0', {
34           'dependencies': [
35              '../sync/sync.gyp:sync',
36           ]
37         }],
38       ],
39     },
40     {
41       # GN version: //components/sessions:test_support
42       'target_name': 'sessions_test_support',
43       'type': 'static_library',
44       'defines!': ['SESSIONS_IMPLEMENTATION'],
45       'dependencies': [
46         '../skia/skia.gyp:skia',
47         '../testing/gtest.gyp:gtest',
48       ],
49       'include_dirs': [
50         '..',
51       ],
52       'sources': [
53         # Note: sources list duplicated in GN build.
54         'sessions/serialized_navigation_entry_test_helper.cc',
55         'sessions/serialized_navigation_entry_test_helper.h',
56       ],
57       'conditions': [
58         ['android_webview_build == 0', {
59           'dependencies': [
60              '../sync/sync.gyp:sync',
61           ]
62         }],
63       ],
64     },
65   ],