Don't preload rarely seen large images
[chromium-blink-merge.git] / components / safe_json.gypi
blobb7ab6084ec97793f9fcab7ee10ff989a6fbf163c
1 # Copyright 2015 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/safe_json
9       'target_name': 'safe_json',
10       #'type': '<(component)',
11       'type': 'static_library',
12       'dependencies': [
13         'safe_json_parser_message_filter',
14         '../base/base.gyp:base',
15         '../components/components_strings.gyp:components_strings',
16         '../content/content.gyp:content_browser',
17         '../ui/base/ui_base.gyp:ui_base',
18       ],
19       'include_dirs': [
20         '..',
21       ],
22       'defines': [
23         'SAFE_JSON_IMPLEMENTATION',
24       ],
25       'sources': [
26         'safe_json/safe_json_parser.cc',
27         'safe_json/safe_json_parser.h',
28         'safe_json/safe_json_parser_impl.cc',
29         'safe_json/safe_json_parser_impl.h',
30       ],
31     },
32     {
33       'target_name': 'safe_json_test_support',
34       'type': 'static_library',
35       'dependencies': [
36         '../base/base.gyp:base',
37         ':safe_json',
38       ],
39       'include_dirs': [
40         '..',
41       ],
42       'sources': [
43         'safe_json/testing_json_parser.cc',
44         'safe_json/testing_json_parser.h',
45       ],
46     },
47     {
48       'target_name': 'safe_json_parser_message_filter',
49       'type': 'static_library',
50       'dependencies': [
51         '../base/base.gyp:base',
52         '../content/content.gyp:content_browser',
53         '../ipc/ipc.gyp:ipc',
54       ],
55       'include_dirs': [
56         '..',
57       ],
58       'sources': [
59         'safe_json/safe_json_parser_message_filter.cc',
60         'safe_json/safe_json_parser_message_filter.h',
61         'safe_json/safe_json_parser_messages.cc',
62         'safe_json/safe_json_parser_messages.h',
63       ],
64     },
65   ],