Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: components/safe_json/android/BUILD.gn

Issue 1203083002: Add a JSON sanitizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: x Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698