You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/hw
|
|
LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/hw
|
|
|
|
|
|
LOCAL_MODULE := sound_trigger.primary.default
|
|
LOCAL_MULTILIB := 32
|
|
LOCAL_SRC_FILES := sound_trigger_hw.c
|
|
ifeq ($(strip $(PRODUCT_TYPE)),tv)
|
|
LOCAL_CFLAGS += -DTV_TYPE
|
|
endif
|
|
|
|
ifeq ($(strip $(PRODUCT_TYPE)),tv)
|
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libuapi_securec
|
|
else
|
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libuapi_securec
|
|
endif
|
|
|
|
LOCAL_HEADER_LIBRARIES := libhardware_headers
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_CFLAGS += -Wno-unused-parameter
|
|
LOCAL_CFLAGS += -Wno-format-nonliteral
|
|
LOCAL_CFLAGS += -Wno-unused-variable
|
|
LOCAL_CFLAGS += -Wno-incompatible-pointer-types
|
|
LOCAL_CFLAGS += -Wno-unused-function
|
|
LOCAL_CFLAGS += -Wno-pointer-integer-compare
|
|
LOCAL_CFLAGS += -fno-common
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
frameworks/av/media/libstagefright/foundation/include \
|
|
hardware/libhardware/include \
|
|
system/media/audio/include \
|
|
$(LOCAL_PATH) \
|
|
vendor/platform/secure_c/include
|
|
|
|
include $(BUILD_SHARED_LIBRARY) |