1// Copyright (C) 2019 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 // http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // the below license kinds from "libcore_license": 19 // SPDX-license-identifier-Apache-2.0 20 // SPDX-license-identifier-GPL 21 // SPDX-license-identifier-GPL-2.0 22 // SPDX-license-identifier-LGPL 23 // SPDX-license-identifier-MIT 24 // SPDX-license-identifier-W3C 25 default_applicable_licenses: ["libcore_license"], 26} 27 28expectations_visibility = [ 29 "//art/build/sdk", 30 "//cts/tests/libcore:__subpackages__", 31] 32 33java_library { 34 name: "libcore-expectations-knownfailures-jar", 35 visibility: expectations_visibility, 36 java_resources: [ 37 "knownfailures.txt", 38 "skippedCtsTest.txt", 39 ], 40 sdk_version: "core_current", 41 // Make sure that this will be added to the sdk snapshot for S. 42 min_sdk_version: "S", 43} 44 45java_library { 46 name: "libcore-expectations-virtualdeviceknownfailures-jar", 47 visibility: expectations_visibility, 48 java_resources: ["virtualdeviceknownfailures.txt"], 49 sdk_version: "core_current", 50 // Make sure that this will be added to the sdk snapshot for S. 51 min_sdk_version: "S", 52} 53 54java_library_host { 55 name: "skippedCtsTest-manual-base-jar", 56 java_resources: ["skippedCtsTest_manual_base.txt"], 57 visibility: ["//libcore/tools/non-cts-json-generator"], 58} 59