Export the sqlite build flag to soong
The soong variable is release_package_libsqlite3. The domain is
libsqlite3.
Bug: 323176655
Change-Id: I7d32a8f1b8d1a22ebce603c06aab602c67f96838
diff --git a/target/product/base_system.mk b/target/product/base_system.mk
index b8aeb38..31440c8 100644
--- a/target/product/base_system.mk
+++ b/target/product/base_system.mk
@@ -492,5 +492,8 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
+# Use the configured release of sqlite
+$(call soong_config_set, libsqlite3, release_package_libsqlite3, $(RELEASE_PACKAGE_LIBSQLITE3))
+
# Use "image" APEXes always.
$(call inherit-product,$(SRC_TARGET_DIR)/product/updatable_apex.mk)