1*cf4566a7STreehugger Robot// Copyright (C) 2009 The Android Open Source Project 2*cf4566a7STreehugger Robot// 3*cf4566a7STreehugger Robot// Licensed under the Apache License, Version 2.0 (the "License"); 4*cf4566a7STreehugger Robot// you may not use this file except in compliance with the License. 5*cf4566a7STreehugger Robot// You may obtain a copy of the License at 6*cf4566a7STreehugger Robot// 7*cf4566a7STreehugger Robot// http://www.apache.org/licenses/LICENSE-2.0 8*cf4566a7STreehugger Robot// 9*cf4566a7STreehugger Robot// Unless required by applicable law or agreed to in writing, software 10*cf4566a7STreehugger Robot// distributed under the License is distributed on an "AS IS" BASIS, 11*cf4566a7STreehugger Robot// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*cf4566a7STreehugger Robot// See the License for the specific language governing permissions and 13*cf4566a7STreehugger Robot// limitations under the License. 14*cf4566a7STreehugger Robot// 15*cf4566a7STreehugger Robot// 16*cf4566a7STreehugger Robot 17*cf4566a7STreehugger Robotpackage { 18*cf4566a7STreehugger Robot default_applicable_licenses: ["external_junit_license"], 19*cf4566a7STreehugger Robot} 20*cf4566a7STreehugger Robot 21*cf4566a7STreehugger Robot// Added automatically by a large-scale-change 22*cf4566a7STreehugger Robot// 23*cf4566a7STreehugger Robot// large-scale-change included anything that looked like it might be a license 24*cf4566a7STreehugger Robot// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. 25*cf4566a7STreehugger Robot// 26*cf4566a7STreehugger Robot// Please consider removing redundant or irrelevant files from 'license_text:'. 27*cf4566a7STreehugger Robot// See: http://go/android-license-faq 28*cf4566a7STreehugger Robotlicense { 29*cf4566a7STreehugger Robot name: "external_junit_license", 30*cf4566a7STreehugger Robot visibility: [":__subpackages__"], 31*cf4566a7STreehugger Robot license_kinds: [ 32*cf4566a7STreehugger Robot "SPDX-license-identifier-EPL", 33*cf4566a7STreehugger Robot ], 34*cf4566a7STreehugger Robot license_text: [ 35*cf4566a7STreehugger Robot "LICENSE-junit.txt", 36*cf4566a7STreehugger Robot "NOTICE.txt", 37*cf4566a7STreehugger Robot ], 38*cf4566a7STreehugger Robot} 39*cf4566a7STreehugger Robot 40*cf4566a7STreehugger Robotjava_library_static { 41*cf4566a7STreehugger Robot name: "junit", 42*cf4566a7STreehugger Robot host_supported: true, 43*cf4566a7STreehugger Robot hostdex: true, 44*cf4566a7STreehugger Robot srcs: ["src/main/java/**/*.java"], 45*cf4566a7STreehugger Robot sdk_version: "core_current", 46*cf4566a7STreehugger Robot static_libs: ["hamcrest"], 47*cf4566a7STreehugger Robot 48*cf4566a7STreehugger Robot // b/267831518: Pin tradefed and dependencies to Java 11. 49*cf4566a7STreehugger Robot java_version: "11", 50*cf4566a7STreehugger Robot 51*cf4566a7STreehugger Robot errorprone: { 52*cf4566a7STreehugger Robot javacflags: ["-Xep:DoNotCall:OFF"] 53*cf4566a7STreehugger Robot } 54*cf4566a7STreehugger Robot} 55*cf4566a7STreehugger Robot 56*cf4566a7STreehugger Robot// Legacy junit-host jar until references are updated 57*cf4566a7STreehugger Robotjava_library_host { 58*cf4566a7STreehugger Robot name: "junit-host", 59*cf4566a7STreehugger Robot static_libs: ["junit"], 60*cf4566a7STreehugger Robot} 61