Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(903)

Side by Side Diff: components/safe_json.gypi

Issue 1214903010: Make JSONParser a pure interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: review Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/safe_json 8 # GN version: //components/safe_json
9 'target_name': 'safe_json', 9 'target_name': 'safe_json',
10 #'type': '<(component)', 10 #'type': '<(component)',
11 'type': 'static_library', 11 'type': 'static_library',
12 'dependencies': [ 12 'dependencies': [
13 'safe_json_parser_message_filter', 13 'safe_json_parser_message_filter',
14 '../base/base.gyp:base', 14 '../base/base.gyp:base',
15 '../components/components_strings.gyp:components_strings', 15 '../components/components_strings.gyp:components_strings',
16 '../content/content.gyp:content_browser', 16 '../content/content.gyp:content_browser',
17 '../ui/base/ui_base.gyp:ui_base', 17 '../ui/base/ui_base.gyp:ui_base',
18 ], 18 ],
19 'include_dirs': [ 19 'include_dirs': [
20 '..', 20 '..',
21 ], 21 ],
22 'defines': [ 22 'defines': [
23 'SAFE_JSON_IMPLEMENTATION', 23 'SAFE_JSON_IMPLEMENTATION',
24 ], 24 ],
25 'sources': [ 25 'sources': [
26 'safe_json/safe_json_parser.cc', 26 'safe_json/safe_json_parser.cc',
27 'safe_json/safe_json_parser.h', 27 'safe_json/safe_json_parser.h',
28 'safe_json/safe_json_parser_impl.cc',
29 'safe_json/safe_json_parser_impl.h',
28 ], 30 ],
29 }, 31 },
30 { 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 {
31 'target_name': 'safe_json_parser_message_filter', 48 'target_name': 'safe_json_parser_message_filter',
32 'type': 'static_library', 49 'type': 'static_library',
33 'dependencies': [ 50 'dependencies': [
34 '../base/base.gyp:base', 51 '../base/base.gyp:base',
35 '../content/content.gyp:content_browser', 52 '../content/content.gyp:content_browser',
36 '../ipc/ipc.gyp:ipc', 53 '../ipc/ipc.gyp:ipc',
37 ], 54 ],
38 'include_dirs': [ 55 'include_dirs': [
39 '..', 56 '..',
40 ], 57 ],
41 'sources': [ 58 'sources': [
42 'safe_json/safe_json_parser_message_filter.cc', 59 'safe_json/safe_json_parser_message_filter.cc',
43 'safe_json/safe_json_parser_message_filter.h', 60 'safe_json/safe_json_parser_message_filter.h',
44 'safe_json/safe_json_parser_messages.cc', 61 'safe_json/safe_json_parser_messages.cc',
45 'safe_json/safe_json_parser_messages.h', 62 'safe_json/safe_json_parser_messages.h',
46 ], 63 ],
47 }, 64 },
48 ], 65 ],
49 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698