1// Copyright (C) 2017 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["external_error_prone_license"], 17 default_visibility: ["//external/error_prone"], 18} 19 20// See: http://go/android-license-faq 21// The below licenses are not used in this project. They are mentioned 22// in reference to components not stored here. 23// "SPDX-license-identifier-BSD", 24// "SPDX-license-identifier-CPL-1.0", 25// "SPDX-license-identifier-EPL", 26// "SPDX-license-identifier-LGPL", 27license { 28 name: "external_error_prone_license", 29 package_name: "Google Error Prone", 30 visibility: [":__subpackages__"], 31 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 32 license_text: ["error_prone/LICENSE"], 33} 34 35java_import { 36 name: "error_prone_annotations", 37 host_supported: true, 38 visibility: ["//visibility:public"], 39 jars: ["error_prone/error_prone_annotations-2.11.0.jar"], 40 min_sdk_version : "29", 41 apex_available: [ 42 "//apex_available:anyapex", 43 "//apex_available:platform", 44 ], 45} 46 47java_import { 48 name: "error_prone_core_jars", 49 host_supported: true, 50 jars: [ 51 "error_prone/error_prone_core-2.11.0-with-dependencies.jar", 52 "error_prone/error_prone_annotations-2.11.0.jar", 53 ], 54} 55 56java_library { 57 name: "error_prone_core", 58 host_supported: true, 59 visibility: ["//visibility:public"], 60 static_libs: [ 61 "error_prone_checkerframework_dataflow_errorprone", 62 "error_prone_core_jars", 63 "error_prone_javac", 64 "error_prone_jFormatString", 65 ], 66} 67 68java_import { 69 name: "error_prone_test_helpers", 70 host_supported: true, 71 visibility: ["//visibility:public"], 72 jars: [ 73 "error_prone/error_prone_test_helpers-2.11.0.jar", 74 "jimfs/jimfs-1.1.jar", 75 ], 76} 77