| 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 source_set("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", |
| 21 "safe_json_parser_impl.cc", | 21 "safe_json_parser_impl.cc", |
| 22 "safe_json_parser_impl.h", | 22 "safe_json_parser_impl.h", |
| 23 ] | 23 ] |
| 24 | 24 |
| 25 deps = [ | 25 deps = [ |
| 26 ":safe_json_parser_message_filter", | 26 ":safe_json_parser_message_filter", |
| 27 "//base", | 27 "//base", |
| 28 "//components/strings", | 28 "//components/strings", |
| 29 "//content/public/browser", | 29 "//content/public/browser", |
| 30 "//ipc", |
| 30 "//ui/base", | 31 "//ui/base", |
| 31 ] | 32 ] |
| 32 | 33 |
| 33 if (is_android) { | 34 if (is_android) { |
| 34 sources -= [ | 35 sources -= [ |
| 35 "json_sanitizer.cc", | 36 "json_sanitizer.cc", |
| 36 "safe_json_parser_impl.cc", | 37 "safe_json_parser_impl.cc", |
| 37 "safe_json_parser_impl.h", | 38 "safe_json_parser_impl.h", |
| 38 ] | 39 ] |
| 39 deps += [ "android:safe_json_jni_headers" ] | 40 deps += [ "android:safe_json_jni_headers" ] |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 "safe_json_parser_messages.h", | 79 "safe_json_parser_messages.h", |
| 79 ] | 80 ] |
| 80 | 81 |
| 81 deps = [ | 82 deps = [ |
| 82 "//base", | 83 "//base", |
| 83 "//content/public/common", | 84 "//content/public/common", |
| 84 "//content/public/utility", | 85 "//content/public/utility", |
| 85 "//ipc", | 86 "//ipc", |
| 86 ] | 87 ] |
| 87 } | 88 } |
| OLD | NEW |