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

Commit bb674bbd authored by Mike Yu's avatar Mike Yu
Browse files

Test: Remove unused static dependency on libutils

Tests that include libutils.a have crashed on Q devices. Since
libutils is not used in tests and it's also a dependency of
libbinder_ndk, remove it from the tests and use system libutils.

Bug: 236555208
Test: built resolv_{unit,integration,stress}_test, and ran them on
      Q/R/S devices
Change-Id: I5c457adb456fedfc9db8f67d6d216941cfc257bf
parent 450e0c5d
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -16,9 +16,6 @@ cc_test_library {
    header_libs: [
        "libnetd_resolv_headers",
    ],
    shared_libs: [
        "libutils",
    ],
    static_libs: [
        "netd_aidl_interface-lateststable-ndk",
        "libnetd_test_dnsresponder_ndk",
@@ -146,7 +143,6 @@ cc_test {
        "libnetd_test_dnsresponder_ndk",
        "libnetd_test_resolv_utils",
        "libnetdutils",
        "libutils",
        "netd_event_listener_interface-lateststable-ndk",
        "netd_aidl_interface-lateststable-ndk",
    ],
@@ -189,7 +185,7 @@ cc_test {
        "libnetd_test_resolv_utils",
        "libnetdutils",
        "libssl",
        "libutils",
        "libcutils",
        "netd_aidl_interface-lateststable-ndk",
        "netd_event_listener_interface-lateststable-ndk",
        "libip_checksum",
@@ -252,7 +248,6 @@ cc_test {
        "libstatslog_resolv",
        "libstatspush_compat",
        "libsysutils",
        "libutils",
        "resolv_stats_test_utils",
        "server_configurable_flags",
        "stats_proto",
+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ cc_test_library {
        "libbinder_ndk",
    ],
    static_libs: [
        "libutils",
        "netd_event_listener_interface-lateststable-ndk",
    ],
}
+0 −1
Original line number Diff line number Diff line
@@ -19,6 +19,5 @@ cc_test_library {
    static_libs: [
        "dnsresolver_aidl_interface-lateststable-ndk",
        "netd_event_listener_interface-lateststable-ndk",
        "libutils",
    ],
}