Run neverallow tests on build time am: 021596b37f
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/3039437 Change-Id: I1f1dd68eff85b5e14fd8dc96cce60410b295358c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
6445dae965
2 changed files with 3 additions and 4 deletions
|
@ -443,7 +443,6 @@ include $(BUILD_PHONY_PACKAGE)
|
|||
# See Android.bp for details of policy files.
|
||||
#
|
||||
built_sepolicy := $(call intermediates-dir-for,ETC,precompiled_sepolicy)/precompiled_sepolicy
|
||||
built_sepolicy_neverallows := $(call intermediates-dir-for,ETC,sepolicy_neverallows)/sepolicy_neverallows
|
||||
|
||||
##################################
|
||||
# TODO - remove this. Keep around until we get the filesystem creation stuff taken care of.
|
||||
|
@ -572,6 +571,5 @@ base_product_pub_policy.cil :=
|
|||
|
||||
build_policy :=
|
||||
built_sepolicy :=
|
||||
built_sepolicy_neverallows :=
|
||||
sepolicy_build_files :=
|
||||
with_asan :=
|
||||
|
|
|
@ -189,10 +189,11 @@ func (n *neverallowTestModule) GenerateAndroidBuildActions(ctx android.ModuleCon
|
|||
func (n *neverallowTestModule) AndroidMkEntries() []android.AndroidMkEntries {
|
||||
return []android.AndroidMkEntries{android.AndroidMkEntries{
|
||||
OutputFile: android.OptionalPathForPath(n.testTimestamp),
|
||||
Class: "ETC",
|
||||
Class: "FAKE",
|
||||
Include: "$(BUILD_PHONY_PACKAGE)",
|
||||
ExtraEntries: []android.AndroidMkExtraEntriesFunc{
|
||||
func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
|
||||
entries.SetBool("LOCAL_UNINSTALLABLE_MODULE", true)
|
||||
entries.SetPath("LOCAL_ADDITIONAL_DEPENDENCIES", n.testTimestamp)
|
||||
},
|
||||
},
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue