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 various contexts 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 { |
| 27 | name: "file_contexts_files", |
| 28 | srcs: ["file_contexts"], |
| 29 | } |
| 30 | |
| 31 | se_build_files { |
| 32 | name: "file_contexts_asan_files", |
| 33 | srcs: ["file_contexts_asan"], |
| 34 | } |
| 35 | |
| 36 | se_build_files { |
| 37 | name: "file_contexts_overlayfs_files", |
| 38 | srcs: ["file_contexts_overlayfs"], |
| 39 | } |
| 40 | |
| 41 | se_build_files { |
| 42 | name: "hwservice_contexts_files", |
| 43 | srcs: ["hwservice_contexts"], |
| 44 | } |
| 45 | |
| 46 | se_build_files { |
| 47 | name: "property_contexts_files", |
| 48 | srcs: ["property_contexts"], |
| 49 | } |
| 50 | |
| 51 | se_build_files { |
| 52 | name: "service_contexts_files", |
| 53 | srcs: ["service_contexts"], |
| 54 | } |
| 55 | |
| 56 | se_build_files { |
| 57 | name: "keystore2_key_contexts_files", |
| 58 | srcs: ["keystore2_key_contexts"], |
| 59 | } |
| 60 | |
| 61 | se_build_files { |
| 62 | name: "seapp_contexts_files", |
| 63 | srcs: ["seapp_contexts"], |
| 64 | } |
| 65 | |
| 66 | se_build_files { |
| 67 | name: "vndservice_contexts_files", |
| 68 | srcs: ["vndservice_contexts"], |
| 69 | } |
| 70 | |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 71 | file_contexts { |
| 72 | name: "plat_file_contexts", |
| 73 | srcs: [":file_contexts_files{.plat_private}"], |
| 74 | product_variables: { |
| 75 | address_sanitize: { |
| 76 | srcs: [":file_contexts_asan_files{.plat_private}"], |
| 77 | }, |
| 78 | debuggable: { |
| 79 | srcs: [":file_contexts_overlayfs_files{.plat_private}"], |
| 80 | }, |
| 81 | }, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 82 | } |
| 83 | |
| 84 | file_contexts { |
| 85 | name: "plat_file_contexts.recovery", |
| 86 | srcs: [":file_contexts_files{.plat_private}"], |
| 87 | stem: "plat_file_contexts", |
| 88 | product_variables: { |
| 89 | address_sanitize: { |
| 90 | srcs: [":file_contexts_asan_files{.plat_private}"], |
| 91 | }, |
| 92 | debuggable: { |
| 93 | srcs: [":file_contexts_overlayfs_files{.plat_private}"], |
| 94 | }, |
| 95 | }, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 96 | recovery: true, |
| 97 | } |
| 98 | |
| 99 | file_contexts { |
| 100 | name: "vendor_file_contexts", |
| 101 | srcs: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 102 | ":file_contexts_files{.plat_vendor}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 103 | ":file_contexts_files{.vendor}", |
| 104 | ], |
| 105 | soc_specific: true, |
Inseob Kim | 61257ca | 2022-02-25 11:26:16 +0900 | [diff] [blame] | 106 | } |
| 107 | |
| 108 | file_contexts { |
| 109 | name: "vendor_file_contexts.recovery", |
| 110 | srcs: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 111 | ":file_contexts_files{.plat_vendor}", |
Inseob Kim | 61257ca | 2022-02-25 11:26:16 +0900 | [diff] [blame] | 112 | ":file_contexts_files{.vendor}", |
| 113 | ], |
| 114 | stem: "vendor_file_contexts", |
| 115 | recovery: true, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 116 | } |
| 117 | |
| 118 | file_contexts { |
| 119 | name: "system_ext_file_contexts", |
| 120 | srcs: [":file_contexts_files{.system_ext_private}"], |
| 121 | system_ext_specific: true, |
Inseob Kim | 61257ca | 2022-02-25 11:26:16 +0900 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | file_contexts { |
| 125 | name: "system_ext_file_contexts.recovery", |
| 126 | srcs: [":file_contexts_files{.system_ext_private}"], |
| 127 | stem: "system_ext_file_contexts", |
| 128 | recovery: true, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 129 | } |
| 130 | |
| 131 | file_contexts { |
| 132 | name: "product_file_contexts", |
| 133 | srcs: [":file_contexts_files{.product_private}"], |
| 134 | product_specific: true, |
Inseob Kim | 61257ca | 2022-02-25 11:26:16 +0900 | [diff] [blame] | 135 | } |
| 136 | |
| 137 | file_contexts { |
| 138 | name: "product_file_contexts.recovery", |
| 139 | srcs: [":file_contexts_files{.product_private}"], |
| 140 | stem: "product_file_contexts", |
| 141 | recovery: true, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 142 | } |
| 143 | |
| 144 | file_contexts { |
| 145 | name: "odm_file_contexts", |
| 146 | srcs: [":file_contexts_files{.odm}"], |
| 147 | device_specific: true, |
Inseob Kim | 61257ca | 2022-02-25 11:26:16 +0900 | [diff] [blame] | 148 | } |
| 149 | |
| 150 | file_contexts { |
| 151 | name: "odm_file_contexts.recovery", |
| 152 | srcs: [":file_contexts_files{.odm}"], |
| 153 | stem: "odm_file_contexts", |
| 154 | recovery: true, |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 155 | } |
| 156 | |
| 157 | hwservice_contexts { |
| 158 | name: "plat_hwservice_contexts", |
| 159 | srcs: [":hwservice_contexts_files{.plat_private}"], |
| 160 | } |
| 161 | |
| 162 | hwservice_contexts { |
| 163 | name: "system_ext_hwservice_contexts", |
| 164 | srcs: [":hwservice_contexts_files{.system_ext_private}"], |
| 165 | system_ext_specific: true, |
| 166 | } |
| 167 | |
| 168 | hwservice_contexts { |
| 169 | name: "product_hwservice_contexts", |
| 170 | srcs: [":hwservice_contexts_files{.product_private}"], |
| 171 | product_specific: true, |
| 172 | } |
| 173 | |
| 174 | hwservice_contexts { |
| 175 | name: "vendor_hwservice_contexts", |
| 176 | srcs: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 177 | ":hwservice_contexts_files{.plat_vendor}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 178 | ":hwservice_contexts_files{.vendor}", |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 179 | ":hwservice_contexts_files{.reqd_mask}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 180 | ], |
| 181 | soc_specific: true, |
| 182 | } |
| 183 | |
| 184 | hwservice_contexts { |
| 185 | name: "odm_hwservice_contexts", |
| 186 | srcs: [":hwservice_contexts_files{.odm}"], |
| 187 | device_specific: true, |
| 188 | } |
| 189 | |
| 190 | property_contexts { |
| 191 | name: "plat_property_contexts", |
| 192 | srcs: [":property_contexts_files{.plat_private}"], |
| 193 | } |
| 194 | |
| 195 | property_contexts { |
| 196 | name: "plat_property_contexts.recovery", |
| 197 | srcs: [":property_contexts_files{.plat_private}"], |
| 198 | stem: "plat_property_contexts", |
| 199 | recovery: true, |
| 200 | } |
| 201 | |
| 202 | property_contexts { |
| 203 | name: "system_ext_property_contexts", |
| 204 | srcs: [":property_contexts_files{.system_ext_private}"], |
| 205 | system_ext_specific: true, |
| 206 | recovery_available: true, |
| 207 | } |
| 208 | |
| 209 | property_contexts { |
| 210 | name: "product_property_contexts", |
| 211 | srcs: [":property_contexts_files{.product_private}"], |
| 212 | product_specific: true, |
| 213 | recovery_available: true, |
| 214 | } |
| 215 | |
| 216 | property_contexts { |
| 217 | name: "vendor_property_contexts", |
| 218 | srcs: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 219 | ":property_contexts_files{.plat_vendor}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 220 | ":property_contexts_files{.vendor}", |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 221 | ":property_contexts_files{.reqd_mask}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 222 | ], |
| 223 | soc_specific: true, |
| 224 | recovery_available: true, |
| 225 | } |
| 226 | |
| 227 | property_contexts { |
| 228 | name: "odm_property_contexts", |
| 229 | srcs: [":property_contexts_files{.odm}"], |
| 230 | device_specific: true, |
| 231 | recovery_available: true, |
| 232 | } |
| 233 | |
| 234 | service_contexts { |
| 235 | name: "plat_service_contexts", |
| 236 | srcs: [":service_contexts_files{.plat_private}"], |
| 237 | } |
| 238 | |
| 239 | service_contexts { |
| 240 | name: "plat_service_contexts.recovery", |
| 241 | srcs: [":service_contexts_files{.plat_private}"], |
| 242 | stem: "plat_service_contexts", |
| 243 | recovery: true, |
| 244 | } |
| 245 | |
| 246 | service_contexts { |
| 247 | name: "system_ext_service_contexts", |
| 248 | srcs: [":service_contexts_files{.system_ext_private}"], |
| 249 | system_ext_specific: true, |
| 250 | recovery_available: true, |
| 251 | } |
| 252 | |
| 253 | service_contexts { |
| 254 | name: "product_service_contexts", |
| 255 | srcs: [":service_contexts_files{.product_private}"], |
| 256 | product_specific: true, |
| 257 | recovery_available: true, |
| 258 | } |
| 259 | |
| 260 | service_contexts { |
| 261 | name: "vendor_service_contexts", |
| 262 | srcs: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 263 | ":service_contexts_files{.plat_vendor}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 264 | ":service_contexts_files{.vendor}", |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 265 | ":service_contexts_files{.reqd_mask}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 266 | ], |
| 267 | soc_specific: true, |
| 268 | recovery_available: true, |
| 269 | } |
| 270 | |
Inseob Kim | 3bb2033 | 2022-10-24 20:41:45 +0900 | [diff] [blame] | 271 | service_contexts { |
| 272 | name: "odm_service_contexts", |
| 273 | srcs: [ |
| 274 | ":service_contexts_files{.odm}", |
| 275 | ], |
| 276 | device_specific: true, |
| 277 | recovery_available: true, |
| 278 | } |
| 279 | |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 280 | keystore2_key_contexts { |
| 281 | name: "plat_keystore2_key_contexts", |
| 282 | srcs: [":keystore2_key_contexts_files{.plat_private}"], |
| 283 | } |
| 284 | |
| 285 | keystore2_key_contexts { |
| 286 | name: "system_keystore2_key_contexts", |
| 287 | srcs: [":keystore2_key_contexts_files{.system_ext_private}"], |
| 288 | system_ext_specific: true, |
| 289 | } |
| 290 | |
| 291 | keystore2_key_contexts { |
| 292 | name: "product_keystore2_key_contexts", |
| 293 | srcs: [":keystore2_key_contexts_files{.product_private}"], |
| 294 | product_specific: true, |
| 295 | } |
| 296 | |
| 297 | keystore2_key_contexts { |
| 298 | name: "vendor_keystore2_key_contexts", |
| 299 | srcs: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 300 | ":keystore2_key_contexts_files{.plat_vendor}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 301 | ":keystore2_key_contexts_files{.vendor}", |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 302 | ":keystore2_key_contexts_files{.reqd_mask}", |
Inseob Kim | baee4a2 | 2021-12-21 21:03:32 +0900 | [diff] [blame] | 303 | ], |
| 304 | soc_specific: true, |
| 305 | } |
Inseob Kim | 2dac267 | 2021-12-29 17:54:57 +0900 | [diff] [blame] | 306 | |
| 307 | seapp_contexts { |
| 308 | name: "plat_seapp_contexts", |
| 309 | srcs: [":seapp_contexts_files{.plat_private}"], |
| 310 | sepolicy: ":precompiled_sepolicy", |
| 311 | } |
| 312 | |
| 313 | seapp_contexts { |
| 314 | name: "system_ext_seapp_contexts", |
| 315 | srcs: [":seapp_contexts_files{.system_ext_private}"], |
| 316 | neverallow_files: [":seapp_contexts_files{.plat_private}"], |
| 317 | system_ext_specific: true, |
| 318 | sepolicy: ":precompiled_sepolicy", |
| 319 | } |
| 320 | |
| 321 | seapp_contexts { |
| 322 | name: "product_seapp_contexts", |
| 323 | srcs: [":seapp_contexts_files{.product_private}"], |
| 324 | neverallow_files: [ |
| 325 | ":seapp_contexts_files{.plat_private}", |
| 326 | ":seapp_contexts_files{.system_ext_private}", |
| 327 | ], |
| 328 | product_specific: true, |
| 329 | sepolicy: ":precompiled_sepolicy", |
| 330 | } |
| 331 | |
| 332 | seapp_contexts { |
| 333 | name: "vendor_seapp_contexts", |
| 334 | srcs: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 335 | ":seapp_contexts_files{.plat_vendor}", |
Inseob Kim | 2dac267 | 2021-12-29 17:54:57 +0900 | [diff] [blame] | 336 | ":seapp_contexts_files{.vendor}", |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 337 | ":seapp_contexts_files{.reqd_mask}", |
Inseob Kim | 2dac267 | 2021-12-29 17:54:57 +0900 | [diff] [blame] | 338 | ], |
| 339 | neverallow_files: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 340 | ":seapp_contexts_files{.plat_private}", |
| 341 | ":seapp_contexts_files{.system_ext_private}", |
| 342 | ":seapp_contexts_files{.product_private}", |
Inseob Kim | 2dac267 | 2021-12-29 17:54:57 +0900 | [diff] [blame] | 343 | ], |
| 344 | soc_specific: true, |
| 345 | sepolicy: ":precompiled_sepolicy", |
| 346 | } |
| 347 | |
| 348 | seapp_contexts { |
| 349 | name: "odm_seapp_contexts", |
| 350 | srcs: [ |
| 351 | ":seapp_contexts_files{.odm}", |
| 352 | ], |
| 353 | neverallow_files: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 354 | ":seapp_contexts_files{.plat_private}", |
| 355 | ":seapp_contexts_files{.system_ext_private}", |
| 356 | ":seapp_contexts_files{.product_private}", |
Inseob Kim | 2dac267 | 2021-12-29 17:54:57 +0900 | [diff] [blame] | 357 | ], |
| 358 | device_specific: true, |
| 359 | sepolicy: ":precompiled_sepolicy", |
| 360 | } |
| 361 | |
Inseob Kim | c7596c4 | 2022-02-25 11:45:41 +0900 | [diff] [blame] | 362 | vndservice_contexts { |
| 363 | name: "vndservice_contexts", |
| 364 | srcs: [ |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 365 | ":vndservice_contexts_files{.plat_vendor}", |
Inseob Kim | c7596c4 | 2022-02-25 11:45:41 +0900 | [diff] [blame] | 366 | ":vndservice_contexts_files{.vendor}", |
Inseob Kim | 6c6aa01 | 2023-08-31 16:47:38 +0900 | [diff] [blame] | 367 | ":vndservice_contexts_files{.reqd_mask}", |
Inseob Kim | c7596c4 | 2022-02-25 11:45:41 +0900 | [diff] [blame] | 368 | ], |
| 369 | soc_specific: true, |
| 370 | } |
| 371 | |
Inseob Kim | 2dac267 | 2021-12-29 17:54:57 +0900 | [diff] [blame] | 372 | // for CTS |
| 373 | genrule { |
| 374 | name: "plat_seapp_neverallows", |
| 375 | srcs: [ |
| 376 | ":seapp_contexts_files{.plat_private}", |
| 377 | ":seapp_contexts_files{.system_ext_private}", |
| 378 | ":seapp_contexts_files{.product_private}", |
| 379 | ], |
| 380 | out: ["plat_seapp_neverallows"], |
| 381 | cmd: "grep -ihe '^neverallow' $(in) > $(out) || true", |
| 382 | } |
Inseob Kim | b5e2353 | 2022-02-16 02:26:11 +0000 | [diff] [blame] | 383 | |
| 384 | ////////////////////////////////// |
| 385 | // Run host-side test with contexts files and the sepolicy file |
| 386 | file_contexts_test { |
| 387 | name: "plat_file_contexts_test", |
| 388 | srcs: [":plat_file_contexts"], |
| 389 | sepolicy: ":precompiled_sepolicy", |
| 390 | } |
| 391 | |
| 392 | file_contexts_test { |
ThiƩbaud Weksteen | 3a102a1 | 2023-10-20 15:43:29 +1100 | [diff] [blame] | 393 | name: "plat_file_contexts_data_test", |
| 394 | srcs: [":file_contexts_files{.plat_private}"], |
| 395 | test_data: "plat_file_contexts_test", |
| 396 | } |
| 397 | |
| 398 | file_contexts_test { |
Inseob Kim | b5e2353 | 2022-02-16 02:26:11 +0000 | [diff] [blame] | 399 | name: "system_ext_file_contexts_test", |
| 400 | srcs: [":system_ext_file_contexts"], |
| 401 | sepolicy: ":precompiled_sepolicy", |
| 402 | } |
| 403 | |
| 404 | file_contexts_test { |
| 405 | name: "product_file_contexts_test", |
| 406 | srcs: [":product_file_contexts"], |
| 407 | sepolicy: ":precompiled_sepolicy", |
| 408 | } |
| 409 | |
| 410 | file_contexts_test { |
| 411 | name: "vendor_file_contexts_test", |
| 412 | srcs: [":vendor_file_contexts"], |
| 413 | sepolicy: ":precompiled_sepolicy", |
| 414 | } |
| 415 | |
| 416 | file_contexts_test { |
| 417 | name: "odm_file_contexts_test", |
| 418 | srcs: [":odm_file_contexts"], |
| 419 | sepolicy: ":precompiled_sepolicy", |
| 420 | } |
| 421 | |
| 422 | hwservice_contexts_test { |
| 423 | name: "plat_hwservice_contexts_test", |
| 424 | srcs: [":plat_hwservice_contexts"], |
| 425 | sepolicy: ":precompiled_sepolicy", |
| 426 | } |
| 427 | |
| 428 | hwservice_contexts_test { |
| 429 | name: "system_ext_hwservice_contexts_test", |
| 430 | srcs: [":system_ext_hwservice_contexts"], |
| 431 | sepolicy: ":precompiled_sepolicy", |
| 432 | } |
| 433 | |
| 434 | hwservice_contexts_test { |
| 435 | name: "product_hwservice_contexts_test", |
| 436 | srcs: [":product_hwservice_contexts"], |
| 437 | sepolicy: ":precompiled_sepolicy", |
| 438 | } |
| 439 | |
| 440 | hwservice_contexts_test { |
| 441 | name: "vendor_hwservice_contexts_test", |
| 442 | srcs: [":vendor_hwservice_contexts"], |
| 443 | sepolicy: ":precompiled_sepolicy", |
| 444 | } |
| 445 | |
| 446 | hwservice_contexts_test { |
| 447 | name: "odm_hwservice_contexts_test", |
| 448 | srcs: [":odm_hwservice_contexts"], |
| 449 | sepolicy: ":precompiled_sepolicy", |
| 450 | } |
| 451 | |
| 452 | property_contexts_test { |
| 453 | name: "plat_property_contexts_test", |
| 454 | srcs: [":plat_property_contexts"], |
| 455 | sepolicy: ":precompiled_sepolicy", |
| 456 | } |
| 457 | |
| 458 | property_contexts_test { |
| 459 | name: "system_ext_property_contexts_test", |
| 460 | srcs: [ |
| 461 | ":plat_property_contexts", |
| 462 | ":system_ext_property_contexts", |
| 463 | ], |
| 464 | sepolicy: ":precompiled_sepolicy", |
| 465 | } |
| 466 | |
| 467 | property_contexts_test { |
| 468 | name: "product_property_contexts_test", |
| 469 | srcs: [ |
| 470 | ":plat_property_contexts", |
| 471 | ":system_ext_property_contexts", |
| 472 | ":product_property_contexts", |
| 473 | ], |
| 474 | sepolicy: ":precompiled_sepolicy", |
| 475 | } |
| 476 | |
| 477 | property_contexts_test { |
| 478 | name: "vendor_property_contexts_test", |
| 479 | srcs: [ |
| 480 | ":plat_property_contexts", |
| 481 | ":system_ext_property_contexts", |
| 482 | ":product_property_contexts", |
| 483 | ":vendor_property_contexts", |
| 484 | ], |
| 485 | sepolicy: ":precompiled_sepolicy", |
| 486 | } |
| 487 | |
| 488 | property_contexts_test { |
| 489 | name: "odm_property_contexts_test", |
| 490 | srcs: [ |
| 491 | ":plat_property_contexts", |
| 492 | ":system_ext_property_contexts", |
| 493 | ":product_property_contexts", |
| 494 | ":vendor_property_contexts", |
| 495 | ":odm_property_contexts", |
| 496 | ], |
| 497 | sepolicy: ":precompiled_sepolicy", |
| 498 | } |
| 499 | |
| 500 | service_contexts_test { |
| 501 | name: "plat_service_contexts_test", |
| 502 | srcs: [":plat_service_contexts"], |
| 503 | sepolicy: ":precompiled_sepolicy", |
| 504 | } |
| 505 | |
| 506 | service_contexts_test { |
| 507 | name: "system_ext_service_contexts_test", |
| 508 | srcs: [":system_ext_service_contexts"], |
| 509 | sepolicy: ":precompiled_sepolicy", |
| 510 | } |
| 511 | |
| 512 | service_contexts_test { |
| 513 | name: "product_service_contexts_test", |
| 514 | srcs: [":product_service_contexts"], |
| 515 | sepolicy: ":precompiled_sepolicy", |
| 516 | } |
| 517 | |
| 518 | service_contexts_test { |
| 519 | name: "vendor_service_contexts_test", |
| 520 | srcs: [":vendor_service_contexts"], |
| 521 | sepolicy: ":precompiled_sepolicy", |
| 522 | } |
Inseob Kim | c7596c4 | 2022-02-25 11:45:41 +0900 | [diff] [blame] | 523 | |
Inseob Kim | 3bb2033 | 2022-10-24 20:41:45 +0900 | [diff] [blame] | 524 | service_contexts_test { |
| 525 | name: "odm_service_contexts_test", |
| 526 | srcs: [":odm_service_contexts"], |
| 527 | sepolicy: ":precompiled_sepolicy", |
| 528 | } |
| 529 | |
Inseob Kim | c7596c4 | 2022-02-25 11:45:41 +0900 | [diff] [blame] | 530 | vndservice_contexts_test { |
| 531 | name: "vndservice_contexts_test", |
| 532 | srcs: [":vndservice_contexts"], |
| 533 | sepolicy: ":precompiled_sepolicy", |
| 534 | } |
Pawan | 0ecf99d | 2022-09-12 23:20:53 +0000 | [diff] [blame] | 535 | |
| 536 | fuzzer_bindings_test { |
| 537 | name: "fuzzer_bindings_test", |
| 538 | srcs: [":plat_service_contexts"], |
| 539 | } |