Try to work around that clang/win bug in another file.
[chromium-blink-merge.git] / components / safe_json.gypi
blobd3c55126079b02825ef741c5ee2dab3c98e7af08
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       ],
29     },
30     {
31       'target_name': 'safe_json_parser_message_filter',
32       'type': 'static_library',
33       'dependencies': [
34         '../base/base.gyp:base',
35         '../content/content.gyp:content_browser',
36         '../ipc/ipc.gyp:ipc',
37       ],
38       'include_dirs': [
39         '..',
40       ],
41       'sources': [
42         'safe_json/safe_json_parser_message_filter.cc',
43         'safe_json/safe_json_parser_message_filter.h',
44         'safe_json/safe_json_parser_messages.cc',
45         'safe_json/safe_json_parser_messages.h',
46       ],
47     },
48   ],