| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 1 | // Copyright (C) 2020 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 | |
| 15 | package { |
| 16 | default_visibility: ["//visibility:private"], |
| Bob Badour | 051ef78 | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 17 | // See: http://go/android-license-faq |
| 18 | // A large-scale-change added 'default_applicable_licenses' to import |
| 19 | // all of the 'license_kinds' from "frameworks_base_license" |
| 20 | // to get the below license kinds: |
| 21 | // SPDX-license-identifier-Apache-2.0 |
| 22 | // SPDX-license-identifier-MIT |
| 23 | // SPDX-license-identifier-Unicode-DFS |
| 24 | default_applicable_licenses: ["frameworks_base_license"], |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | filegroup { |
| 28 | name: "non-updatable-current.txt", |
| 29 | srcs: ["current.txt"], |
| 30 | visibility: ["//frameworks/base/api"], |
| 31 | } |
| 32 | |
| 33 | filegroup { |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 34 | name: "non-updatable-removed.txt", |
| 35 | srcs: ["removed.txt"], |
| 36 | visibility: ["//frameworks/base/api"], |
| 37 | } |
| 38 | |
| 39 | filegroup { |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 40 | name: "non-updatable-system-current.txt", |
| 41 | srcs: ["system-current.txt"], |
| 42 | visibility: ["//frameworks/base/api"], |
| 43 | } |
| 44 | |
| 45 | filegroup { |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 46 | name: "non-updatable-system-removed.txt", |
| 47 | srcs: ["system-removed.txt"], |
| 48 | visibility: ["//frameworks/base/api"], |
| 49 | } |
| 50 | |
| 51 | filegroup { |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 52 | name: "non-updatable-module-lib-current.txt", |
| 53 | srcs: ["module-lib-current.txt"], |
| Mathew Inwood | 5d6b13a | 2021-04-13 16:47:24 +0100 | [diff] [blame] | 54 | visibility: [ |
| 55 | "//frameworks/base/api", |
| 56 | "//cts/tests/signature/api", |
| 57 | ], |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 58 | } |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 59 | |
| 60 | filegroup { |
| 61 | name: "non-updatable-module-lib-removed.txt", |
| 62 | srcs: ["module-lib-removed.txt"], |
| Mathew Inwood | 5d6b13a | 2021-04-13 16:47:24 +0100 | [diff] [blame] | 63 | visibility: [ |
| 64 | "//frameworks/base/api", |
| 65 | "//cts/tests/signature/api", |
| 66 | ], |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 67 | } |
| Anton Hansson | 519a892 | 2023-03-03 15:25:41 +0000 | [diff] [blame^] | 68 | |
| 69 | java_api_contribution { |
| 70 | name: "api-stubs-docs-non-updatable-public-stubs", |
| 71 | api_surface: "public", |
| 72 | api_file: "current.txt", |
| 73 | visibility: [ |
| 74 | "//build/orchestrator/apis", |
| 75 | ], |
| 76 | } |
| 77 | |
| 78 | java_api_contribution { |
| 79 | name: "frameworks-base-core-api-module-lib-stubs", |
| 80 | api_surface: "module-lib", |
| 81 | api_file: "module-lib-current.txt", |
| 82 | visibility: [ |
| 83 | "//build/orchestrator/apis", |
| 84 | ], |
| 85 | } |