Skip to content
Snippets Groups Projects
Commit 4d56ff8e authored by Nick Kralevich's avatar Nick Kralevich
Browse files

Build sepolicy_tests for all build types

Currently the build target sepolicy_tests is only being built for Treble
devices. However, the tests performed are not specific to Treble
devices.

Unconditionally build sepolicy_tests regardless of Trebleized status.

Bug: 64612408
Test: Policy compiles
Change-Id: I1bf37f6e17a0bcfde451fe668e32798120a66043
parent cef481f4
No related branches found
No related tags found
No related merge requests found
...@@ -194,12 +194,12 @@ LOCAL_REQUIRED_MODULES += \ ...@@ -194,12 +194,12 @@ LOCAL_REQUIRED_MODULES += \
plat_sepolicy.cil \ plat_sepolicy.cil \
plat_and_mapping_sepolicy.cil.sha256 \ plat_and_mapping_sepolicy.cil.sha256 \
secilc \ secilc \
plat_sepolicy_vers.txt plat_sepolicy_vers.txt \
ifneq ($(with_asan),true) ifneq ($(with_asan),true)
LOCAL_REQUIRED_MODULES += \ LOCAL_REQUIRED_MODULES += \
treble_sepolicy_tests \ treble_sepolicy_tests \
sepolicy_tests
endif endif
# Include precompiled policy, unless told otherwise # Include precompiled policy, unless told otherwise
...@@ -213,7 +213,13 @@ endif ...@@ -213,7 +213,13 @@ endif
LOCAL_REQUIRED_MODULES += \ LOCAL_REQUIRED_MODULES += \
nonplat_file_contexts \ nonplat_file_contexts \
plat_file_contexts plat_file_contexts \
ifneq ($(with_asan),true)
LOCAL_REQUIRED_MODULES += \
sepolicy_tests \
endif
include $(BUILD_PHONY_PACKAGE) include $(BUILD_PHONY_PACKAGE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment