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 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 # GYP: //components/precache.gypi:precache_java | 7 # GYP: //components/safe_json.gypi:safe_json_jni_headers |
8 android_library("precache_java") { | 8 generate_jni("safe_json_jni_headers") { |
| 9 sources = [ |
| 10 "java/src/org/chromium/components/safejson/JsonSanitizer.java", |
| 11 ] |
| 12 jni_package = "safe_json" |
| 13 } |
| 14 |
| 15 # GYP: //components/safe_json.gypi:safe_json_java |
| 16 android_library("safe_json_java") { |
9 deps = [ | 17 deps = [ |
10 "//base:base_java", | 18 "//base:base_java", |
11 ] | 19 ] |
12 DEPRECATED_java_in_dir = "java/src" | 20 DEPRECATED_java_in_dir = "java/src" |
13 } | 21 } |
14 | |
15 android_library("precache_javatests") { | |
16 deps = [ | |
17 "//base:base_java_test_support", | |
18 ":precache_java", | |
19 ] | |
20 DEPRECATED_java_in_dir = "javatests/src" | |
21 } | |
OLD | NEW |