1// Copyright (C) 2023 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 15se_policy_conf { 16 name: "31.0_reqd_policy_mask.conf", 17 defaults: ["se_policy_conf_flags_defaults"], 18 srcs: reqd_mask_policy, 19 installable: false, 20 build_variant: "user", 21 board_api_level: "31", 22} 23 24se_policy_cil { 25 name: "31.0_reqd_policy_mask.cil", 26 src: ":31.0_reqd_policy_mask.conf", 27 secilc_check: false, 28 installable: false, 29} 30 31se_policy_conf { 32 name: "31.0_plat_pub_policy.conf", 33 defaults: ["se_policy_conf_flags_defaults"], 34 srcs: [ 35 ":se_build_files{.plat_public_31.0}", 36 ":se_build_files{.reqd_mask}", 37 ], 38 installable: false, 39 build_variant: "user", 40 board_api_level: "31", 41} 42 43se_policy_cil { 44 name: "31.0_plat_pub_policy.cil", 45 src: ":31.0_plat_pub_policy.conf", 46 filter_out: [":31.0_reqd_policy_mask.cil"], 47 secilc_check: false, 48 installable: false, 49} 50 51se_policy_conf { 52 name: "31.0_product_pub_policy.conf", 53 defaults: ["se_policy_conf_flags_defaults"], 54 srcs: [ 55 ":se_build_files{.plat_public_31.0}", 56 ":se_build_files{.system_ext_public_31.0}", 57 ":se_build_files{.product_public_31.0}", 58 ":se_build_files{.reqd_mask}", 59 ], 60 installable: false, 61 build_variant: "user", 62 board_api_level: "31", 63} 64 65se_policy_cil { 66 name: "31.0_product_pub_policy.cil", 67 src: ":31.0_product_pub_policy.conf", 68 filter_out: [":31.0_reqd_policy_mask.cil"], 69 secilc_check: false, 70 installable: false, 71} 72 73se_versioned_policy { 74 name: "31.0_plat_pub_versioned.cil", 75 base: ":31.0_product_pub_policy.cil", 76 target_policy: ":31.0_product_pub_policy.cil", 77 version: "31.0", 78 installable: false, 79} 80 81se_policy_conf { 82 name: "31.0_plat_policy.conf", 83 defaults: ["se_policy_conf_flags_defaults"], 84 srcs: [ 85 ":se_build_files{.plat_public_31.0}", 86 ":se_build_files{.plat_private_31.0}", 87 ":se_build_files{.system_ext_public_31.0}", 88 ":se_build_files{.system_ext_private_31.0}", 89 ":se_build_files{.product_public_31.0}", 90 ":se_build_files{.product_private_31.0}", 91 ], 92 installable: false, 93 build_variant: "user", 94 board_api_level: "31", 95} 96 97se_policy_cil { 98 name: "31.0_plat_policy.cil", 99 src: ":31.0_plat_policy.conf", 100 additional_cil_files: [":sepolicy_technical_debt{.plat_private_31.0}"], 101 installable: false, 102} 103 104se_policy_binary { 105 name: "31.0_plat_policy", 106 srcs: [":31.0_plat_policy.cil"], 107 installable: false, 108 dist: { 109 targets: ["base-sepolicy-files-for-mapping"], 110 }, 111} 112