aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-10-13 12:53:10 -0700
committerCole Faust <colefaust@google.com>2023-10-13 12:53:10 -0700
commitecb8d2faa7411d9de228a3bd8b883ed2d5220188 (patch)
treebe55324cc2698f2ce906e839948c85638bb47aac
parent374623abd419a03000ce02dd6ce439c24f15f1b3 (diff)
downloade2fsprogs-ecb8d2faa7411d9de228a3bd8b883ed2d5220188.tar.gz
Make badblocks host-only
It was being installed on some products when it shouldn't be. Bug: 205632228 Test: m installclean && m with aosp/2773149 Change-Id: I7f4642ba6fa8d97f7711b6df57c4e3fd781b40fd
-rw-r--r--misc/Android.bp3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/Android.bp b/misc/Android.bp
index 0656bf48..a00ac9a8 100644
--- a/misc/Android.bp
+++ b/misc/Android.bp
@@ -191,9 +191,8 @@ cc_library_static {
//########################################################################
// Build badblocks
-cc_binary {
+cc_binary_host {
name: "badblocks",
- host_supported: true,
defaults: ["e2fsprogs-defaults"],
srcs: ["badblocks.c"],