blob: 507b1f6994a629e587d28765c1b23ae5921c3339 [file] [log] [blame]
ifeq ($(call is-board-platform-in-list, msmnile kona lahaina taro bengal),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
#----------------------------------------------------------------------------
# Make the Shared library (libsndcardparser)
#----------------------------------------------------------------------------
LOCAL_C_INCLUDES := $(LOCAL_PATH)/inc
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/include/mm-audio/
LOCAL_CFLAGS := -Wno-unused-parameter
LOCAL_CFLAGS += -DCARD_DEF_FILE=\"/vendor/etc/card-defs.xml\"
LOCAL_CFLAGS += -Wall
LOCAL_HEADER_LIBRARIES := libagm_headers
LOCAL_SRC_FILES := src/snd-card-parser.c
LOCAL_MODULE := libsndcardparser
LOCAL_MODULE_OWNER := qti
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := \
libexpat \
libcutils
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/inc
LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)
endif # is-board-platform-in-list