// Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    default_applicable_licenses: ["external_error_prone_license"],
    default_visibility: ["//external/error_prone"],
}

// See: http://go/android-license-faq
// The below licenses are not used in this project. They are mentioned
// in reference to components not stored here.
//        "SPDX-license-identifier-BSD",
//        "SPDX-license-identifier-CPL-1.0",
//        "SPDX-license-identifier-EPL",
//        "SPDX-license-identifier-LGPL",
license {
    name: "external_error_prone_license",
    package_name: "Google Error Prone",
    visibility: [":__subpackages__"],
    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
    license_text: ["error_prone/LICENSE"],
}

java_import {
    name: "error_prone_annotations",
    host_supported: true,
    visibility: ["//visibility:public"],
    jars: ["error_prone/error_prone_annotations-2.36.0.jar"],
    min_sdk_version: "29",
    apex_available: [
        "//apex_available:anyapex",
        "//apex_available:platform",
    ],
    target: {
        windows: {
            enabled: true,
        },
    },
}

java_import {
    name: "error_prone_core_jars",
    host_supported: true,
    jars: [
        "error_prone/error_prone_core-2.36.0-with-dependencies.jar",
        "error_prone/error_prone_annotations-2.36.0.jar",
    ],
}

java_library {
    name: "error_prone_core",
    host_supported: true,
    visibility: ["//visibility:public"],
    static_libs: [
        "error_prone_checkerframework_dataflow_errorprone",
        "error_prone_core_jars",
        "error_prone_jFormatString",
    ],
    sdk_version: "core_current",
}

java_import {
    name: "error_prone_test_helpers",
    host_supported: true,
    visibility: ["//visibility:public"],
    jars: [
        "error_prone/error_prone_test_helpers-2.36.0.jar",
        "jimfs/jimfs-1.1.jar",
    ],
}
