Add the ability for cr_cronet.py build to take in command line options.
[chromium-blink-merge.git] / components / safe_json_parser.gypi
blob04fb2887a8ede9d325054fe3e9ad68996b755987
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_parser
9       'target_name': 'safe_json_parser',
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_PARSER_IMPLEMENTATION',
24       ],
25       'sources': [
26         'safe_json_parser/safe_json_parser.h',
27         'safe_json_parser/safe_json_parser.cc',
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_parser/safe_json_parser_messages.cc',
43         'safe_json_parser/safe_json_parser_messages.h',
44         'safe_json_parser/safe_json_parser_message_filter.cc',
45         'safe_json_parser/safe_json_parser_message_filter.h',
46       ],
47     },
48   ],