Drop BOARD_SEPOLICY_UNION.
As suggested in the comments on
https://android-review.googlesource.com/#/c/141560/
drop BOARD_SEPOLICY_UNION and simplify the build_policy logic.
Union all files found under BOARD_SEPOLICY_DIRS.
Change-Id: I4214893c999c23631f5456cb1b8edd59771ef13b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 9f2b891..a48702d 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -109,51 +109,7 @@
# Support Native Layer RF cutback
BOARD_USES_CUTBACK_IN_RILD := true
-BOARD_SEPOLICY_DIRS += \
- device/moto/shamu/sepolicy
-
-BOARD_SEPOLICY_UNION += \
- adspd.te \
- atfwd.te \
- bluetooth.te \
- bluetooth_loader.te \
- bridge.te \
- camera.te \
- device.te \
- domain.te \
- file.te \
- fsck.te \
- gsiffd.te \
- ims.te \
- init.te \
- irsc_util.te \
- mdm_helper.te \
- mediaserver.te \
- mmi_touch_sh.te \
- mpdecision.te \
- netd.te \
- netmgrd.te \
- platform_app.te \
- property.te \
- property_contexts \
- qmux.te \
- radio.te \
- rild.te \
- sensors.te \
- service.te \
- ss_ramdump.te \
- system_app.te \
- system_server.te \
- tcmd.te \
- tee.te \
- te_macros \
- thermald.te \
- time.te \
- ueventd.te \
- untrusted_app.te \
- file_contexts \
- genfs_contexts \
- service_contexts
+BOARD_SEPOLICY_DIRS += device/moto/shamu/sepolicy
HAVE_ADRENO_SOURCE:= false