device_google_gs-common/sepolicy/Android.bp
Roy Luo e7d8589878 Export build flag to selinux policy for sysfs_udc fscontext
sysfs_udc context is introduced in aosp/3163782.
Build-time flag RELEASE_USB_UDC_SYSFS_SELINUX_POLICY_ENABLED guards
the access to the new fscontext.
This change exports the flag to selinux policy to make it visible.

Bug: 339241080
Test: build
Flag: RELEASE_USB_UDC_SYSFS_SELINUX_POLICY_ENABLED
Change-Id: I442c5cb16ee40e0a54bddd7c1550dbb4a69557c9
2024-08-21 01:12:43 +00:00

5 lines
153 B
Text

se_flags {
name: "usb_udc_sysfs_selinux_flags",
flags: ["RELEASE_USB_UDC_SYSFS_SELINUX_POLICY_ENABLED"],
export_to: ["all_selinux_flags"],
}