chromium/third_party/android_build_tools/json/BUILD.gn

# Copyright 2022 The Chromium Authors
# 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")

java_library("json_java") {
  sources = [
    "src/org/json/JSON.java",
    "src/org/json/JSONArray.java",
    "src/org/json/JSONException.java",
    "src/org/json/JSONObject.java",
    "src/org/json/JSONStringer.java",
    "src/org/json/JSONTokener.java",
  ]

  # This target is not going to be updated, only needed by our robolectric test
  # launcher.
  # Production android code should just get android's implementation
  # automatically.
  testonly = true
}