Ensure low-memory renderers retry failed loads correctly.
[chromium-blink-merge.git] / components / error_page.gypi
blobbc465cc38a35a90aa7ab4af106b9979ef5259db3
1 # Copyright 2014 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/error_page/common
9       'target_name': 'error_page_common',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../url/url.gyp:url_lib',
14         'url_formatter/url_formatter.gyp:url_formatter',
15       ],
16       'include_dirs': [
17         '..',
18       ],
19       'sources': [
20         'error_page/common/error_page_params.cc',
21         'error_page/common/error_page_params.h',
22         'error_page/common/net_error_info.cc',
23         'error_page/common/net_error_info.h',
24       ],
25     },
26   ],
27   'conditions': [
28     ['OS != "ios"', {
29       'targets': [
30         {
31           # GN version: //components/error_page/renderer
32           'target_name': 'error_page_renderer',
33           'type': 'static_library',
34           'dependencies': [
35             '../base/base.gyp:base',
36             '../components/components_strings.gyp:components_strings',
37             '../content/content.gyp:content_common',
38             '../net/net.gyp:net',
39             '../third_party/WebKit/public/blink.gyp:blink',
40             '../ui/base/ui_base.gyp:ui_base',
41             '../url/url.gyp:url_lib',
42             'error_page_common',
43           ],
44           'include_dirs': [
45             '..',
46           ],
47           'sources': [
48             'error_page/renderer/net_error_helper_core.cc',
49             'error_page/renderer/net_error_helper_core.h',
50           ],
51         }
52       ],
53     }],
54   ],