Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 1 | // Copyright (C) 2021 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 | // This file contains module definitions for compatibility files. |
| 16 | |
Bob Badour | 048e48c | 2022-01-05 11:14:44 -0800 | [diff] [blame] | 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "system_sepolicy_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["system_sepolicy_license"], |
| 24 | } |
| 25 | |
Inseob Kim | 79fdbeb | 2022-08-12 22:27:35 +0900 | [diff] [blame] | 26 | se_build_files { |
Inseob Kim | 79fdbeb | 2022-08-12 22:27:35 +0900 | [diff] [blame] | 27 | name: "29.0.board.compat.map", |
| 28 | srcs: [ |
| 29 | "compat/29.0/29.0.cil", |
| 30 | ], |
| 31 | } |
| 32 | |
| 33 | se_build_files { |
| 34 | name: "30.0.board.compat.map", |
| 35 | srcs: [ |
| 36 | "compat/30.0/30.0.cil", |
| 37 | ], |
| 38 | } |
| 39 | |
| 40 | se_build_files { |
| 41 | name: "31.0.board.compat.map", |
| 42 | srcs: [ |
| 43 | "compat/31.0/31.0.cil", |
| 44 | ], |
| 45 | } |
| 46 | |
| 47 | se_build_files { |
| 48 | name: "32.0.board.compat.map", |
| 49 | srcs: [ |
| 50 | "compat/32.0/32.0.cil", |
| 51 | ], |
| 52 | } |
| 53 | |
| 54 | se_build_files { |
| 55 | name: "33.0.board.compat.map", |
| 56 | srcs: [ |
| 57 | "compat/33.0/33.0.cil", |
| 58 | ], |
| 59 | } |
| 60 | |
| 61 | se_build_files { |
Inseob Kim | 79fdbeb | 2022-08-12 22:27:35 +0900 | [diff] [blame] | 62 | name: "29.0.board.compat.cil", |
| 63 | srcs: [ |
| 64 | "compat/29.0/29.0.compat.cil", |
| 65 | ], |
| 66 | } |
| 67 | |
| 68 | se_build_files { |
| 69 | name: "30.0.board.compat.cil", |
| 70 | srcs: [ |
| 71 | "compat/30.0/30.0.compat.cil", |
| 72 | ], |
| 73 | } |
| 74 | |
| 75 | se_build_files { |
| 76 | name: "31.0.board.compat.cil", |
| 77 | srcs: [ |
| 78 | "compat/31.0/31.0.compat.cil", |
| 79 | ], |
| 80 | } |
| 81 | |
| 82 | se_build_files { |
| 83 | name: "32.0.board.compat.cil", |
| 84 | srcs: [ |
| 85 | "compat/32.0/32.0.compat.cil", |
| 86 | ], |
| 87 | } |
| 88 | |
| 89 | se_build_files { |
| 90 | name: "33.0.board.compat.cil", |
| 91 | srcs: [ |
| 92 | "compat/33.0/33.0.compat.cil", |
| 93 | ], |
| 94 | } |
| 95 | |
| 96 | se_build_files { |
Inseob Kim | 79fdbeb | 2022-08-12 22:27:35 +0900 | [diff] [blame] | 97 | name: "29.0.board.ignore.map", |
| 98 | srcs: [ |
| 99 | "compat/29.0/29.0.ignore.cil", |
| 100 | ], |
| 101 | } |
| 102 | |
| 103 | se_build_files { |
| 104 | name: "30.0.board.ignore.map", |
| 105 | srcs: [ |
| 106 | "compat/30.0/30.0.ignore.cil", |
| 107 | ], |
| 108 | } |
| 109 | |
| 110 | se_build_files { |
| 111 | name: "31.0.board.ignore.map", |
| 112 | srcs: [ |
| 113 | "compat/31.0/31.0.ignore.cil", |
| 114 | ], |
| 115 | } |
| 116 | |
| 117 | se_build_files { |
| 118 | name: "32.0.board.ignore.map", |
| 119 | srcs: [ |
| 120 | "compat/32.0/32.0.ignore.cil", |
| 121 | ], |
| 122 | } |
| 123 | |
| 124 | se_build_files { |
| 125 | name: "33.0.board.ignore.map", |
| 126 | srcs: [ |
| 127 | "compat/33.0/33.0.ignore.cil", |
| 128 | ], |
| 129 | } |
| 130 | |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 131 | se_cil_compat_map { |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 132 | name: "plat_29.0.cil", |
| 133 | stem: "29.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 134 | bottom_half: [":29.0.board.compat.map{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 135 | top_half: "plat_30.0.cil", |
| 136 | } |
| 137 | |
| 138 | se_cil_compat_map { |
| 139 | name: "plat_30.0.cil", |
| 140 | stem: "30.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 141 | bottom_half: [":30.0.board.compat.map{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 142 | top_half: "plat_31.0.cil", |
| 143 | } |
| 144 | |
| 145 | se_cil_compat_map { |
| 146 | name: "plat_31.0.cil", |
| 147 | stem: "31.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 148 | bottom_half: [":31.0.board.compat.map{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 149 | top_half: "plat_32.0.cil", |
| 150 | } |
| 151 | |
| 152 | se_cil_compat_map { |
| 153 | name: "plat_32.0.cil", |
| 154 | stem: "32.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 155 | bottom_half: [":32.0.board.compat.map{.plat_private}"], |
Inseob Kim | 4ae0511 | 2022-05-02 14:03:46 +0900 | [diff] [blame] | 156 | top_half: "plat_33.0.cil", |
| 157 | } |
| 158 | |
| 159 | se_cil_compat_map { |
| 160 | name: "plat_33.0.cil", |
| 161 | stem: "33.0.cil", |
| 162 | bottom_half: [":33.0.board.compat.map{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 163 | } |
| 164 | |
| 165 | se_cil_compat_map { |
| 166 | name: "system_ext_29.0.cil", |
| 167 | stem: "29.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 168 | bottom_half: [":29.0.board.compat.map{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 169 | top_half: "system_ext_30.0.cil", |
| 170 | system_ext_specific: true, |
| 171 | } |
| 172 | |
| 173 | se_cil_compat_map { |
| 174 | name: "system_ext_30.0.cil", |
| 175 | stem: "30.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 176 | bottom_half: [":30.0.board.compat.map{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 177 | top_half: "system_ext_31.0.cil", |
| 178 | system_ext_specific: true, |
| 179 | } |
| 180 | |
| 181 | se_cil_compat_map { |
| 182 | name: "system_ext_31.0.cil", |
| 183 | stem: "31.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 184 | bottom_half: [":31.0.board.compat.map{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 185 | top_half: "system_ext_32.0.cil", |
| 186 | system_ext_specific: true, |
| 187 | } |
| 188 | |
| 189 | se_cil_compat_map { |
| 190 | name: "system_ext_32.0.cil", |
| 191 | stem: "32.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 192 | bottom_half: [":32.0.board.compat.map{.system_ext_private}"], |
Inseob Kim | 4ae0511 | 2022-05-02 14:03:46 +0900 | [diff] [blame] | 193 | top_half: "system_ext_33.0.cil", |
| 194 | system_ext_specific: true, |
| 195 | } |
| 196 | |
| 197 | se_cil_compat_map { |
| 198 | name: "system_ext_33.0.cil", |
| 199 | stem: "33.0.cil", |
| 200 | bottom_half: [":33.0.board.compat.map{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 201 | system_ext_specific: true, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 202 | } |
| 203 | |
| 204 | se_cil_compat_map { |
| 205 | name: "product_29.0.cil", |
| 206 | stem: "29.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 207 | bottom_half: [":29.0.board.compat.map{.product_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 208 | top_half: "product_30.0.cil", |
| 209 | product_specific: true, |
| 210 | } |
| 211 | |
| 212 | se_cil_compat_map { |
| 213 | name: "product_30.0.cil", |
| 214 | stem: "30.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 215 | bottom_half: [":30.0.board.compat.map{.product_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 216 | top_half: "product_31.0.cil", |
| 217 | product_specific: true, |
| 218 | } |
| 219 | |
| 220 | se_cil_compat_map { |
| 221 | name: "product_31.0.cil", |
| 222 | stem: "31.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 223 | bottom_half: [":31.0.board.compat.map{.product_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 224 | top_half: "product_32.0.cil", |
| 225 | product_specific: true, |
| 226 | } |
| 227 | |
| 228 | se_cil_compat_map { |
| 229 | name: "product_32.0.cil", |
| 230 | stem: "32.0.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 231 | bottom_half: [":32.0.board.compat.map{.product_private}"], |
Inseob Kim | 4ae0511 | 2022-05-02 14:03:46 +0900 | [diff] [blame] | 232 | top_half: "product_33.0.cil", |
| 233 | product_specific: true, |
| 234 | } |
| 235 | |
| 236 | se_cil_compat_map { |
| 237 | name: "product_33.0.cil", |
| 238 | stem: "33.0.cil", |
| 239 | bottom_half: [":33.0.board.compat.map{.product_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 240 | product_specific: true, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 241 | } |
| 242 | |
| 243 | se_cil_compat_map { |
| 244 | name: "29.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 245 | bottom_half: [":29.0.board.ignore.map{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 246 | top_half: "30.0.ignore.cil", |
| 247 | } |
| 248 | |
| 249 | se_cil_compat_map { |
| 250 | name: "30.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 251 | bottom_half: [":30.0.board.ignore.map{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 252 | top_half: "31.0.ignore.cil", |
| 253 | } |
| 254 | |
| 255 | se_cil_compat_map { |
| 256 | name: "31.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 257 | bottom_half: [":31.0.board.ignore.map{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 258 | top_half: "32.0.ignore.cil", |
| 259 | } |
| 260 | |
| 261 | se_cil_compat_map { |
| 262 | name: "32.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 263 | bottom_half: [":32.0.board.ignore.map{.plat_private}"], |
Inseob Kim | 4ae0511 | 2022-05-02 14:03:46 +0900 | [diff] [blame] | 264 | top_half: "33.0.ignore.cil", |
| 265 | } |
| 266 | |
| 267 | se_cil_compat_map { |
| 268 | name: "33.0.ignore.cil", |
| 269 | bottom_half: [":33.0.board.ignore.map{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 270 | } |
| 271 | |
| 272 | se_cil_compat_map { |
| 273 | name: "system_ext_30.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 274 | bottom_half: [":30.0.board.ignore.map{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 275 | top_half: "system_ext_31.0.ignore.cil", |
| 276 | system_ext_specific: true, |
| 277 | } |
| 278 | |
| 279 | se_cil_compat_map { |
| 280 | name: "system_ext_31.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 281 | bottom_half: [":31.0.board.ignore.map{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 282 | top_half: "system_ext_32.0.ignore.cil", |
| 283 | system_ext_specific: true, |
| 284 | } |
| 285 | |
| 286 | se_cil_compat_map { |
| 287 | name: "system_ext_32.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 288 | bottom_half: [":32.0.board.ignore.map{.system_ext_private}"], |
Inseob Kim | 4ae0511 | 2022-05-02 14:03:46 +0900 | [diff] [blame] | 289 | top_half: "system_ext_33.0.ignore.cil", |
| 290 | system_ext_specific: true, |
| 291 | } |
| 292 | |
| 293 | se_cil_compat_map { |
| 294 | name: "system_ext_33.0.ignore.cil", |
| 295 | bottom_half: [":33.0.board.ignore.map{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 296 | system_ext_specific: true, |
| 297 | } |
| 298 | |
| 299 | se_cil_compat_map { |
| 300 | name: "product_30.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 301 | bottom_half: [":30.0.board.ignore.map{.product_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 302 | top_half: "product_31.0.ignore.cil", |
| 303 | product_specific: true, |
| 304 | } |
| 305 | |
| 306 | se_cil_compat_map { |
| 307 | name: "product_31.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 308 | bottom_half: [":31.0.board.ignore.map{.product_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 309 | top_half: "product_32.0.ignore.cil", |
| 310 | product_specific: true, |
| 311 | } |
| 312 | |
| 313 | se_cil_compat_map { |
| 314 | name: "product_32.0.ignore.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 315 | bottom_half: [":32.0.board.ignore.map{.product_private}"], |
Inseob Kim | 4ae0511 | 2022-05-02 14:03:46 +0900 | [diff] [blame] | 316 | top_half: "product_33.0.ignore.cil", |
| 317 | product_specific: true, |
| 318 | } |
| 319 | |
| 320 | se_cil_compat_map { |
| 321 | name: "product_33.0.ignore.cil", |
| 322 | bottom_half: [":33.0.board.ignore.map{.product_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 323 | product_specific: true, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 324 | } |
| 325 | |
| 326 | se_compat_cil { |
| 327 | name: "29.0.compat.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 328 | srcs: [":29.0.board.compat.cil{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 329 | } |
| 330 | |
| 331 | se_compat_cil { |
| 332 | name: "30.0.compat.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 333 | srcs: [":30.0.board.compat.cil{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 334 | } |
| 335 | |
| 336 | se_compat_cil { |
| 337 | name: "31.0.compat.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 338 | srcs: [":31.0.board.compat.cil{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 339 | } |
| 340 | |
| 341 | se_compat_cil { |
| 342 | name: "32.0.compat.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 343 | srcs: [":32.0.board.compat.cil{.plat_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 344 | } |
| 345 | |
| 346 | se_compat_cil { |
Inseob Kim | 4ae0511 | 2022-05-02 14:03:46 +0900 | [diff] [blame] | 347 | name: "33.0.compat.cil", |
| 348 | srcs: [":33.0.board.compat.cil{.plat_private}"], |
| 349 | } |
| 350 | |
| 351 | se_compat_cil { |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 352 | name: "system_ext_29.0.compat.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 353 | srcs: [":29.0.board.compat.cil{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 354 | stem: "29.0.compat.cil", |
| 355 | system_ext_specific: true, |
| 356 | } |
| 357 | |
| 358 | se_compat_cil { |
| 359 | name: "system_ext_30.0.compat.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 360 | srcs: [":30.0.board.compat.cil{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 361 | stem: "30.0.compat.cil", |
| 362 | system_ext_specific: true, |
| 363 | } |
| 364 | |
| 365 | se_compat_cil { |
| 366 | name: "system_ext_31.0.compat.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 367 | srcs: [":31.0.board.compat.cil{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 368 | stem: "31.0.compat.cil", |
| 369 | system_ext_specific: true, |
| 370 | } |
| 371 | |
| 372 | se_compat_cil { |
| 373 | name: "system_ext_32.0.compat.cil", |
Inseob Kim | 4196403 | 2022-04-22 07:50:22 +0900 | [diff] [blame] | 374 | srcs: [":32.0.board.compat.cil{.system_ext_private}"], |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 375 | stem: "32.0.compat.cil", |
| 376 | system_ext_specific: true, |
| 377 | } |
Inseob Kim | 16d3be3 | 2022-01-07 09:15:27 +0900 | [diff] [blame] | 378 | |
Inseob Kim | 4ae0511 | 2022-05-02 14:03:46 +0900 | [diff] [blame] | 379 | se_compat_cil { |
| 380 | name: "system_ext_33.0.compat.cil", |
| 381 | srcs: [":33.0.board.compat.cil{.system_ext_private}"], |
| 382 | stem: "33.0.compat.cil", |
| 383 | system_ext_specific: true, |
| 384 | } |
| 385 | |
Inseob Kim | 16d3be3 | 2022-01-07 09:15:27 +0900 | [diff] [blame] | 386 | se_compat_test { |
| 387 | name: "sepolicy_compat_test", |
| 388 | } |