1*650b9f74SAndroid Build Coastguard Worker// Copyright (C) 2010 The Android Open Source Project 2*650b9f74SAndroid Build Coastguard Worker// 3*650b9f74SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*650b9f74SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*650b9f74SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*650b9f74SAndroid Build Coastguard Worker// 7*650b9f74SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*650b9f74SAndroid Build Coastguard Worker// 9*650b9f74SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*650b9f74SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*650b9f74SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*650b9f74SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*650b9f74SAndroid Build Coastguard Worker// limitations under the License. 14*650b9f74SAndroid Build Coastguard Worker 15*650b9f74SAndroid Build Coastguard Workerpackage { 16*650b9f74SAndroid Build Coastguard Worker default_applicable_licenses: ["external_jsilver_license"], 17*650b9f74SAndroid Build Coastguard Worker} 18*650b9f74SAndroid Build Coastguard Worker 19*650b9f74SAndroid Build Coastguard Worker// Added automatically by a large-scale-change 20*650b9f74SAndroid Build Coastguard Worker// See: http://go/android-license-faq 21*650b9f74SAndroid Build Coastguard Workerlicense { 22*650b9f74SAndroid Build Coastguard Worker name: "external_jsilver_license", 23*650b9f74SAndroid Build Coastguard Worker visibility: [":__subpackages__"], 24*650b9f74SAndroid Build Coastguard Worker license_kinds: [ 25*650b9f74SAndroid Build Coastguard Worker "SPDX-license-identifier-Apache-2.0", 26*650b9f74SAndroid Build Coastguard Worker ], 27*650b9f74SAndroid Build Coastguard Worker license_text: [ 28*650b9f74SAndroid Build Coastguard Worker "NOTICE", 29*650b9f74SAndroid Build Coastguard Worker ], 30*650b9f74SAndroid Build Coastguard Worker} 31*650b9f74SAndroid Build Coastguard Worker 32*650b9f74SAndroid Build Coastguard Workerjava_library_host { 33*650b9f74SAndroid Build Coastguard Worker java_version: "1.8", 34*650b9f74SAndroid Build Coastguard Worker name: "jsilver", 35*650b9f74SAndroid Build Coastguard Worker srcs: ["src/**/*.java"], 36*650b9f74SAndroid Build Coastguard Worker libs: ["guava"], 37*650b9f74SAndroid Build Coastguard Worker java_resource_dirs: ["src"], 38*650b9f74SAndroid Build Coastguard Worker errorprone: { 39*650b9f74SAndroid Build Coastguard Worker javacflags: [ 40*650b9f74SAndroid Build Coastguard Worker "-Xep:PreconditionsInvalidPlaceholder:WARN", 41*650b9f74SAndroid Build Coastguard Worker "-Xep:LenientFormatStringValidation:WARN", 42*650b9f74SAndroid Build Coastguard Worker ], 43*650b9f74SAndroid Build Coastguard Worker }, 44*650b9f74SAndroid Build Coastguard Worker} 45