Allow the externalfile scheme to be whitelisted as an allowed scheme for component...
[chromium-blink-merge.git] / components / error_page.gypi
blob29b01206485424380509c449d7b1fcd15fb5bb15
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       ],
15       'include_dirs': [
16         '..',
17       ],
18       'sources': [
19         'error_page/common/error_page_params.cc',
20         'error_page/common/error_page_params.h',
21         'error_page/common/net_error_info.h',
22         'error_page/common/net_error_info.cc',
23       ],
24     },
25   ],
26   'conditions': [
27     ['OS != "ios"', {
28       'targets': [
29         {
30           # GN version: //components/error_page/renderer
31           'target_name': 'error_page_renderer',
32           'type': 'static_library',
33           'dependencies': [
34             '../base/base.gyp:base',
35             '../components/components_strings.gyp:components_strings',
36             '../content/content.gyp:content_common',
37             '../net/net.gyp:net',
38             '../third_party/WebKit/public/blink.gyp:blink',
39             '../ui/base/ui_base.gyp:ui_base',
40             '../url/url.gyp:url_lib',
41             'error_page_common',
42           ],
43           'include_dirs': [
44             '..',
45           ],
46           'sources': [
47             'error_page/renderer/net_error_helper_core.cc',
48             'error_page/renderer/net_error_helper_core.h',
49           ],
50         }
51       ],
52     }],
53   ],