1# Copyright (C) 2016 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18LOCAL_MODULE_HOST_OS := linux
19LOCAL_SRC_FILES := ioshark_bench.c ioshark_bench_subr.c ioshark_bench_mmap.c
20LOCAL_CFLAGS := -g -O2 -Wall  -Werror
21LOCAL_MODULE := ioshark_bench
22LOCAL_MODULE_TAGS := debug
23LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
24include $(BUILD_EXECUTABLE)
25
26include $(CLEAR_VARS)
27LOCAL_MODULE_HOST_OS := linux
28LOCAL_SRC_FILES := compile_ioshark.c compile_ioshark_subr.c
29LOCAL_CFLAGS := -g -O2 -Wall -Werror -D_GNU_SOURCE
30LOCAL_MODULE := compile_ioshark
31LOCAL_MODULE_TAGS := debug
32include $(BUILD_HOST_EXECUTABLE)
33
34include $(CLEAR_VARS)
35LOCAL_MODULE_HOST_OS := linux
36LOCAL_SRC_FILES := dump_ioshark_filenames.c
37LOCAL_CFLAGS := -g -O2 -Wall -Werror -D_GNU_SOURCE
38LOCAL_MODULE := dump_ioshark_filenames
39LOCAL_MODULE_TAGS := debug
40include $(BUILD_HOST_EXECUTABLE)
41
42include $(CLEAR_VARS)
43LOCAL_MODULE_HOST_OS := linux
44LOCAL_SRC_FILES := convert_format.c
45LOCAL_CFLAGS := -g -O2 -Wall -Werror -D_GNU_SOURCE
46LOCAL_MODULE := convert_format
47LOCAL_MODULE_TAGS := debug
48include $(BUILD_HOST_EXECUTABLE)
49