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

Commit e6a754b7 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Revert "Build libcpustats for host"

This reverts commit caaf5eef.

Change-Id: I8309dd2c3fa20be41e60e6739491418cf3679980
parent caaf5eef
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -11,15 +11,3 @@ LOCAL_MODULE := libcpustats
LOCAL_CFLAGS := -Werror -Wall

include $(BUILD_STATIC_LIBRARY)

include $(CLEAR_VARS)

LOCAL_SRC_FILES :=     \
        CentralTendencyStatistics.cpp \
        ThreadCpuUsage.cpp

LOCAL_MODULE := libcpustats

LOCAL_CFLAGS := -std=gnu++11 -Werror -Wall

include $(BUILD_HOST_STATIC_LIBRARY)
+0 −5
Original line number Diff line number Diff line
@@ -26,11 +26,6 @@

#include <cpustats/ThreadCpuUsage.h>

// implemented by host, but not declared in <string.h> as FreeBSD does
extern "C" {
    extern size_t strlcpy(char *dst, const char *src, size_t dstsize);
}

namespace android {

bool ThreadCpuUsage::setEnabled(bool isEnabled)