summaryrefslogtreecommitdiffstats
path: root/cmds/atrace/Android.mk
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-04-28 19:06:49 -0700
committerJamie Gennis <jgennis@google.com>2012-04-28 19:06:49 -0700
commit7b5170b249c1d312cfe3b5658b6c140b2a48226f (patch)
tree79b3b97e424aa5cc6804a9a9c9a4379d618ae70d /cmds/atrace/Android.mk
parentfe312b98f747d7818ce865fb5b12b805f2ce9a9b (diff)
downloadframeworks_native-7b5170b249c1d312cfe3b5658b6c140b2a48226f.zip
frameworks_native-7b5170b249c1d312cfe3b5658b6c140b2a48226f.tar.gz
frameworks_native-7b5170b249c1d312cfe3b5658b6c140b2a48226f.tar.bz2
atrace: add support for zlib compression
This change adds the -z command line flag to atrace to enable support for compressing the trace with zlib as it's printed to stdout. Change-Id: I45301c63a4d1d388152244fec3c9e05e554598e8
Diffstat (limited to 'cmds/atrace/Android.mk')
-rw-r--r--cmds/atrace/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/atrace/Android.mk b/cmds/atrace/Android.mk
index c1a0d87..df79e82 100644
--- a/cmds/atrace/Android.mk
+++ b/cmds/atrace/Android.mk
@@ -5,8 +5,12 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES:= atrace.c
+LOCAL_C_INCLUDES += external/zlib
+
LOCAL_MODULE:= atrace
LOCAL_MODULE_TAGS:= debug
+LOCAL_STATIC_LIBRARIES := libz
+
include $(BUILD_EXECUTABLE)