Fix product policy in prebuilt_policy.mk

This was not caught because the test happened on a device without
product policies.

Bug: 180035144
Test: set BOARD_SEPOLICY_VERS and build
Change-Id: Iac53af2f03f8c2eb054216c10337e2476114b9a2
Merged-In: Iac53af2f03f8c2eb054216c10337e2476114b9a2
This commit is contained in:
Inseob Kim 2021-05-20 18:26:55 +09:00
parent 3bdd47894a
commit 62856b6a42

View file

@ -240,7 +240,7 @@ $(built_plat_cil_$(ver)) $(built_system_ext_cil_$(ver))
$(hide) $(CHECKPOLICY_ASAN_OPTIONS) $(HOST_OUT_EXECUTABLES)/checkpolicy -M -C -c \
$(POLICYVERS) -o $@ $<
$(hide) $(HOST_OUT_EXECUTABLES)/build_sepolicy -a $(HOST_OUT_EXECUTABLES) filter_out \
-f $(PRIVATE_PLAT_CIL) -t $@
-f $(PRIVATE_PLAT_CIL_FILES) -t $@
# Line markers (denoted by ;;) are malformed after above cmd. They are only
# used for debugging, so we remove them.
$(hide) grep -v ';;' $@ > $@.tmp