Paul Duffin | c241d6a | 2019-06-25 15:40:29 +0100 | [diff] [blame] | 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 | |
Bob Badour | 4f70e80 | 2021-02-03 19:03:54 -0800 | [diff] [blame] | 15 | package { |
| 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 | |
Paul Duffin | c241d6a | 2019-06-25 15:40:29 +0100 | [diff] [blame] | 28 | expectations_visibility = [ |
Paul Duffin | 8d01a55 | 2020-03-25 12:02:54 +0000 | [diff] [blame] | 29 | "//art/build/sdk", |
Paul Duffin | c241d6a | 2019-06-25 15:40:29 +0100 | [diff] [blame] | 30 | "//cts/tests/libcore:__subpackages__", |
| 31 | ] |
| 32 | |
Paul Duffin | e610e43 | 2020-03-25 11:53:22 +0000 | [diff] [blame] | 33 | java_library { |
| 34 | name: "libcore-expectations-knownfailures-jar", |
Paul Duffin | c241d6a | 2019-06-25 15:40:29 +0100 | [diff] [blame] | 35 | visibility: expectations_visibility, |
Paul Duffin | e610e43 | 2020-03-25 11:53:22 +0000 | [diff] [blame] | 36 | java_resources: ["knownfailures.txt"], |
| 37 | sdk_version: "core_current", |
Sasha Smundak | 69a435b | 2019-04-05 16:13:00 -0700 | [diff] [blame] | 38 | } |
| 39 | |
Paul Duffin | e610e43 | 2020-03-25 11:53:22 +0000 | [diff] [blame] | 40 | java_library { |
| 41 | name: "libcore-expectations-virtualdeviceknownfailures-jar", |
Paul Duffin | c241d6a | 2019-06-25 15:40:29 +0100 | [diff] [blame] | 42 | visibility: expectations_visibility, |
Paul Duffin | e610e43 | 2020-03-25 11:53:22 +0000 | [diff] [blame] | 43 | java_resources: ["virtualdeviceknownfailures.txt"], |
| 44 | sdk_version: "core_current", |
Sasha Smundak | 69a435b | 2019-04-05 16:13:00 -0700 | [diff] [blame] | 45 | } |