Add following directories to Android.mk denylist to block new Android.mk files.

bionic/
development/
device/sample/
prebuilts/
sdk/
test/
trusty/

Bug: 318428689
Change-Id: I327bf354df064a5249edc3e9c846199cde0ce00b
Test: CIs
This commit is contained in:
Wei Li 2024-06-12 00:34:33 +00:00
parent a551b011d0
commit 8778d26c9d

View file

@ -19,10 +19,13 @@ import (
)
var androidmk_denylist []string = []string{
"bionic/",
"chained_build_config/",
"cts/",
"dalvik/",
"developers/",
"development/",
"device/sample/",
"frameworks/",
// Do not block other directories in kernel/, see b/319658303.
"kernel/configs/",
@ -31,6 +34,10 @@ var androidmk_denylist []string = []string{
"libcore/",
"libnativehelper/",
"pdk/",
"prebuilts/",
"sdk/",
"test/",
"trusty/",
// Add back toolchain/ once defensive Android.mk files are removed
//"toolchain/",
}