From 8778d26c9d8c7ded71f703be766ec10b51e12101 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Wed, 12 Jun 2024 00:34:33 +0000 Subject: [PATCH] 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 --- ui/build/androidmk_denylist.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/build/androidmk_denylist.go b/ui/build/androidmk_denylist.go index a29f413ae..bbac2db17 100644 --- a/ui/build/androidmk_denylist.go +++ b/ui/build/androidmk_denylist.go @@ -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/", }