summaryrefslogtreecommitdiff
path: root/taskstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-03-20 11:10:50 -0700
committerColin Cross <ccross@android.com>2014-03-20 11:46:29 -0700
commite21a07848e8e1f88d6699ab35d4e1b987c7c9f30 (patch)
treea015697e472fea791e09bce5f53dcaa98185d349 /taskstats
parentbc00a58297afe9f9ec9fae6461c4bac410d04409 (diff)
downloadextras-e21a07848e8e1f88d6699ab35d4e1b987c7c9f30.tar.gz
taskstats: convert to libnl
libnl_2 has been replaced with libnl. Change-Id: Ie96a92c3a77a1a4dcbf0646b1a8f41659f0027e8
Diffstat (limited to 'taskstats')
-rw-r--r--taskstats/Android.mk8
-rw-r--r--taskstats/taskstats.c1
2 files changed, 2 insertions, 7 deletions
diff --git a/taskstats/Android.mk b/taskstats/Android.mk
index 81ebd55c..1a3cbdb7 100644
--- a/taskstats/Android.mk
+++ b/taskstats/Android.mk
@@ -6,15 +6,11 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
taskstats.c
-LOCAL_C_INCLUDES := \
- external/libnl-headers
-
-LOCAL_STATIC_LIBRARIES := \
- libnl_2
+LOCAL_SHARED_LIBRARIES := \
+ libnl
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE:= taskstats
-LOCAL_32_BIT_ONLY := true
include $(BUILD_EXECUTABLE)
diff --git a/taskstats/taskstats.c b/taskstats/taskstats.c
index 66cc0c5e..66e6abc7 100644
--- a/taskstats/taskstats.c
+++ b/taskstats/taskstats.c
@@ -23,7 +23,6 @@
#include <errno.h>
#include <getopt.h>
-#include <netlink-types.h>
#include <netlink/attr.h>
#include <netlink/genl/genl.h>
#include <netlink/handlers.h>