Enable sqlite trunk-stable flags in jni
This change makes trunk-stable flags from the android.database.sqlite
package available to the sqlite jni C++ files. To use a flag in one
of the SQLite source files (or any C++ file):
````
#include <android_database_sqlite.h>
bool myFlag = android::database::sqlite::my_sqlite_flag();
````
Tested by referencing an existing sqlite flag in
android_database_SQLiteConnection.cpp. The change to that source file
is not part of this CL.
Bug: 329900153
Change-Id: I3424cdd7a88886e67ed86b7514b8abb919f9fec3
diff --git a/AconfigFlags.bp b/AconfigFlags.bp
index 8591a9c..9c0ae8b 100644
--- a/AconfigFlags.bp
+++ b/AconfigFlags.bp
@@ -625,6 +625,12 @@
defaults: ["framework-minus-apex-aconfig-java-defaults"],
}
+cc_aconfig_library {
+ name: "android.database.sqlite-aconfig-cc",
+ aconfig_declarations: "android.database.sqlite-aconfig",
+ host_supported: true,
+}
+
// Biometrics
aconfig_declarations {
name: "android.hardware.biometrics.flags-aconfig",