1// Copyright (C) 2022 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_checkerframework_license"], 17} 18 19license { 20 name: "external_error_prone_checkerframework_license", 21 package_name: "Google Error Prone checkerframework", 22 license_kinds: [ 23 "SPDX-license-identifier-Apache-2.0", 24 "SPDX-license-identifier-GPL-2.0-with-classpath-exception", 25 "SPDX-license-identifier-MIT", 26 ], 27 license_text: ["LICENSE"], 28} 29 30java_import { 31 name: "error_prone_checkerframework_dataflow_errorprone", 32 host_supported: true, 33 jars: ["dataflow-errorprone-3.39.0.jar"], 34} 35 36// This is effectively dataflow-nullaway library 37java_library_host { 38 name: "error_prone_checkerframework_dataflow_nullaway", 39 visibility: ["//external/nullaway"], 40 jarjar_rules: "nullaway-jarjar-rules.txt", 41 static_libs: ["error_prone_checkerframework_dataflow_errorprone"], 42} 43