1BUILD_EXTRA_BT_TOOLS:=false 2 3LOCAL_PATH:= $(call my-dir) 4 5# 6# bttest 7# 8 9include $(CLEAR_VARS) 10 11LOCAL_SRC_FILES := bttest.c 12 13LOCAL_C_INCLUDES := \ 14 $(LOCAL_PATH)/../bluedroid/include \ 15 system/bluetooth/bluez-clean-headers 16 17LOCAL_SHARED_LIBRARIES := libbluedroid 18 19LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 20LOCAL_MODULE_TAGS := eng 21LOCAL_MODULE := bttest 22 23include $(BUILD_EXECUTABLE) 24 25ifeq ($(BUILD_EXTRA_BT_TOOLS),true) 26 27# 28# socktest 29# 30 31include $(CLEAR_VARS) 32 33LOCAL_SRC_FILES := socktest.c 34 35LOCAL_C_INCLUDES := \ 36 $(LOCAL_PATH)/../bluedroid/include \ 37 $(LOCAL_PATH)/../bluez-clean-headers 38 39LOCAL_SHARED_LIBRARIES := libbluedroid 40 41LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 42LOCAL_MODULE_TAGS := eng 43LOCAL_MODULE := socktest 44 45include $(BUILD_EXECUTABLE) 46 47# 48# asocket_test 49# 50 51include $(CLEAR_VARS) 52 53LOCAL_SRC_FILES := asocket_test.c 54 55LOCAL_C_INCLUDES := \ 56 $(LOCAL_PATH)/../bluez-clean-headers 57 58LOCAL_SHARED_LIBRARIES := libcutils 59 60LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 61LOCAL_MODULE_TAGS := eng 62LOCAL_MODULE := asocket_test 63 64include $(BUILD_EXECUTABLE) 65 66# 67# sock_shutdown_test 68# 69 70include $(CLEAR_VARS) 71 72LOCAL_SRC_FILES := sock_shutdown_test.c 73 74LOCAL_C_INCLUDES := \ 75 $(LOCAL_PATH)/../bluez-clean-headers 76 77LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 78LOCAL_MODULE_TAGS := eng 79LOCAL_MODULE := sock_shutdown_test 80 81include $(BUILD_EXECUTABLE) 82 83# 84# sock_shutdown_bug_l2cap 85# 86 87include $(CLEAR_VARS) 88 89LOCAL_SRC_FILES := sock_shutdown_bug_l2cap.c 90 91LOCAL_C_INCLUDES := \ 92 $(LOCAL_PATH)/../bluez-clean-headers 93 94LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 95LOCAL_MODULE_TAGS := eng 96LOCAL_MODULE := sock_shutdown_bug_l2cap 97 98LOCAL_SHARED_LIBRARIES := libbluetooth 99 100include $(BUILD_EXECUTABLE) 101 102# 103# sock_shutdown_bug_rfcomm 104# 105 106include $(CLEAR_VARS) 107 108LOCAL_SRC_FILES := sock_shutdown_bug_rfcomm.c 109 110LOCAL_C_INCLUDES := \ 111 $(LOCAL_PATH)/../bluez-clean-headers 112 113LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 114LOCAL_MODULE_TAGS := eng 115LOCAL_MODULE := sock_shutdown_bug_rfcomm 116 117LOCAL_SHARED_LIBRARIES := libbluetooth 118 119include $(BUILD_EXECUTABLE) 120 121# 122# sock_shutdown_bug_tcp 123# 124 125include $(CLEAR_VARS) 126 127LOCAL_SRC_FILES := sock_shutdown_bug_tcp.c 128 129LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 130LOCAL_MODULE_TAGS := eng 131LOCAL_MODULE := sock_shutdown_bug_tcp 132 133LOCAL_SHARED_LIBRARIES := libbluetooth 134 135include $(BUILD_EXECUTABLE) 136# 137# pipetest 138# 139 140include $(CLEAR_VARS) 141 142LOCAL_SRC_FILES := pipetest.c 143 144LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 145LOCAL_MODULE_TAGS := eng 146LOCAL_MODULE := pipetest 147 148include $(BUILD_EXECUTABLE) 149 150endif 151