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.
8 # GN version: //components/safe_json
9 'target_name': 'safe_json',
10 'type': 'static_library',
12 'safe_json_parser_message_filter',
13 '../base/base.gyp:base',
14 '../components/components_strings.gyp:components_strings',
15 '../content/content.gyp:content_browser',
16 '../content/content.gyp:content_common',
17 '../ui/base/ui_base.gyp:ui_base',
23 'safe_json/android/component_jni_registrar.cc',
24 'safe_json/android/component_jni_registrar.h',
25 'safe_json/json_sanitizer.cc',
26 'safe_json/json_sanitizer.h',
27 'safe_json/json_sanitizer_android.cc',
28 'safe_json/safe_json_parser.cc',
29 'safe_json/safe_json_parser.h',
30 'safe_json/safe_json_parser_android.cc',
31 'safe_json/safe_json_parser_android.h',
32 'safe_json/safe_json_parser_impl.cc',
33 'safe_json/safe_json_parser_impl.h',
38 'safe_json_jni_headers',
41 'safe_json/json_sanitizer.cc',
42 'safe_json/safe_json_parser_impl.cc',
43 'safe_json/safe_json_parser_impl.h',
49 'target_name': 'safe_json_test_support',
50 'type': 'static_library',
52 '../base/base.gyp:base',
59 'safe_json/testing_json_parser.cc',
60 'safe_json/testing_json_parser.h',
64 'target_name': 'safe_json_parser_message_filter',
65 'type': 'static_library',
67 '../base/base.gyp:base',
68 '../content/content.gyp:content_utility',
75 'safe_json/safe_json_parser_message_filter.cc',
76 'safe_json/safe_json_parser_message_filter.h',
77 'safe_json/safe_json_parser_messages.cc',
78 'safe_json/safe_json_parser_messages.h',
86 # GN version: //components/safe_json/android:safe_json_java
87 'target_name': 'safe_json_java',
90 '../base/base.gyp:base',
93 'java_in_dir': 'safe_json/android/java',
95 'includes': [ '../build/java.gypi' ],
98 # GN version: //components/safe_json:jni
99 'target_name': 'safe_json_jni_headers',
102 'safe_json/android/java/src/org/chromium/components/safejson/JsonSanitizer.java',
105 'jni_gen_package': 'safe_json',
107 'includes': [ '../build/jni_generator.gypi' ],