| ifneq ($(AUDIO_USE_STUB_HAL), true) |
| ifeq ($(strip $(BOARD_SUPPORTS_QAHW)),true) |
| |
| LOCAL_PATH := $(call my-dir) |
| |
| include $(CLEAR_VARS) |
| |
| LOCAL_MODULE := libqahwwrapper |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_C_INCLUDES := $(LOCAL_PATH)/inc |
| |
| LOCAL_SRC_FILES := \ |
| src/qahw.c \ |
| src/qahw_effect.c |
| |
| LOCAL_SHARED_LIBRARIES := \ |
| liblog \ |
| libcutils \ |
| libhardware \ |
| libdl |
| |
| LOCAL_CFLAGS += -Wall -Werror |
| |
| LOCAL_PRELINK_MODULE := false |
| LOCAL_VENDOR_MODULE := true |
| |
| include $(BUILD_SHARED_LIBRARY) |
| |
| include $(CLEAR_VARS) |
| |
| LOCAL_MODULE := libqahw_headers |
| LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/inc |
| LOCAL_PROPRIETARY_MODULE := true |
| |
| include $(BUILD_HEADER_LIBRARY) |
| endif |
| endif |