xref: /aosp_15_r20/frameworks/base/core/api/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
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
15package {
16    default_visibility: [
17        "//frameworks/base",
18        "//frameworks/base/api",
19    ],
20    // See: http://go/android-license-faq
21    // A large-scale-change added 'default_applicable_licenses' to import
22    // all of the 'license_kinds' from "frameworks_base_license"
23    // to get the below license kinds:
24    //   SPDX-license-identifier-Apache-2.0
25    //   SPDX-license-identifier-MIT
26    //   SPDX-license-identifier-Unicode-DFS
27    default_applicable_licenses: ["frameworks_base_license"],
28}
29
30filegroup {
31    name: "non-updatable-current.txt",
32    srcs: ["current.txt"],
33}
34
35filegroup {
36    name: "non-updatable-removed.txt",
37    srcs: ["removed.txt"],
38}
39
40filegroup {
41    name: "non-updatable-lint-baseline.txt",
42    srcs: ["lint-baseline.txt"],
43}
44
45filegroup {
46    name: "non-updatable-system-current.txt",
47    srcs: ["system-current.txt"],
48}
49
50filegroup {
51    name: "non-updatable-system-removed.txt",
52    srcs: ["system-removed.txt"],
53}
54
55filegroup {
56    name: "non-updatable-system-lint-baseline.txt",
57    srcs: ["system-lint-baseline.txt"],
58}
59
60filegroup {
61    name: "non-updatable-module-lib-current.txt",
62    srcs: ["module-lib-current.txt"],
63    visibility: [
64        "//frameworks/base",
65        "//frameworks/base/api",
66        "//cts/tests/signature/api",
67    ],
68}
69
70filegroup {
71    name: "non-updatable-module-lib-removed.txt",
72    srcs: ["module-lib-removed.txt"],
73    visibility: [
74        "//frameworks/base",
75        "//frameworks/base/api",
76        "//cts/tests/signature/api",
77    ],
78}
79
80filegroup {
81    name: "non-updatable-module-lib-lint-baseline.txt",
82    srcs: ["module-lib-lint-baseline.txt"],
83}
84
85filegroup {
86    name: "non-updatable-test-current.txt",
87    srcs: ["test-current.txt"],
88}
89
90filegroup {
91    name: "non-updatable-test-removed.txt",
92    srcs: ["test-removed.txt"],
93}
94
95filegroup {
96    name: "non-updatable-test-lint-baseline.txt",
97    srcs: ["test-lint-baseline.txt"],
98}
99
100// Exportable stub artifacts
101filegroup {
102    name: "non-updatable-exportable-current.txt",
103    device_common_srcs: [":api-stubs-docs-non-updatable{.exportable.api.txt}"],
104}
105
106filegroup {
107    name: "non-updatable-exportable-removed.txt",
108    device_common_srcs: [":api-stubs-docs-non-updatable{.exportable.removed-api.txt}"],
109}
110
111filegroup {
112    name: "non-updatable-exportable-system-current.txt",
113    device_common_srcs: [":system-api-stubs-docs-non-updatable{.exportable.api.txt}"],
114}
115
116filegroup {
117    name: "non-updatable-exportable-system-removed.txt",
118    device_common_srcs: [":system-api-stubs-docs-non-updatable{.exportable.removed-api.txt}"],
119}
120
121filegroup {
122    name: "non-updatable-exportable-module-lib-current.txt",
123    device_common_srcs: [":module-lib-api-stubs-docs-non-updatable{.exportable.api.txt}"],
124}
125
126filegroup {
127    name: "non-updatable-exportable-module-lib-removed.txt",
128    device_common_srcs: [":module-lib-api-stubs-docs-non-updatable{.exportable.removed-api.txt}"],
129}
130
131filegroup {
132    name: "non-updatable-exportable-test-current.txt",
133    device_common_srcs: [":test-api-stubs-docs-non-updatable{.exportable.api.txt}"],
134}
135
136filegroup {
137    name: "non-updatable-exportable-test-removed.txt",
138    device_common_srcs: [":test-api-stubs-docs-non-updatable{.exportable.removed-api.txt}"],
139}
140
141filegroup {
142    name: "non-updatable-exportable-system-server-current.txt",
143    device_common_srcs: [":services-non-updatable-stubs{.exportable.api.txt}"],
144}
145
146filegroup {
147    name: "non-updatable-exportable-system-server-removed.txt",
148    device_common_srcs: [":services-non-updatable-stubs{.exportable.removed-api.txt}"],
149}
150