diff options
author | Mohan Srinivasan <srmohan@google.com> | 2017-01-22 16:07:45 -0800 |
---|---|---|
committer | Mohan Srinivasan <srmohan@google.com> | 2017-01-22 16:07:45 -0800 |
commit | 0396953f0930189bd090329b5defc3f7194f4311 (patch) | |
tree | b0d4f33273d8108fd737f7069309dd7ceefdb605 /ioshark | |
parent | b707f30a7cdd521db5d0d1c1e5c391e61a1675c9 (diff) | |
download | extras-0396953f0930189bd090329b5defc3f7194f4311.tar.gz |
Android.mk flags to install ioshark only on userdebug builds.
Android.mk flags to build and install ioshark only on userdebug
builds, where it is installed in xbin/.
Test: Build user and userdebug, and make sure that (a) ioshark
only gets built on userdebug builds and installed under xbin/.
Change-Id: Ia2a367d9e33884cc46f65761b283d8b1eb9f280a
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
Diffstat (limited to 'ioshark')
-rw-r--r-- | ioshark/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ioshark/Android.mk b/ioshark/Android.mk index ba648b73..04ddeb10 100644 --- a/ioshark/Android.mk +++ b/ioshark/Android.mk @@ -20,6 +20,8 @@ LOCAL_MODULE_HOST_OS := linux LOCAL_SRC_FILES := ioshark_bench.c ioshark_bench_subr.c ioshark_bench_mmap.c LOCAL_CFLAGS := -g -O2 -Wall -Werror LOCAL_MODULE := ioshark_bench +LOCAL_MODULE_TAGS := debug +LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) @@ -28,6 +30,7 @@ LOCAL_MODULE_HOST_OS := linux LOCAL_SRC_FILES := compile_ioshark.c compile_ioshark_subr.c LOCAL_CFLAGS := -g -O2 -Wall -Werror -D_GNU_SOURCE LOCAL_MODULE := compile_ioshark +LOCAL_MODULE_TAGS := debug include $(BUILD_HOST_EXECUTABLE) |