diff --git a/libcutils/Android.bp b/libcutils/Android.bp index 68b21c6a0..0d9f2c79a 100644 --- a/libcutils/Android.bp +++ b/libcutils/Android.bp @@ -354,18 +354,3 @@ cc_test { defaults: ["libcutils_test_static_defaults"], test_config: "KernelLibcutilsTest.xml", } - -rust_bindgen { - name: "libcutils_bindgen", - wrapper_src: "rust/cutils.h", - crate_name: "cutils_bindgen", - source_stem: "bindings", - local_include_dirs: ["include"], - bindgen_flags: [ - "--allowlist-function", "multiuser_get_app_id", - "--allowlist-function", "multiuser_get_uid", - "--allowlist-function", "multiuser_get_user_id", - "--allowlist-var", "AID_KEYSTORE", - "--allowlist-var", "AID_USER_OFFSET", - ], -} diff --git a/libcutils/rust/cutils.h b/libcutils/rust/cutils.h deleted file mode 100644 index 9b78af631..000000000 --- a/libcutils/rust/cutils.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once - -#include -#include