blob: 02562447dc6b7c43428b912ae8f2e40c7f2069f9 [file] [log] [blame]
Anton Hansson85359f62020-09-21 17:02:25 +01001// 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
15package {
16 default_visibility: ["//visibility:private"],
Bob Badour051ef782021-02-12 17:07:05 -080017 // 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 Hansson85359f62020-09-21 17:02:25 +010025}
26
27filegroup {
28 name: "non-updatable-current.txt",
29 srcs: ["current.txt"],
30 visibility: ["//frameworks/base/api"],
31}
32
33filegroup {
Anton Hansson3c1aa112020-09-25 09:13:47 +010034 name: "non-updatable-removed.txt",
35 srcs: ["removed.txt"],
36 visibility: ["//frameworks/base/api"],
37}
38
39filegroup {
Anton Hansson85359f62020-09-21 17:02:25 +010040 name: "non-updatable-system-current.txt",
41 srcs: ["system-current.txt"],
42 visibility: ["//frameworks/base/api"],
43}
44
45filegroup {
Anton Hansson3c1aa112020-09-25 09:13:47 +010046 name: "non-updatable-system-removed.txt",
47 srcs: ["system-removed.txt"],
48 visibility: ["//frameworks/base/api"],
49}
50
51filegroup {
Anton Hansson85359f62020-09-21 17:02:25 +010052 name: "non-updatable-module-lib-current.txt",
53 srcs: ["module-lib-current.txt"],
Mathew Inwood5d6b13a2021-04-13 16:47:24 +010054 visibility: [
55 "//frameworks/base/api",
56 "//cts/tests/signature/api",
57 ],
Anton Hansson85359f62020-09-21 17:02:25 +010058}
Anton Hansson3c1aa112020-09-25 09:13:47 +010059
60filegroup {
61 name: "non-updatable-module-lib-removed.txt",
62 srcs: ["module-lib-removed.txt"],
Mathew Inwood5d6b13a2021-04-13 16:47:24 +010063 visibility: [
64 "//frameworks/base/api",
65 "//cts/tests/signature/api",
66 ],
Anton Hansson3c1aa112020-09-25 09:13:47 +010067}
Anton Hansson519a8922023-03-03 15:25:41 +000068
69java_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
78java_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}