Migrate Rust libcutils bindings into librustutils.
Bug: 182498247 Test: Build Change-Id: I535091d1afaa9225f824a3fde8bcffb867f64da8
This commit is contained in:
parent
3bf878786c
commit
b1f70d5eaa
2 changed files with 0 additions and 19 deletions
|
@ -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",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include <cutils/multiuser.h>
|
||||
#include <private/android_filesystem_config.h>
|
Loading…
Reference in a new issue