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

Commit 26bfee52 authored by Richard Uhler's avatar Richard Uhler
Browse files

Revert "Make libutils test compile on the host"

Fails mac build: "system/core/include/utils/Looper.h:25:10: fatal error: 'sys/epoll.h' file not found"

This reverts commit afa891e8.

Change-Id: Ib558b8f5a303b55ab32a399d338d8aac0fae32b2
parent afa891e8
Loading
Loading
Loading
Loading
+15 −25
Original line number Diff line number Diff line
@@ -18,43 +18,33 @@

cc_test {
    name: "libutils_tests",
    host_supported: true,

    srcs: [
        "BlobCache_test.cpp",
        "BitSet_test.cpp",
        "Looper_test.cpp",
        "LruCache_test.cpp",
        "RefBase_test.cpp",
        "String8_test.cpp",
        "StrongPointer_test.cpp",
        "SystemClock_test.cpp",
        "Unicode_test.cpp",
        "Vector_test.cpp",
    ],

    target: {
        android: {
            srcs: [
                "BlobCache_test.cpp",
                "SystemClock_test.cpp",
            ],
    shared_libs: [
        "libz",
        "liblog",
        "libcutils",
        "libutils",
    ],
        },
        host: {
}

cc_test_host {
    name: "libutils_tests_host",
    srcs: ["Vector_test.cpp"],
    static_libs: [
        "libutils",
        "liblog",
    ],
        },
    },

    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
}