diff options
author | David Drysdale <drysdale@google.com> | 2024-02-21 13:43:42 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-21 13:43:42 +0000 |
commit | 67fc34f804c522d32b5680e258201bc062e52d72 (patch) | |
tree | bafd9e15a21a7b5f4aa05b8f818fc1098e6255ec | |
parent | 6a6e6ad94c354f0f80f08d35a2a518553b6396e4 (diff) | |
parent | 88576418cc6e1f83fbaa107dabcd9b6c9a2bf743 (diff) | |
download | sqlite-67fc34f804c522d32b5680e258201bc062e52d72.tar.gz |
Merge "Make SQLite apex-available" into main
-rw-r--r-- | android/Android.bp | 11 | ||||
-rw-r--r-- | dist/Android.bp | 4 |
2 files changed, 12 insertions, 3 deletions
diff --git a/android/Android.bp b/android/Android.bp index c0a5c07..f0a6da6 100644 --- a/android/Android.bp +++ b/android/Android.bp @@ -44,8 +44,8 @@ cc_library_static { target: { android: { cflags: [ - "-DSQLITE_ENABLE_ICU", - "-DSQLITE_DEFAULT_LEGACY_ALTER_TABLE", + "-DSQLITE_ENABLE_ICU", + "-DSQLITE_DEFAULT_LEGACY_ALTER_TABLE", ], shared_libs: [ "libandroidicu", @@ -59,13 +59,18 @@ cc_library_static { ], }, windows: { - enabled: true, + enabled: true, }, vendor: { cflags: ["-USQLITE_ENABLE_ICU"], exclude_shared_libs: ["libandroidicu"], }, }, + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], + } // This static library is variant of libsqlite3_android built without the ICU diff --git a/dist/Android.bp b/dist/Android.bp index 8b67089..6ca2767 100644 --- a/dist/Android.bp +++ b/dist/Android.bp @@ -146,6 +146,10 @@ cc_library { }, }, export_include_dirs: ["."], + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], afdo: true, } |