platform_system_sepolicy/build/soong
Inseob Kim 7174ffec38 Fix vendor contexts files in mixed build
BOARD_PLAT_VENDOR_POLICY should be used for all vendor stuff, when in
mixed sepolicy build (BOARD_SEPOLICY_VERS != PLATFORM_SEPOLICY_VERSION).
This fixes an issue that system/sepolicy/vendor has been incorrectly
used in mixed sepolicy build.

Bug: 205924657
Test: Try AOSP + rvc-dev mixed sepolicy build
1) copy cuttlefish sepolicy prebuilts from rvc-dev branch.
2) set prebuilt variables:
  - BOARD_PLAT_VENDOR_POLICY
  - BOARD_REQD_MASK_POLICY
  - BOARD_(SYSTEM_EXT|PRODUCT)_PRIVATE_PREBUILT_DIRS
  - BOARD_SEPOLICY_VERS
3) lunch aosp_cf_x86_64_phone-userdebug; m selinux_policy
4) compare $OUT/vendor/etc/selinux with rvc-dev's artifacts.

Change-Id: I2ed1e25255c825c24dab99ae4903328b0400c414
2021-12-09 19:03:35 +09:00
..
Android.bp Treblelize bug_map: split bug_map to multiple partitions 2021-11-08 22:44:34 +08:00
bug_map.go Treblelize bug_map: split bug_map to multiple partitions 2021-11-08 22:44:34 +08:00
build_files.go Remove references to BOARD_PLAT_{PUBLIC,PRIVATE}_SEPOLICY_DIR 2021-04-12 20:01:35 +08:00
cil_compat_map.go Stop using deprecated functionality for managing path deps 2021-07-09 23:15:17 +01:00
compat_cil.go Stop using deprecated functionality for managing path deps 2021-07-09 23:15:17 +01:00
filegroup.go Fix vendor contexts files in mixed build 2021-12-09 19:03:35 +09:00
policy.go Add se_policy_binary module 2021-09-27 13:13:46 +00:00
selinux.go Build contexts files with Soong 2019-04-25 09:59:28 +09:00
selinux_contexts.go Fix vendor contexts files in mixed build 2021-12-09 19:03:35 +09:00
sepolicy_freeze.go Migrate freeze test to Soong 2021-09-16 05:08:56 +00:00
sepolicy_vers.go Call SkipInstall before InstallFile 2021-06-08 10:31:09 +09:00
versioned_policy.go Call SkipInstall before InstallFile 2021-06-08 10:31:09 +09:00