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

Commit a9c64cdb authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Revert "Build libcpustats for host""

parents 952a05fe e6a754b7
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)