authfs: Remove host targets
The code starts to depend on device-only targets like binder. Let's
remove the host targets.
Test: m
Bug: 171280169
Change-Id: Idc717e15d70a633068c3d6c72c34d9423c7e8d8c
diff --git a/authfs/Android.bp b/authfs/Android.bp
index 9808bf6..65d08c9 100644
--- a/authfs/Android.bp
+++ b/authfs/Android.bp
@@ -14,7 +14,6 @@
"libstructopt",
"libthiserror",
],
- host_supported: true,
target: {
darwin: {
enabled: false,
@@ -35,7 +34,6 @@
],
bindgen_flags: ["--size_t-is-usize"],
cflags: ["-D BORINGSSL_NO_CXX"],
- host_supported: true,
}
rust_binary {
@@ -43,12 +41,6 @@
defaults: ["authfs_defaults"],
}
-rust_test_host {
- name: "authfs_host_test_src_lib",
- test_suites: ["general-tests"],
- defaults: ["authfs_defaults"],
-}
-
// TODO(victorhsieh): Enable the test once "undefined symbol: _Unwind_Resume" is fixed, then add to
// TEST_MAPPING.
rust_test {