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

Commit 6ae7c468 authored by Boleyn Su's avatar Boleyn Su
Browse files

Fix test/Android.bp on ARC builds

Bug: 171282726
Test: cd frameworks/native/cmds/installd && atest
Change-Id: Icccf6b49bf8b673749456d40415f5e8392d49374
parent 99f85854
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
@@ -41,6 +41,21 @@ cc_test {
        "liblogwrap",
    ],
    test_config: "installd_cache_test.xml",

    product_variables: {
        arc: {
            exclude_srcs: [
                "QuotaUtils.cpp",
            ],
            static_libs: [
                "libarcdiskquota",
                "arc_services_aidl",
            ],
            cflags: [
                "-DUSE_ARC",
            ],
        },
    },
}

cc_test {
@@ -66,6 +81,21 @@ cc_test {
        "liblogwrap",
    ],
    test_config: "installd_service_test.xml",

    product_variables: {
        arc: {
            exclude_srcs: [
                "QuotaUtils.cpp",
            ],
            static_libs: [
                "libarcdiskquota",
                "arc_services_aidl",
            ],
            cflags: [
                "-DUSE_ARC",
            ],
        },
    },
}

cc_test {
@@ -93,6 +123,21 @@ cc_test {
        "libz",
    ],
    test_config: "installd_dexopt_test.xml",

    product_variables: {
        arc: {
            exclude_srcs: [
                "QuotaUtils.cpp",
            ],
            static_libs: [
                "libarcdiskquota",
                "arc_services_aidl",
            ],
            cflags: [
                "-DUSE_ARC",
            ],
        },
    },
}

cc_test {