diff options
author | David Drysdale <drysdale@google.com> | 2024-02-16 13:50:30 +0000 |
---|---|---|
committer | David Drysdale <drysdale@google.com> | 2024-02-19 15:25:26 +0000 |
commit | 88576418cc6e1f83fbaa107dabcd9b6c9a2bf743 (patch) | |
tree | bafd9e15a21a7b5f4aa05b8f818fc1098e6255ec | |
parent | 6a6e6ad94c354f0f80f08d35a2a518553b6396e4 (diff) | |
download | sqlite-88576418cc6e1f83fbaa107dabcd9b6c9a2bf743.tar.gz |
Make SQLite apex-available
Also bpfmt so presubmit passes.
Bug: 294177871
Test: build virtualizationservice using rusqlite
Change-Id: I54b1a263c264dbf93be58a3710c37126f280ce50
-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, } |