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