rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | LOCAL_SHARED_LIBRARIES := libcutils libnvram |
| 4 | # LOCAL_STATIC_LIBRARIES := libiw |
| 5 | # LOCAL_MODULE_TAGS := optional |
| 6 | LOCAL_SRC_FILES := libwifitest.c |
| 7 | |
| 8 | LOCAL_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 |
| 15 | LOCAL_PRELINK_MODULE := false |
| 16 | LOCAL_MODULE := libwifitest |
| 17 | LOCAL_MODULE_TAGS := optional |
| 18 | include $(BUILD_SHARED_LIBRARY) |
| 19 | |
| 20 | BUILD_TEST_APP = false |
| 21 | ifeq ($(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) |
| 31 | endif |
| 32 | |