summaryrefslogtreecommitdiff
path: root/android/Android.bp
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-12-18 15:07:59 -0800
committer Cole Faust <colefaust@google.com> 2024-12-20 14:28:35 -0800
commita04b589994551350112a4e0d439b17bc11d32fe5 (patch)
tree1b596ece63268caf203a7626c0f1f2d5c5758b55 /android/Android.bp
parent540a37ce600fd527aa6b08db58a0079aca16565d (diff)
Add a removed_package module type
Because you can add non-existent packages to PRODUCT_PACKAGES, it was requested to have a removed_package module type that can throw an error if it is accidentally included in PRODUCT_PACKAGES. You can't do this with just a c binary with a `#error` line because checkbuild will attempt to build it. Test: Manually Change-Id: I25257dc90c1d93427112ec5d283f4d67e23174ee
Diffstat (limited to 'android/Android.bp')
-rw-r--r--android/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/Android.bp b/android/Android.bp
index 4e2006d8b..bb16856dc 100644
--- a/android/Android.bp
+++ b/android/Android.bp
@@ -98,6 +98,7 @@ bootstrap_go_package {
"raw_files.go",
"recovery_build_prop.go",
"register.go",
+ "removed_package.go",
"rule_builder.go",
"sandbox.go",
"sbom.go",