Merge "Add prebuilt_sepolicy_srcs filegroup" into main am: e91594e4e4 am: f0abf27f6f am: fa48485ac5

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2770384

Change-Id: Ic7db7a17640ab13724629a57349067bf65f67e45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-10-05 18:15:01 +00:00 committed by Automerger Merge Worker
commit e755ded0d7

View file

@ -556,8 +556,8 @@ soong_config_module_type {
properties: ["vendor", "device_specific"],
}
precompiled_se_policy_binary {
name: "precompiled_sepolicy",
filegroup {
name: "precompiled_sepolicy_srcs",
srcs: [
":plat_sepolicy.cil",
":plat_pub_versioned.cil",
@ -569,6 +569,16 @@ precompiled_se_policy_binary {
":system_ext_mapping_file",
":product_mapping_file",
],
// Make precompiled_sepolicy_srcs as public so that OEMs have access to them.
// Useful when some partitions need to be bind mounted across VM boundaries.
visibility: ["//visibility:public"],
}
precompiled_se_policy_binary {
name: "precompiled_sepolicy",
srcs: [
":precompiled_sepolicy_srcs",
],
soong_config_variables: {
BOARD_USES_ODMIMAGE: {
device_specific: true,