| 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 { |
| Anton Hansson | b7cda92 | 2023-03-03 15:38:28 +0000 | [diff] [blame] | 16 | default_visibility: [ |
| 17 | "//frameworks/base", |
| 18 | "//frameworks/base/api", |
| Jared Duke | 807df5e | 2025-04-08 23:02:46 +0000 | [diff] [blame] | 19 | "//frameworks/base/tools/systemfeatures", |
| Anton Hansson | b7cda92 | 2023-03-03 15:38:28 +0000 | [diff] [blame] | 20 | ], |
| Bob Badour | 051ef78 | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 21 | // See: http://go/android-license-faq |
| 22 | // A large-scale-change added 'default_applicable_licenses' to import |
| 23 | // all of the 'license_kinds' from "frameworks_base_license" |
| 24 | // to get the below license kinds: |
| 25 | // SPDX-license-identifier-Apache-2.0 |
| 26 | // SPDX-license-identifier-MIT |
| 27 | // SPDX-license-identifier-Unicode-DFS |
| 28 | default_applicable_licenses: ["frameworks_base_license"], |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | filegroup { |
| 32 | name: "non-updatable-current.txt", |
| 33 | srcs: ["current.txt"], |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | filegroup { |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 37 | name: "non-updatable-removed.txt", |
| 38 | srcs: ["removed.txt"], |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | filegroup { |
| Adrian Roos | 440f3cf | 2023-09-20 10:03:31 +0000 | [diff] [blame] | 42 | name: "non-updatable-lint-baseline.txt", |
| 43 | srcs: ["lint-baseline.txt"], |
| 44 | } |
| 45 | |
| 46 | filegroup { |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 47 | name: "non-updatable-system-current.txt", |
| 48 | srcs: ["system-current.txt"], |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | filegroup { |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 52 | name: "non-updatable-system-removed.txt", |
| 53 | srcs: ["system-removed.txt"], |
| Anton Hansson | b7cda92 | 2023-03-03 15:38:28 +0000 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | filegroup { |
| 57 | name: "non-updatable-system-lint-baseline.txt", |
| 58 | srcs: ["system-lint-baseline.txt"], |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | filegroup { |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 62 | name: "non-updatable-module-lib-current.txt", |
| 63 | srcs: ["module-lib-current.txt"], |
| Mathew Inwood | 5d6b13a | 2021-04-13 16:47:24 +0100 | [diff] [blame] | 64 | visibility: [ |
| Anton Hansson | b7cda92 | 2023-03-03 15:38:28 +0000 | [diff] [blame] | 65 | "//frameworks/base", |
| Mathew Inwood | 5d6b13a | 2021-04-13 16:47:24 +0100 | [diff] [blame] | 66 | "//frameworks/base/api", |
| Jared Duke | 807df5e | 2025-04-08 23:02:46 +0000 | [diff] [blame] | 67 | "//frameworks/base/tools/systemfeatures", |
| Mathew Inwood | 5d6b13a | 2021-04-13 16:47:24 +0100 | [diff] [blame] | 68 | "//cts/tests/signature/api", |
| 69 | ], |
| Anton Hansson | 85359f6 | 2020-09-21 17:02:25 +0100 | [diff] [blame] | 70 | } |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 71 | |
| 72 | filegroup { |
| 73 | name: "non-updatable-module-lib-removed.txt", |
| 74 | srcs: ["module-lib-removed.txt"], |
| Mathew Inwood | 5d6b13a | 2021-04-13 16:47:24 +0100 | [diff] [blame] | 75 | visibility: [ |
| Anton Hansson | b7cda92 | 2023-03-03 15:38:28 +0000 | [diff] [blame] | 76 | "//frameworks/base", |
| Mathew Inwood | 5d6b13a | 2021-04-13 16:47:24 +0100 | [diff] [blame] | 77 | "//frameworks/base/api", |
| 78 | "//cts/tests/signature/api", |
| 79 | ], |
| Anton Hansson | 3c1aa11 | 2020-09-25 09:13:47 +0100 | [diff] [blame] | 80 | } |
| Anton Hansson | 519a892 | 2023-03-03 15:25:41 +0000 | [diff] [blame] | 81 | |
| Anton Hansson | b7cda92 | 2023-03-03 15:38:28 +0000 | [diff] [blame] | 82 | filegroup { |
| 83 | name: "non-updatable-module-lib-lint-baseline.txt", |
| 84 | srcs: ["module-lib-lint-baseline.txt"], |
| 85 | } |
| 86 | |
| 87 | filegroup { |
| 88 | name: "non-updatable-test-current.txt", |
| 89 | srcs: ["test-current.txt"], |
| 90 | } |
| 91 | |
| 92 | filegroup { |
| 93 | name: "non-updatable-test-removed.txt", |
| 94 | srcs: ["test-removed.txt"], |
| 95 | } |
| 96 | |
| 97 | filegroup { |
| 98 | name: "non-updatable-test-lint-baseline.txt", |
| 99 | srcs: ["test-lint-baseline.txt"], |
| 100 | } |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 101 | |
| 102 | // Exportable stub artifacts |
| 103 | filegroup { |
| 104 | name: "non-updatable-exportable-current.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 105 | device_common_srcs: [":api-stubs-docs-non-updatable{.exportable.api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 106 | } |
| 107 | |
| 108 | filegroup { |
| 109 | name: "non-updatable-exportable-removed.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 110 | device_common_srcs: [":api-stubs-docs-non-updatable{.exportable.removed-api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 111 | } |
| 112 | |
| 113 | filegroup { |
| 114 | name: "non-updatable-exportable-system-current.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 115 | device_common_srcs: [":system-api-stubs-docs-non-updatable{.exportable.api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 116 | } |
| 117 | |
| 118 | filegroup { |
| 119 | name: "non-updatable-exportable-system-removed.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 120 | device_common_srcs: [":system-api-stubs-docs-non-updatable{.exportable.removed-api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 121 | } |
| 122 | |
| 123 | filegroup { |
| 124 | name: "non-updatable-exportable-module-lib-current.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 125 | device_common_srcs: [":module-lib-api-stubs-docs-non-updatable{.exportable.api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 126 | } |
| 127 | |
| 128 | filegroup { |
| 129 | name: "non-updatable-exportable-module-lib-removed.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 130 | device_common_srcs: [":module-lib-api-stubs-docs-non-updatable{.exportable.removed-api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 131 | } |
| 132 | |
| 133 | filegroup { |
| 134 | name: "non-updatable-exportable-test-current.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 135 | device_common_srcs: [":test-api-stubs-docs-non-updatable{.exportable.api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 136 | } |
| 137 | |
| 138 | filegroup { |
| 139 | name: "non-updatable-exportable-test-removed.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 140 | device_common_srcs: [":test-api-stubs-docs-non-updatable{.exportable.removed-api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 141 | } |
| 142 | |
| 143 | filegroup { |
| 144 | name: "non-updatable-exportable-system-server-current.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 145 | device_common_srcs: [":services-non-updatable-stubs{.exportable.api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 146 | } |
| 147 | |
| 148 | filegroup { |
| 149 | name: "non-updatable-exportable-system-server-removed.txt", |
| Cole Faust | 5aeb9fd | 2024-10-22 16:30:57 -0700 | [diff] [blame] | 150 | device_common_srcs: [":services-non-updatable-stubs{.exportable.removed-api.txt}"], |
| Jihoon Kang | 31cf274 | 2024-02-07 19:52:19 +0000 | [diff] [blame] | 151 | } |