| 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") { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 "//ui/base", | 31 "//ui/base", |
| 32 ] | 32 ] |
| 33 | 33 |
| 34 if (is_android) { | 34 if (is_android) { |
| 35 sources -= [ | 35 sources -= [ |
| 36 "json_sanitizer.cc", | 36 "json_sanitizer.cc", |
| 37 "safe_json_parser_impl.cc", | 37 "safe_json_parser_impl.cc", |
| 38 "safe_json_parser_impl.h", | 38 "safe_json_parser_impl.h", |
| 39 ] | 39 ] |
| 40 deps += [ "android:safe_json_jni_headers" ] | 40 deps += [ "android:safe_json_jni_headers" ] |
| 41 deps -= [ |
| 42 ":messages", |
| 43 "//content/public/browser", |
| 44 "//ipc", |
| 45 ] |
| 41 } | 46 } |
| 42 } | 47 } |
| 43 | 48 |
| 44 # GYP version: components/safe_json.gypi:safe_json_unittest_sources | 49 # GYP version: components/safe_json.gypi:safe_json_unittest_sources |
| 45 source_set("unit_tests") { | 50 source_set("unit_tests") { |
| 46 testonly = true | 51 testonly = true |
| 47 sources = [ | 52 sources = [ |
| 48 "json_sanitizer_unittest.cc", | 53 "json_sanitizer_unittest.cc", |
| 49 ] | 54 ] |
| 50 | 55 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 ] | 98 ] |
| 94 | 99 |
| 95 deps = [ | 100 deps = [ |
| 96 ":messages", | 101 ":messages", |
| 97 "//base", | 102 "//base", |
| 98 "//content/public/common", | 103 "//content/public/common", |
| 99 "//content/public/utility", | 104 "//content/public/utility", |
| 100 "//ipc", | 105 "//ipc", |
| 101 ] | 106 ] |
| 102 } | 107 } |
| OLD | NEW |