blob: dc53786131443d570f3e8251e92793c9e08b95b5 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3LOCAL_SHARED_LIBRARIES := libcutils libnvram
4# LOCAL_STATIC_LIBRARIES := libiw
5# LOCAL_MODULE_TAGS := optional
6LOCAL_SRC_FILES := libwifitest.c
7
8LOCAL_C_INCLUDES := \
9 $(MTK_PATH_SOURCE)/external/nvram/libnvram \
10 $(MTK_PATH_CUSTOM)/cgen/cfgfileinc \
11 $(MTK_PATH_CUSTOM)/cgen/cfgdefault \
12 $(MTK_PATH_CUSTOM)/cgen/inc
13
14#LOCAL_CFLAGS += -Wall -Werror
15LOCAL_PRELINK_MODULE := false
16LOCAL_MODULE := libwifitest
17LOCAL_MODULE_TAGS := optional
18include $(BUILD_SHARED_LIBRARY)
19
20BUILD_TEST_APP = false
21ifeq ($(BUILD_TEST_APP),true)
22 include $(CLEAR_VARS)
23 LOCAL_SHARED_LIBRARIES := libnvram libcutils libwifitest
24# LOCAL_STATIC_LIBRARIES := libiw
25 LOCAL_MODULE_TAGS := eng
26 LOCAL_SRC_FILES := main.c
27 LOCAL_CFLAGS += -Wall -Werror
28 LOCAL_MODULE := wifitest
29 LOCAL_MODULE_TAGS := optional
30 include $(BUILD_EXECUTABLE)
31endif
32