Refactor DoH implementation
Current doh implementation is designed to be totally managed by
DnsResolver, which means we might need bunch of C++ glue code to make
things work.
This goal of this refactoring is to minimize the required C++ glue code
and put most control logic into Rust side.
Test: atest
Bug: 155855709
Change-Id: I9a048f5fe72c4c25ae1b95ddf839f244eda34097
diff --git a/Android.bp b/Android.bp
index 2aedaa7..7401cb9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -330,7 +330,8 @@
rlibs: [
"libandroid_logger",
"libanyhow",
- "liblazy_static",
+ "libbase64_rust",
+ "libfutures",
"liblibc",
"liblog_rust",
"libquiche",
@@ -365,7 +366,8 @@
rustlibs: [
"libandroid_logger",
"libanyhow",
- "liblazy_static",
+ "libbase64_rust",
+ "libfutures",
"liblibc",
"liblog_rust",
"libquiche_static",
@@ -386,7 +388,8 @@
rlibs: [
"libandroid_logger",
"libanyhow",
- "liblazy_static",
+ "libbase64_rust",
+ "libfutures",
"liblibc",
"liblog_rust",
"libquiche_static",