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 import("//build/config/android/rules.gni")
9 # GYP version: components/safe_json.gypi:safe_json
10 source_set("safe_json") {
12 "android/component_jni_registrar.cc",
13 "android/component_jni_registrar.h",
16 "json_sanitizer_android.cc",
17 "safe_json_parser.cc",
19 "safe_json_parser_android.cc",
20 "safe_json_parser_android.h",
21 "safe_json_parser_impl.cc",
22 "safe_json_parser_impl.h",
26 ":safe_json_parser_message_filter",
28 "//components/strings",
29 "//content/public/browser",
36 "safe_json_parser_impl.cc",
37 "safe_json_parser_impl.h",
39 deps += [ "android:safe_json_jni_headers" ]
43 # GYP version: components/safe_json.gypi:safe_json_unittest_sources
44 source_set("unit_tests") {
47 "json_sanitizer_unittest.cc",
58 # GYP version: components/safe_json.gypi:safe_json_test_support
59 source_set("test_support") {
62 "testing_json_parser.cc",
63 "testing_json_parser.h",
72 # GYP version: components/safe_json.gypi:safe_json_parser_message_filter
73 source_set("safe_json_parser_message_filter") {
75 "safe_json_parser_message_filter.cc",
76 "safe_json_parser_message_filter.h",
77 "safe_json_parser_messages.cc",
78 "safe_json_parser_messages.h",
83 "//content/public/common",
84 "//content/public/utility",