Use the new more inclusive command-line options.

Test: Compile
Change-Id: I574334b0c12759774b2d8c1671eb4ebc25d160b5
This commit is contained in:
Joel Galenson 2021-04-19 09:19:31 -07:00
parent 4a3ab034c6
commit a29a23a466
1 changed files with 5 additions and 5 deletions

View File

@ -362,10 +362,10 @@ rust_bindgen {
source_stem: "bindings",
local_include_dirs: ["include"],
bindgen_flags: [
"--whitelist-function", "multiuser_get_app_id",
"--whitelist-function", "multiuser_get_uid",
"--whitelist-function", "multiuser_get_user_id",
"--whitelist-var", "AID_KEYSTORE",
"--whitelist-var", "AID_USER_OFFSET",
"--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",
],
}