BOARD_SEPOLICY_DIRS contains a list of directories to search
for BOARD_SEPOLICY_UNION and BOARD_SEPOLICY_REPLACE files. Order
-eg.) If you have BOARD_SEPOLICY_UNION
:= widget.te and have 2
+eg.) If you have BOARD_SEPOLICY_UNION += widget.te and have 2
instances of widget.te files on BOARD_SEPOLICY_DIRS search path.
The first one found (at the first search dir containing the file)
and you want to NOT include a particular file in your resulting
policy file, either by UNION or REPLACE.
Eg.) Suppose the following:
- BOARD_SEPOLICY_DIRS := X Y
- BOARD_SEPOLICY_REPLACE := A
- BOARD_SEPOLICY_IGNORE := X/A
+ BOARD_SEPOLICY_DIRS += X Y
+ BOARD_SEPOLICY_REPLACE += A
+ BOARD_SEPOLICY_IGNORE += X/A
Directories X and Y contain A.
Example BoardConfig.mk Usage:
From the Tuna device BoardConfig.mk, device/samsung/tuna/BoardConfig.mk
+BOARD_SEPOLICY_DIRS += \
+BOARD_SEPOLICY_UNION += \