| OLD | NEW |
| 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 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 } | 7 } |
| 8 | 8 |
| 9 # GYP version: components/safe_json.gypi:safe_json | 9 # GYP version: components/safe_json.gypi:safe_json |
| 10 source_set("safe_json") { | 10 static_library("safe_json") { |
| 11 sources = [ | 11 sources = [ |
| 12 "android/component_jni_registrar.cc", | 12 "android/component_jni_registrar.cc", |
| 13 "android/component_jni_registrar.h", | 13 "android/component_jni_registrar.h", |
| 14 "json_sanitizer.cc", | 14 "json_sanitizer.cc", |
| 15 "json_sanitizer.h", | 15 "json_sanitizer.h", |
| 16 "json_sanitizer_android.cc", | 16 "json_sanitizer_android.cc", |
| 17 "safe_json_parser.cc", | 17 "safe_json_parser.cc", |
| 18 "safe_json_parser.h", | 18 "safe_json_parser.h", |
| 19 "safe_json_parser_android.cc", | 19 "safe_json_parser_android.cc", |
| 20 "safe_json_parser_android.h", | 20 "safe_json_parser_android.h", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 deps = [ | 56 deps = [ |
| 57 ":safe_json", | 57 ":safe_json", |
| 58 ":test_support", | 58 ":test_support", |
| 59 "//base", | 59 "//base", |
| 60 "//testing/gtest", | 60 "//testing/gtest", |
| 61 ] | 61 ] |
| 62 } | 62 } |
| 63 | 63 |
| 64 # GYP version: components/safe_json.gypi:safe_json_test_support | 64 # GYP version: components/safe_json.gypi:safe_json_test_support |
| 65 source_set("test_support") { | 65 static_library("test_support") { |
| 66 testonly = true | 66 testonly = true |
| 67 sources = [ | 67 sources = [ |
| 68 "testing_json_parser.cc", | 68 "testing_json_parser.cc", |
| 69 "testing_json_parser.h", | 69 "testing_json_parser.h", |
| 70 ] | 70 ] |
| 71 | 71 |
| 72 deps = [ | 72 deps = [ |
| 73 ":safe_json", | 73 ":safe_json", |
| 74 "//base", | 74 "//base", |
| 75 ] | 75 ] |
| 76 } | 76 } |
| OLD | NEW |