summaryrefslogtreecommitdiff
path: root/chromium/components/safe_json/android/BUILD.gn
blob: a9f89fe59b3bd56ac18024930d3860f5e3abc6c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/android/rules.gni")

_jni_sources =
    [ "java/src/org/chromium/components/safejson/JsonSanitizer.java" ]

generate_jni("safe_json_jni_headers") {
  sources = _jni_sources
  jni_package = "safe_json"
}

android_library("safe_json_java") {
  deps = [
    "//base:base_java",
  ]
  java_files = [] + _jni_sources
}