Loading media/libcpustats/Android.mk +12 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,15 @@ 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) media/libcpustats/ThreadCpuUsage.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,11 @@ #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) Loading Loading
media/libcpustats/Android.mk +12 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,15 @@ 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)
media/libcpustats/ThreadCpuUsage.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,11 @@ #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) Loading