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

Commit f7c2fbc1 authored by Tri Vo's avatar Tri Vo
Browse files

Add cc_defaults VtsHalTargetTestDefaults

Makes it easier to control how vts tests link to system libs.
Also, removes a lot of redundant lines in test make rules.

Bug: 64040096
Test: compiles
Merged-In: I10796e3fa8f61a307dbb7edace537a96ec83bea7
Change-Id: I10796e3fa8f61a307dbb7edace537a96ec83bea7
(cherry picked from commit 0b19836c)
parent 9138b4ce
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -9,3 +9,26 @@ cc_defaults {
        "-Werror",
    ],
}

cc_defaults {
    name: "VtsHalTargetTestDefaults",
    defaults: ["hidl_defaults"],
    static_libs: [
        "VtsHalHidlTargetTestBase",
    ],
    group_static_libs: true,
    shared_libs: [
        "libbase",
        "libcutils",
        "liblog",
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "libutils",
    ],
    cflags: [
        "-O0",
        "-g",
    ],

}