summaryrefslogtreecommitdiffstats
path: root/components/error_page.gypi
blob: bc465cc38a35a90aa7ab4af106b9979ef5259db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      # GN version: //components/error_page/common
      'target_name': 'error_page_common',
      'type': 'static_library',
      'dependencies': [
        '../base/base.gyp:base',
        '../url/url.gyp:url_lib',
        'url_formatter/url_formatter.gyp:url_formatter',
      ],
      'include_dirs': [
        '..',
      ],
      'sources': [
        'error_page/common/error_page_params.cc',
        'error_page/common/error_page_params.h',
        'error_page/common/net_error_info.cc',
        'error_page/common/net_error_info.h',
      ],
    },
  ],
  'conditions': [
    ['OS != "ios"', {
      'targets': [
        {
          # GN version: //components/error_page/renderer
          'target_name': 'error_page_renderer',
          'type': 'static_library',
          'dependencies': [
            '../base/base.gyp:base',
            '../components/components_strings.gyp:components_strings',
            '../content/content.gyp:content_common',
            '../net/net.gyp:net',
            '../third_party/WebKit/public/blink.gyp:blink',
            '../ui/base/ui_base.gyp:ui_base',
            '../url/url.gyp:url_lib',
            'error_page_common',
          ],
          'include_dirs': [
            '..',
          ],
          'sources': [
            'error_page/renderer/net_error_helper_core.cc',
            'error_page/renderer/net_error_helper_core.h',
          ],
        }
      ],
    }],
  ],
}