Inseob Kim | 36d9d39 | 2023-09-04 17:40:03 +0900 | [diff] [blame] | 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 | |
| 15 | se_policy_conf { |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 16 | name: "32.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: "32", |
| 22 | } |
| 23 | |
| 24 | se_policy_cil { |
| 25 | name: "32.0_reqd_policy_mask.cil", |
| 26 | src: ":32.0_reqd_policy_mask.conf", |
| 27 | secilc_check: false, |
| 28 | installable: false, |
| 29 | } |
| 30 | |
| 31 | se_policy_conf { |
Inseob Kim | 36d9d39 | 2023-09-04 17:40:03 +0900 | [diff] [blame] | 32 | name: "32.0_plat_pub_policy.conf", |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 33 | defaults: ["se_policy_conf_flags_defaults"], |
Inseob Kim | ff2018f | 2024-04-17 09:48:43 +0900 | [diff] [blame] | 34 | srcs: [ |
| 35 | ":se_build_files{.plat_public_32.0}", |
| 36 | ":se_build_files{.reqd_mask}", |
| 37 | ], |
Inseob Kim | 36d9d39 | 2023-09-04 17:40:03 +0900 | [diff] [blame] | 38 | installable: false, |
| 39 | build_variant: "user", |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 40 | board_api_level: "32", |
Inseob Kim | 36d9d39 | 2023-09-04 17:40:03 +0900 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | se_policy_cil { |
| 44 | name: "32.0_plat_pub_policy.cil", |
| 45 | src: ":32.0_plat_pub_policy.conf", |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 46 | filter_out: [":32.0_reqd_policy_mask.cil"], |
Inseob Kim | 36d9d39 | 2023-09-04 17:40:03 +0900 | [diff] [blame] | 47 | secilc_check: false, |
| 48 | installable: false, |
| 49 | } |
Inseob Kim | 5d7423f | 2023-09-06 14:39:49 +0900 | [diff] [blame] | 50 | |
| 51 | se_policy_conf { |
Inseob Kim | 2aac335 | 2023-09-08 10:44:49 +0900 | [diff] [blame] | 52 | name: "32.0_product_pub_policy.conf", |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 53 | defaults: ["se_policy_conf_flags_defaults"], |
Inseob Kim | 2aac335 | 2023-09-08 10:44:49 +0900 | [diff] [blame] | 54 | srcs: [ |
| 55 | ":se_build_files{.plat_public_32.0}", |
| 56 | ":se_build_files{.system_ext_public_32.0}", |
| 57 | ":se_build_files{.product_public_32.0}", |
| 58 | ":se_build_files{.reqd_mask}", |
| 59 | ], |
| 60 | installable: false, |
| 61 | build_variant: "user", |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 62 | board_api_level: "32", |
Inseob Kim | 2aac335 | 2023-09-08 10:44:49 +0900 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | se_policy_cil { |
| 66 | name: "32.0_product_pub_policy.cil", |
| 67 | src: ":32.0_product_pub_policy.conf", |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 68 | filter_out: [":32.0_reqd_policy_mask.cil"], |
Inseob Kim | 2aac335 | 2023-09-08 10:44:49 +0900 | [diff] [blame] | 69 | secilc_check: false, |
| 70 | installable: false, |
| 71 | } |
| 72 | |
Inseob Kim | 10f0450 | 2024-07-18 10:26:43 +0900 | [diff] [blame] | 73 | se_versioned_policy { |
| 74 | name: "32.0_plat_pub_versioned.cil", |
| 75 | base: ":32.0_product_pub_policy.cil", |
| 76 | target_policy: ":32.0_product_pub_policy.cil", |
| 77 | version: "32.0", |
| 78 | installable: false, |
| 79 | } |
| 80 | |
Inseob Kim | 2aac335 | 2023-09-08 10:44:49 +0900 | [diff] [blame] | 81 | se_policy_conf { |
Inseob Kim | 5d7423f | 2023-09-06 14:39:49 +0900 | [diff] [blame] | 82 | name: "32.0_plat_policy.conf", |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 83 | defaults: ["se_policy_conf_flags_defaults"], |
Inseob Kim | 5d7423f | 2023-09-06 14:39:49 +0900 | [diff] [blame] | 84 | srcs: [ |
| 85 | ":se_build_files{.plat_public_32.0}", |
| 86 | ":se_build_files{.plat_private_32.0}", |
| 87 | ":se_build_files{.system_ext_public_32.0}", |
| 88 | ":se_build_files{.system_ext_private_32.0}", |
| 89 | ":se_build_files{.product_public_32.0}", |
| 90 | ":se_build_files{.product_private_32.0}", |
| 91 | ], |
| 92 | installable: false, |
| 93 | build_variant: "user", |
Inseob Kim | 007f0ae | 2024-07-18 10:29:52 +0900 | [diff] [blame^] | 94 | board_api_level: "32", |
Inseob Kim | 5d7423f | 2023-09-06 14:39:49 +0900 | [diff] [blame] | 95 | } |
| 96 | |
| 97 | se_policy_cil { |
| 98 | name: "32.0_plat_policy.cil", |
| 99 | src: ":32.0_plat_policy.conf", |
| 100 | additional_cil_files: [":sepolicy_technical_debt{.plat_private_32.0}"], |
| 101 | installable: false, |
| 102 | } |
| 103 | |
| 104 | se_policy_binary { |
| 105 | name: "32.0_plat_policy", |
| 106 | srcs: [":32.0_plat_policy.cil"], |
| 107 | installable: false, |
Inseob Kim | 0d49b9b | 2023-09-06 18:01:53 +0900 | [diff] [blame] | 108 | dist: { |
| 109 | targets: ["base-sepolicy-files-for-mapping"], |
| 110 | }, |
Inseob Kim | 5d7423f | 2023-09-06 14:39:49 +0900 | [diff] [blame] | 111 | } |