diff options
author | Jiyong Park <jiyong@google.com> | 2021-09-13 17:08:15 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2021-09-13 17:21:10 +0900 |
commit | bdb6ea2e7d6fd679854896084e46b1189357056d (patch) | |
tree | ef0acb36f3ded7e9d6b08cd7eef48f194ef9ab3d /keystore2/Android.bp | |
parent | d3e248434f1e3ffbf7221d48fbf4d2ed01c58361 (diff) | |
download | security-bdb6ea2e7d6fd679854896084e46b1189357056d.tar.gz |
Use sqlite with no ICU support
keystore has used libsqlite which was built with the ICU extension [1].
The extension brings huge (> 60MB) dependency to the i18n APEX which is
too big for microdroid. Since the use of sqlite in keystore doesn't
seem to require operations like upper/lower, sorting, and regex for all
unicode strings, drop the dependency to the i18n APEX.
[1] https://www.sqlite.org/src/file?name=ext/icu/README.txt
Bug: 199674764
Test: m
Change-Id: I1e7a83283c3e79e69793a2076c97bc1bf6b9e0bf
Diffstat (limited to 'keystore2/Android.bp')
-rw-r--r-- | keystore2/Android.bp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/keystore2/Android.bp b/keystore2/Android.bp index b591d8c3..a7aa8fc3 100644 --- a/keystore2/Android.bp +++ b/keystore2/Android.bp @@ -48,11 +48,11 @@ rust_defaults { "libkeystore2_vintf_rust", "liblazy_static", "liblibc", - "liblibsqlite3_sys", + "liblibsqlite3_sys_noicu", "liblog_event_list", "liblog_rust", "librand", - "librusqlite", + "librusqlite_noicu", "librustutils", "libthiserror", ], @@ -128,7 +128,6 @@ rust_binary { "libc", "libdl_android", "libdl", - "libandroidicu", "libkeymint", "libkeystore2_aaid", "libkeystore2_apc_compat", |