Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5abb94a authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Gerrit Code Review
Browse files

Merge "Make resolv_unit_test hermetic."

parents fc40d1b8 dae66674
Loading
Loading
Loading
Loading
+1 −16
Original line number Diff line number Diff line
@@ -90,34 +90,19 @@ cc_test {
cc_test {
    name: "resolv_unit_test",
    defaults: ["netd_defaults"],
    // Add DnsTls* files since they are not visible outside libnetd_resolv library.
    srcs: [
        "DnsTlsDispatcher.cpp",
        "DnsTlsQueryMap.cpp",
        "DnsTlsTransport.cpp",
        "DnsTlsServer.cpp",
        "DnsTlsSessionCache.cpp",
        "DnsTlsSocket.cpp",
        "dns_tls_test.cpp",
        "libnetd_resolv_test.cpp",
    ],
    // TODO: Remove the include path "system/netd/include" after Fwmark used in DnsTlsTransport is
    // moved out.
    include_dirs: [
        "system/netd/include",
        "system/netd/resolv/include",
        "system/netd/server",
        "system/netd/resolv/dns_responder",
    ],
    shared_libs: [
        "libbase",
        "libcrypto",
        "liblog",
        "libnetdutils",
        "libssl",
    ],
    static_libs: [
        "libnetd_resolv",
        "libnetd_test_dnsresponder",
        "libnetdutils",
    ],
}
+1 −0
Original line number Diff line number Diff line
@@ -29,4 +29,5 @@ cc_library_static {
        "dns_responder_client.cpp",
        "dns_tls_frontend.cpp",
    ],
    export_include_dirs: ["."],
}