summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--diced/open_dice/Android.bp3
-rw-r--r--keystore2/aaid/Android.bp1
-rw-r--r--keystore2/src/crypto/Android.bp1
3 files changed, 0 insertions, 5 deletions
diff --git a/diced/open_dice/Android.bp b/diced/open_dice/Android.bp
index 2505b426..45cbb676 100644
--- a/diced/open_dice/Android.bp
+++ b/diced/open_dice/Android.bp
@@ -125,7 +125,6 @@ rust_defaults {
crate_name: "open_dice_cbor_bindgen",
source_stem: "bindings",
bindgen_flags: [
- "--size_t-is-usize",
"--rustified-enum DiceConfigType",
"--rustified-enum DiceMode",
"--rustified-enum DiceResult",
@@ -177,8 +176,6 @@ rust_defaults {
crate_name: "open_dice_bcc_bindgen",
source_stem: "bindings",
bindgen_flags: [
- "--size_t-is-usize",
-
// By generating only essential functions, we can make bindings concise and
// optimize compilation time.
"--allowlist-function=BccFormatConfigDescriptor",
diff --git a/keystore2/aaid/Android.bp b/keystore2/aaid/Android.bp
index 3417960d..d0a1e775 100644
--- a/keystore2/aaid/Android.bp
+++ b/keystore2/aaid/Android.bp
@@ -38,7 +38,6 @@ rust_bindgen {
source_stem: "bindings",
bindgen_flags: [
- "--size_t-is-usize",
"--allowlist-function=aaid_keystore_attestation_id",
"--allowlist-var=KEY_ATTESTATION_APPLICATION_ID_MAX_SIZE",
],
diff --git a/keystore2/src/crypto/Android.bp b/keystore2/src/crypto/Android.bp
index 1ac64674..35fc5a90 100644
--- a/keystore2/src/crypto/Android.bp
+++ b/keystore2/src/crypto/Android.bp
@@ -69,7 +69,6 @@ rust_bindgen {
vendor_available: true,
shared_libs: ["libcrypto"],
bindgen_flags: [
- "--size_t-is-usize",
"--allowlist-function", "hmacSha256",
"--allowlist-function", "randomBytes",
"--allowlist-function", "AES_gcm_encrypt",