| // Copyright (C) 2021 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // This file contains module definitions for compatibility files. |
| |
| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "system_sepolicy_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["system_sepolicy_license"], |
| } |
| |
| se_build_files { |
| name: "29.0.board.compat.map", |
| srcs: [ |
| "compat/29.0/29.0.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "30.0.board.compat.map", |
| srcs: [ |
| "compat/30.0/30.0.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "31.0.board.compat.map", |
| srcs: [ |
| "compat/31.0/31.0.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "32.0.board.compat.map", |
| srcs: [ |
| "compat/32.0/32.0.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "33.0.board.compat.map", |
| srcs: [ |
| "compat/33.0/33.0.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "29.0.board.compat.cil", |
| srcs: [ |
| "compat/29.0/29.0.compat.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "30.0.board.compat.cil", |
| srcs: [ |
| "compat/30.0/30.0.compat.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "31.0.board.compat.cil", |
| srcs: [ |
| "compat/31.0/31.0.compat.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "32.0.board.compat.cil", |
| srcs: [ |
| "compat/32.0/32.0.compat.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "33.0.board.compat.cil", |
| srcs: [ |
| "compat/33.0/33.0.compat.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "29.0.board.ignore.map", |
| srcs: [ |
| "compat/29.0/29.0.ignore.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "30.0.board.ignore.map", |
| srcs: [ |
| "compat/30.0/30.0.ignore.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "31.0.board.ignore.map", |
| srcs: [ |
| "compat/31.0/31.0.ignore.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "32.0.board.ignore.map", |
| srcs: [ |
| "compat/32.0/32.0.ignore.cil", |
| ], |
| } |
| |
| se_build_files { |
| name: "33.0.board.ignore.map", |
| srcs: [ |
| "compat/33.0/33.0.ignore.cil", |
| ], |
| } |
| |
| se_cil_compat_map { |
| name: "plat_29.0.cil", |
| stem: "29.0.cil", |
| bottom_half: [":29.0.board.compat.map{.plat_private}"], |
| top_half: "plat_30.0.cil", |
| version: "29.0", |
| } |
| |
| se_cil_compat_map { |
| name: "plat_30.0.cil", |
| stem: "30.0.cil", |
| bottom_half: [":30.0.board.compat.map{.plat_private}"], |
| top_half: "plat_31.0.cil", |
| version: "30.0", |
| } |
| |
| se_cil_compat_map { |
| name: "plat_31.0.cil", |
| stem: "31.0.cil", |
| bottom_half: [":31.0.board.compat.map{.plat_private}"], |
| top_half: "plat_32.0.cil", |
| version: "31.0", |
| } |
| |
| se_cil_compat_map { |
| name: "plat_32.0.cil", |
| stem: "32.0.cil", |
| bottom_half: [":32.0.board.compat.map{.plat_private}"], |
| top_half: "plat_33.0.cil", |
| version: "32.0", |
| } |
| |
| se_cil_compat_map { |
| name: "plat_33.0.cil", |
| stem: "33.0.cil", |
| bottom_half: [":33.0.board.compat.map{.plat_private}"], |
| top_half: "plat_34.0.cil", |
| version: "33.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_29.0.cil", |
| stem: "29.0.cil", |
| bottom_half: [":29.0.board.compat.map{.system_ext_private}"], |
| top_half: "system_ext_30.0.cil", |
| system_ext_specific: true, |
| version: "29.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_30.0.cil", |
| stem: "30.0.cil", |
| bottom_half: [":30.0.board.compat.map{.system_ext_private}"], |
| top_half: "system_ext_31.0.cil", |
| system_ext_specific: true, |
| version: "30.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_31.0.cil", |
| stem: "31.0.cil", |
| bottom_half: [":31.0.board.compat.map{.system_ext_private}"], |
| top_half: "system_ext_32.0.cil", |
| system_ext_specific: true, |
| version: "31.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_32.0.cil", |
| stem: "32.0.cil", |
| bottom_half: [":32.0.board.compat.map{.system_ext_private}"], |
| top_half: "system_ext_33.0.cil", |
| system_ext_specific: true, |
| version: "32.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_33.0.cil", |
| stem: "33.0.cil", |
| bottom_half: [":33.0.board.compat.map{.system_ext_private}"], |
| system_ext_specific: true, |
| top_half: "system_ext_34.0.cil", |
| version: "33.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_29.0.cil", |
| stem: "29.0.cil", |
| bottom_half: [":29.0.board.compat.map{.product_private}"], |
| top_half: "product_30.0.cil", |
| product_specific: true, |
| version: "29.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_30.0.cil", |
| stem: "30.0.cil", |
| bottom_half: [":30.0.board.compat.map{.product_private}"], |
| top_half: "product_31.0.cil", |
| product_specific: true, |
| version: "30.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_31.0.cil", |
| stem: "31.0.cil", |
| bottom_half: [":31.0.board.compat.map{.product_private}"], |
| top_half: "product_32.0.cil", |
| product_specific: true, |
| version: "31.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_32.0.cil", |
| stem: "32.0.cil", |
| bottom_half: [":32.0.board.compat.map{.product_private}"], |
| top_half: "product_33.0.cil", |
| product_specific: true, |
| version: "32.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_33.0.cil", |
| stem: "33.0.cil", |
| bottom_half: [":33.0.board.compat.map{.product_private}"], |
| product_specific: true, |
| top_half: "product_34.0.cil", |
| version: "33.0", |
| } |
| |
| se_cil_compat_map { |
| name: "29.0.ignore.cil", |
| bottom_half: [":29.0.board.ignore.map{.plat_private}"], |
| top_half: "30.0.ignore.cil", |
| version: "29.0", |
| } |
| |
| se_cil_compat_map { |
| name: "30.0.ignore.cil", |
| bottom_half: [":30.0.board.ignore.map{.plat_private}"], |
| top_half: "31.0.ignore.cil", |
| version: "30.0", |
| } |
| |
| se_cil_compat_map { |
| name: "31.0.ignore.cil", |
| bottom_half: [":31.0.board.ignore.map{.plat_private}"], |
| top_half: "32.0.ignore.cil", |
| version: "31.0", |
| } |
| |
| se_cil_compat_map { |
| name: "32.0.ignore.cil", |
| bottom_half: [":32.0.board.ignore.map{.plat_private}"], |
| top_half: "33.0.ignore.cil", |
| version: "32.0", |
| } |
| |
| se_cil_compat_map { |
| name: "33.0.ignore.cil", |
| bottom_half: [":33.0.board.ignore.map{.plat_private}"], |
| top_half: "34.0.ignore.cil", |
| version: "33.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_30.0.ignore.cil", |
| bottom_half: [":30.0.board.ignore.map{.system_ext_private}"], |
| top_half: "system_ext_31.0.ignore.cil", |
| system_ext_specific: true, |
| version: "30.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_31.0.ignore.cil", |
| bottom_half: [":31.0.board.ignore.map{.system_ext_private}"], |
| top_half: "system_ext_32.0.ignore.cil", |
| system_ext_specific: true, |
| version: "31.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_32.0.ignore.cil", |
| bottom_half: [":32.0.board.ignore.map{.system_ext_private}"], |
| top_half: "system_ext_33.0.ignore.cil", |
| system_ext_specific: true, |
| version: "32.0", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_33.0.ignore.cil", |
| bottom_half: [":33.0.board.ignore.map{.system_ext_private}"], |
| system_ext_specific: true, |
| top_half: "system_ext_34.0.ignore.cil", |
| version: "33.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_30.0.ignore.cil", |
| bottom_half: [":30.0.board.ignore.map{.product_private}"], |
| top_half: "product_31.0.ignore.cil", |
| product_specific: true, |
| version: "30.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_31.0.ignore.cil", |
| bottom_half: [":31.0.board.ignore.map{.product_private}"], |
| top_half: "product_32.0.ignore.cil", |
| product_specific: true, |
| version: "31.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_32.0.ignore.cil", |
| bottom_half: [":32.0.board.ignore.map{.product_private}"], |
| top_half: "product_33.0.ignore.cil", |
| product_specific: true, |
| version: "32.0", |
| } |
| |
| se_cil_compat_map { |
| name: "product_33.0.ignore.cil", |
| bottom_half: [":33.0.board.ignore.map{.product_private}"], |
| product_specific: true, |
| top_half: "product_34.0.ignore.cil", |
| version: "33.0", |
| } |
| |
| se_compat_cil { |
| name: "29.0.compat.cil", |
| srcs: [":29.0.board.compat.cil{.plat_private}"], |
| version: "29.0", |
| } |
| |
| se_compat_cil { |
| name: "30.0.compat.cil", |
| srcs: [":30.0.board.compat.cil{.plat_private}"], |
| version: "30.0", |
| } |
| |
| se_compat_cil { |
| name: "31.0.compat.cil", |
| srcs: [":31.0.board.compat.cil{.plat_private}"], |
| version: "31.0", |
| } |
| |
| se_compat_cil { |
| name: "32.0.compat.cil", |
| srcs: [":32.0.board.compat.cil{.plat_private}"], |
| version: "32.0", |
| } |
| |
| se_compat_cil { |
| name: "33.0.compat.cil", |
| srcs: [":33.0.board.compat.cil{.plat_private}"], |
| version: "33.0", |
| } |
| |
| se_compat_cil { |
| name: "system_ext_29.0.compat.cil", |
| srcs: [":29.0.board.compat.cil{.system_ext_private}"], |
| stem: "29.0.compat.cil", |
| system_ext_specific: true, |
| version: "29.0", |
| } |
| |
| se_compat_cil { |
| name: "system_ext_30.0.compat.cil", |
| srcs: [":30.0.board.compat.cil{.system_ext_private}"], |
| stem: "30.0.compat.cil", |
| system_ext_specific: true, |
| version: "30.0", |
| } |
| |
| se_compat_cil { |
| name: "system_ext_31.0.compat.cil", |
| srcs: [":31.0.board.compat.cil{.system_ext_private}"], |
| stem: "31.0.compat.cil", |
| system_ext_specific: true, |
| version: "31.0", |
| } |
| |
| se_compat_cil { |
| name: "system_ext_32.0.compat.cil", |
| srcs: [":32.0.board.compat.cil{.system_ext_private}"], |
| stem: "32.0.compat.cil", |
| system_ext_specific: true, |
| version: "32.0", |
| } |
| |
| se_compat_cil { |
| name: "system_ext_33.0.compat.cil", |
| srcs: [":33.0.board.compat.cil{.system_ext_private}"], |
| stem: "33.0.compat.cil", |
| system_ext_specific: true, |
| version: "33.0", |
| } |
| |
| se_compat_test { |
| name: "sepolicy_compat_test", |
| defaults: ["se_policy_conf_flags_defaults"], |
| } |
| |
| se_build_files { |
| name: "34.0.board.compat.map", |
| srcs: ["compat/34.0/34.0.cil"], |
| } |
| |
| se_build_files { |
| name: "34.0.board.compat.cil", |
| srcs: ["compat/34.0/34.0.compat.cil"], |
| } |
| |
| se_build_files { |
| name: "34.0.board.ignore.map", |
| srcs: ["compat/34.0/34.0.ignore.cil"], |
| } |
| |
| se_cil_compat_map { |
| name: "plat_34.0.cil", |
| stem: "34.0.cil", |
| bottom_half: [":34.0.board.compat.map{.plat_private}"], |
| version: "34.0", |
| top_half: "plat_202404.cil", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_34.0.cil", |
| stem: "34.0.cil", |
| bottom_half: [":34.0.board.compat.map{.system_ext_private}"], |
| system_ext_specific: true, |
| version: "34.0", |
| top_half: "system_ext_202404.cil", |
| } |
| |
| se_cil_compat_map { |
| name: "product_34.0.cil", |
| stem: "34.0.cil", |
| bottom_half: [":34.0.board.compat.map{.product_private}"], |
| product_specific: true, |
| version: "34.0", |
| top_half: "product_202404.cil", |
| } |
| |
| se_cil_compat_map { |
| name: "34.0.ignore.cil", |
| bottom_half: [":34.0.board.ignore.map{.plat_private}"], |
| version: "34.0", |
| top_half: "202404.ignore.cil", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_34.0.ignore.cil", |
| stem: "34.0.ignore.cil", |
| bottom_half: [":34.0.board.ignore.map{.system_ext_private}"], |
| system_ext_specific: true, |
| version: "34.0", |
| top_half: "system_ext_202404.ignore.cil", |
| } |
| |
| se_cil_compat_map { |
| name: "product_34.0.ignore.cil", |
| stem: "34.0.ignore.cil", |
| bottom_half: [":34.0.board.ignore.map{.product_private}"], |
| product_specific: true, |
| version: "34.0", |
| top_half: "product_202404.ignore.cil", |
| } |
| |
| se_compat_cil { |
| name: "34.0.compat.cil", |
| srcs: [":34.0.board.compat.cil{.plat_private}"], |
| version: "34.0", |
| } |
| |
| se_compat_cil { |
| name: "system_ext_34.0.compat.cil", |
| stem: "34.0.compat.cil", |
| srcs: [":34.0.board.compat.cil{.system_ext_private}"], |
| system_ext_specific: true, |
| version: "34.0", |
| } |
| |
| se_build_files { |
| name: "202404.board.compat.map", |
| srcs: ["compat/202404/202404.cil"], |
| } |
| |
| se_build_files { |
| name: "202404.board.compat.cil", |
| srcs: ["compat/202404/202404.compat.cil"], |
| } |
| |
| se_build_files { |
| name: "202404.board.ignore.map", |
| srcs: ["compat/202404/202404.ignore.cil"], |
| } |
| |
| se_cil_compat_map { |
| name: "plat_202404.cil", |
| stem: "202404.cil", |
| bottom_half: [":202404.board.compat.map{.plat_private}"], |
| version: "202404", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_202404.cil", |
| stem: "202404.cil", |
| bottom_half: [":202404.board.compat.map{.system_ext_private}"], |
| system_ext_specific: true, |
| version: "202404", |
| } |
| |
| se_cil_compat_map { |
| name: "product_202404.cil", |
| stem: "202404.cil", |
| bottom_half: [":202404.board.compat.map{.product_private}"], |
| product_specific: true, |
| version: "202404", |
| } |
| |
| se_cil_compat_map { |
| name: "202404.ignore.cil", |
| bottom_half: [":202404.board.ignore.map{.plat_private}"], |
| version: "202404", |
| } |
| |
| se_cil_compat_map { |
| name: "system_ext_202404.ignore.cil", |
| stem: "202404.ignore.cil", |
| bottom_half: [":202404.board.ignore.map{.system_ext_private}"], |
| system_ext_specific: true, |
| version: "202404", |
| } |
| |
| se_cil_compat_map { |
| name: "product_202404.ignore.cil", |
| stem: "202404.ignore.cil", |
| bottom_half: [":202404.board.ignore.map{.product_private}"], |
| product_specific: true, |
| version: "202404", |
| } |
| |
| se_compat_cil { |
| name: "202404.compat.cil", |
| srcs: [":202404.board.compat.cil{.plat_private}"], |
| version: "202404", |
| } |
| |
| se_compat_cil { |
| name: "system_ext_202404.compat.cil", |
| stem: "202404.compat.cil", |
| srcs: [":202404.board.compat.cil{.system_ext_private}"], |
| system_ext_specific: true, |
| version: "202404", |
| } |