2013-01-18 00:50:22 +00:00
|
|
|
ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true)
|
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_ARM_MODE := arm
|
|
|
|
|
2013-08-20 01:47:21 +00:00
|
|
|
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
|
2013-10-29 13:07:44 +00:00
|
|
|
|
2016-03-05 02:31:22 +00:00
|
|
|
ifneq ($(filter msm8974 msm8226 msm8610 apq8084 msm8994 msm8992 msm8996 msmcobalt,$(TARGET_BOARD_PLATFORM)),)
|
2013-08-20 01:47:21 +00:00
|
|
|
# B-family platform uses msm8974 code base
|
|
|
|
AUDIO_PLATFORM = msm8974
|
2013-10-29 13:07:44 +00:00
|
|
|
MULTIPLE_HW_VARIANTS_ENABLED := true
|
2013-10-07 22:23:41 +00:00
|
|
|
ifneq ($(filter msm8610,$(TARGET_BOARD_PLATFORM)),)
|
|
|
|
LOCAL_CFLAGS := -DPLATFORM_MSM8610
|
|
|
|
endif
|
2013-10-01 22:49:05 +00:00
|
|
|
ifneq ($(filter msm8226,$(TARGET_BOARD_PLATFORM)),)
|
|
|
|
LOCAL_CFLAGS := -DPLATFORM_MSM8x26
|
|
|
|
endif
|
2013-11-13 19:46:52 +00:00
|
|
|
ifneq ($(filter apq8084,$(TARGET_BOARD_PLATFORM)),)
|
|
|
|
LOCAL_CFLAGS := -DPLATFORM_APQ8084
|
|
|
|
endif
|
2014-05-20 01:20:59 +00:00
|
|
|
ifneq ($(filter msm8994,$(TARGET_BOARD_PLATFORM)),)
|
|
|
|
LOCAL_CFLAGS := -DPLATFORM_MSM8994
|
|
|
|
endif
|
2014-12-09 21:08:07 +00:00
|
|
|
ifneq ($(filter msm8992,$(TARGET_BOARD_PLATFORM)),)
|
|
|
|
LOCAL_CFLAGS := -DPLATFORM_MSM8994
|
|
|
|
endif
|
2015-03-24 18:56:14 +00:00
|
|
|
ifneq ($(filter msm8996,$(TARGET_BOARD_PLATFORM)),)
|
|
|
|
LOCAL_CFLAGS := -DPLATFORM_MSM8996
|
2014-10-16 01:29:34 +00:00
|
|
|
endif
|
2016-03-05 02:31:22 +00:00
|
|
|
ifneq ($(filter msmcobalt,$(TARGET_BOARD_PLATFORM)),)
|
|
|
|
LOCAL_CFLAGS := -DPLATFORM_MSMCOBALT
|
|
|
|
endif
|
2013-08-20 01:47:21 +00:00
|
|
|
endif
|
|
|
|
|
2016-03-10 11:53:15 +00:00
|
|
|
ifneq ($(filter msm8916 msm8909 msm8952 msm8937 thorium msm8953 msmgold,$(TARGET_BOARD_PLATFORM)),)
|
2014-03-05 12:03:47 +00:00
|
|
|
AUDIO_PLATFORM = msm8916
|
|
|
|
MULTIPLE_HW_VARIANTS_ENABLED := true
|
|
|
|
LOCAL_CFLAGS := -DPLATFORM_MSM8916
|
2014-09-17 08:04:31 +00:00
|
|
|
ifneq ($(filter msm8909,$(TARGET_BOARD_PLATFORM)),)
|
2014-07-11 13:44:23 +00:00
|
|
|
LOCAL_CFLAGS := -DPLATFORM_MSM8909
|
|
|
|
endif
|
2014-03-05 12:03:47 +00:00
|
|
|
endif
|
2014-01-30 13:42:53 +00:00
|
|
|
|
2013-01-18 00:50:22 +00:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
audio_hw.c \
|
2013-10-01 22:49:05 +00:00
|
|
|
voice.c \
|
2014-01-10 21:49:02 +00:00
|
|
|
platform_info.c \
|
2013-08-20 01:47:21 +00:00
|
|
|
$(AUDIO_PLATFORM)/platform.c
|
2013-01-18 00:50:22 +00:00
|
|
|
|
2014-03-10 21:43:05 +00:00
|
|
|
LOCAL_SRC_FILES += audio_extn/audio_extn.c \
|
|
|
|
audio_extn/utils.c
|
2014-04-25 18:08:08 +00:00
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
2013-10-04 23:13:44 +00:00
|
|
|
|
2015-02-26 23:03:10 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HDMI_EDID)),true)
|
2015-07-01 23:57:32 +00:00
|
|
|
LOCAL_CFLAGS += -DHDMI_EDID
|
2014-09-09 16:50:01 +00:00
|
|
|
LOCAL_SRC_FILES += edid.c
|
|
|
|
endif
|
|
|
|
|
2015-03-17 01:10:58 +00:00
|
|
|
ifeq ($(strip $(AUDIO_USE_LL_AS_PRIMARY_OUTPUT)),true)
|
|
|
|
LOCAL_CFLAGS += -DUSE_LL_AS_PRIMARY_OUTPUT
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD)),true)
|
2014-04-04 00:47:22 +00:00
|
|
|
LOCAL_CFLAGS += -DPCM_OFFLOAD_ENABLED
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ANC_HEADSET)),true)
|
2013-10-04 23:13:44 +00:00
|
|
|
LOCAL_CFLAGS += -DANC_HEADSET_ENABLED
|
|
|
|
endif
|
|
|
|
|
2016-01-29 10:01:04 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HIFI_AUDIO)),true)
|
|
|
|
LOCAL_CFLAGS += -DHIFI_AUDIO_ENABLED
|
|
|
|
endif
|
|
|
|
|
2015-09-11 08:11:30 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_VBAT_MONITOR)),true)
|
|
|
|
LOCAL_CFLAGS += -DVBAT_MONITOR_ENABLED
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FLUENCE)),true)
|
2014-03-27 14:17:56 +00:00
|
|
|
LOCAL_CFLAGS += -DFLUENCE_ENABLED
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),true)
|
2013-10-04 23:13:44 +00:00
|
|
|
LOCAL_CFLAGS += -DAFE_PROXY_ENABLED
|
|
|
|
endif
|
|
|
|
|
2014-12-03 19:55:17 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE)),true)
|
|
|
|
LOCAL_CFLAGS += -DKPI_OPTIMIZE_ENABLED
|
|
|
|
endif
|
|
|
|
|
2015-10-27 03:40:36 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FM_POWER_OPT)),true)
|
|
|
|
LOCAL_CFLAGS += -DFM_POWER_OPT
|
2013-10-06 21:39:35 +00:00
|
|
|
LOCAL_SRC_FILES += audio_extn/fm.c
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_USBAUDIO)),true)
|
2013-10-08 01:40:05 +00:00
|
|
|
LOCAL_CFLAGS += -DUSB_HEADSET_ENABLED
|
|
|
|
LOCAL_SRC_FILES += audio_extn/usb.c
|
|
|
|
endif
|
2014-05-16 19:10:55 +00:00
|
|
|
|
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HFP)),true)
|
2013-11-05 23:57:39 +00:00
|
|
|
LOCAL_CFLAGS += -DHFP_ENABLED
|
|
|
|
LOCAL_SRC_FILES += audio_extn/hfp.c
|
|
|
|
endif
|
2013-10-08 01:40:05 +00:00
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_CUSTOMSTEREO)),true)
|
2014-02-11 04:07:12 +00:00
|
|
|
LOCAL_CFLAGS += -DCUSTOM_STEREO_ENABLED
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SSR)),true)
|
2013-10-19 19:38:54 +00:00
|
|
|
LOCAL_CFLAGS += -DSSR_ENABLED
|
|
|
|
LOCAL_SRC_FILES += audio_extn/ssr.c
|
2015-07-02 17:36:23 +00:00
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/surround_sound_3mic/
|
2014-03-24 18:25:42 +00:00
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/common/inc/
|
2013-10-19 19:38:54 +00:00
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS)),true)
|
2013-10-25 23:24:27 +00:00
|
|
|
LOCAL_CFLAGS += -DMULTI_VOICE_SESSION_ENABLED
|
|
|
|
LOCAL_SRC_FILES += voice_extn/voice_extn.c
|
2014-04-25 18:08:08 +00:00
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_INCALL_MUSIC)),true)
|
2013-10-25 23:24:27 +00:00
|
|
|
LOCAL_CFLAGS += -DINCALL_MUSIC_ENABLED
|
|
|
|
endif
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_VOIP)),true)
|
2013-11-15 23:21:40 +00:00
|
|
|
LOCAL_CFLAGS += -DCOMPRESS_VOIP_ENABLED
|
|
|
|
LOCAL_SRC_FILES += voice_extn/compress_voip.c
|
|
|
|
endif
|
2014-03-10 21:43:05 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FORMATS)),true)
|
2015-08-12 12:51:25 +00:00
|
|
|
LOCAL_CFLAGS += -DAUDIO_EXTN_FORMATS_ENABLED
|
2013-10-28 21:06:03 +00:00
|
|
|
endif
|
2013-10-25 23:24:27 +00:00
|
|
|
|
2014-07-16 23:18:51 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SPKR_PROTECTION)),true)
|
2013-10-28 21:06:03 +00:00
|
|
|
LOCAL_CFLAGS += -DSPKR_PROT_ENABLED
|
|
|
|
LOCAL_SRC_FILES += audio_extn/spkr_protection.c
|
|
|
|
endif
|
2013-10-25 23:24:27 +00:00
|
|
|
|
2013-10-29 13:07:44 +00:00
|
|
|
ifdef MULTIPLE_HW_VARIANTS_ENABLED
|
|
|
|
LOCAL_CFLAGS += -DHW_VARIANTS_ENABLED
|
|
|
|
LOCAL_SRC_FILES += $(AUDIO_PLATFORM)/hw_info.c
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_CAPTURE)),true)
|
2013-10-25 23:26:03 +00:00
|
|
|
LOCAL_CFLAGS += -DCOMPRESS_CAPTURE_ENABLED
|
|
|
|
LOCAL_SRC_FILES += audio_extn/compress_capture.c
|
|
|
|
endif
|
|
|
|
|
2014-11-23 03:34:13 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DTS_EAGLE)),true)
|
|
|
|
LOCAL_CFLAGS += -DDTS_EAGLE
|
|
|
|
LOCAL_SRC_FILES += audio_extn/dts_eagle.c
|
|
|
|
endif
|
|
|
|
|
2014-05-16 19:10:55 +00:00
|
|
|
ifeq ($(strip $(DOLBY_DDP)),true)
|
2013-11-14 00:57:00 +00:00
|
|
|
LOCAL_CFLAGS += -DDS1_DOLBY_DDP_ENABLED
|
2013-12-14 08:34:53 +00:00
|
|
|
LOCAL_SRC_FILES += audio_extn/dolby.c
|
2013-11-14 00:57:00 +00:00
|
|
|
endif
|
|
|
|
|
2015-05-01 09:18:17 +00:00
|
|
|
ifeq ($(strip $(DS1_DOLBY_DAP)),true)
|
2013-12-14 08:34:53 +00:00
|
|
|
LOCAL_CFLAGS += -DDS1_DOLBY_DAP_ENABLED
|
2014-05-16 19:10:55 +00:00
|
|
|
ifneq ($(strip $(DOLBY_DDP)),true)
|
2013-12-14 08:34:53 +00:00
|
|
|
LOCAL_SRC_FILES += audio_extn/dolby.c
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-08-04 21:23:35 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER)),true)
|
2015-04-24 13:42:43 +00:00
|
|
|
LOCAL_CFLAGS += -DFLAC_OFFLOAD_ENABLED
|
|
|
|
LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD)),true)
|
|
|
|
LOCAL_CFLAGS += -DVORBIS_OFFLOAD_ENABLED
|
|
|
|
LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_WMA_OFFLOAD)),true)
|
|
|
|
LOCAL_CFLAGS += -DWMA_OFFLOAD_ENABLED
|
|
|
|
LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD)),true)
|
|
|
|
LOCAL_CFLAGS += -DALAC_OFFLOAD_ENABLED
|
|
|
|
LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_APE_OFFLOAD)),true)
|
|
|
|
LOCAL_CFLAGS += -DAPE_OFFLOAD_ENABLED
|
|
|
|
LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
|
2014-08-04 21:23:35 +00:00
|
|
|
endif
|
|
|
|
|
2015-02-25 23:14:26 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24)),true)
|
|
|
|
LOCAL_CFLAGS += -DPCM_OFFLOAD_ENABLED_24
|
|
|
|
endif
|
|
|
|
|
2015-08-24 15:00:31 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD)),true)
|
|
|
|
LOCAL_CFLAGS += -DAAC_ADTS_OFFLOAD_ENABLED
|
|
|
|
endif
|
|
|
|
|
2014-05-13 10:01:37 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DEV_ARBI)),true)
|
|
|
|
LOCAL_CFLAGS += -DDEV_ARBI_ENABLED
|
|
|
|
LOCAL_SRC_FILES += audio_extn/dev_arbi.c
|
|
|
|
endif
|
|
|
|
|
2014-10-26 10:00:55 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY)),true)
|
|
|
|
LOCAL_CFLAGS += -DRECORD_PLAY_CONCURRENCY
|
|
|
|
endif
|
|
|
|
|
2014-10-16 08:26:28 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ACDB_LICENSE)), true)
|
|
|
|
LOCAL_CFLAGS += -DDOLBY_ACDB_LICENSE
|
|
|
|
endif
|
|
|
|
|
2014-09-09 16:49:10 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP)),true)
|
|
|
|
LOCAL_CFLAGS += -DDS2_DOLBY_DAP_ENABLED
|
2015-05-01 09:18:17 +00:00
|
|
|
LOCAL_CFLAGS += -DDS1_DOLBY_DDP_ENABLED
|
2014-09-09 16:49:10 +00:00
|
|
|
ifneq ($(strip $(DOLBY_DDP)),true)
|
2015-05-01 09:18:17 +00:00
|
|
|
ifneq ($(strip $(DS1_DOLBY_DAP)),true)
|
2014-09-09 16:49:10 +00:00
|
|
|
LOCAL_SRC_FILES += audio_extn/dolby.c
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-10-20 23:17:01 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HDMI_PASSTHROUGH)),true)
|
|
|
|
LOCAL_CFLAGS += -DHDMI_PASSTHROUGH_ENABLED
|
|
|
|
endif
|
|
|
|
|
2015-03-06 22:57:35 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SOURCE_TRACKING)),true)
|
|
|
|
LOCAL_CFLAGS += -DSOURCE_TRACKING_ENABLED
|
|
|
|
LOCAL_SRC_FILES += audio_extn/source_track.c
|
|
|
|
endif
|
|
|
|
|
2013-01-18 00:50:22 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
liblog \
|
|
|
|
libcutils \
|
|
|
|
libtinyalsa \
|
2013-07-17 22:22:04 +00:00
|
|
|
libtinycompress \
|
2013-01-18 00:50:22 +00:00
|
|
|
libaudioroute \
|
2014-01-10 21:49:02 +00:00
|
|
|
libdl \
|
2014-08-07 23:44:25 +00:00
|
|
|
libexpat
|
2013-01-18 00:50:22 +00:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
|
|
external/tinyalsa/include \
|
2013-07-17 22:22:04 +00:00
|
|
|
external/tinycompress/include \
|
2014-01-10 21:49:02 +00:00
|
|
|
external/expat/lib \
|
2013-04-16 22:55:53 +00:00
|
|
|
$(call include-path-for, audio-route) \
|
2013-05-14 22:27:20 +00:00
|
|
|
$(call include-path-for, audio-effects) \
|
2013-10-04 23:13:44 +00:00
|
|
|
$(LOCAL_PATH)/$(AUDIO_PLATFORM) \
|
2013-11-15 23:21:40 +00:00
|
|
|
$(LOCAL_PATH)/audio_extn \
|
2014-08-07 23:44:25 +00:00
|
|
|
$(LOCAL_PATH)/voice_extn
|
2013-01-18 00:50:22 +00:00
|
|
|
|
2013-10-29 20:29:42 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_LISTEN)),true)
|
|
|
|
LOCAL_CFLAGS += -DAUDIO_LISTEN_ENABLED
|
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/audio-listen
|
|
|
|
LOCAL_SRC_FILES += audio_extn/listen.c
|
|
|
|
endif
|
|
|
|
|
2015-05-13 05:22:34 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXT_HDMI)),true)
|
|
|
|
LOCAL_CFLAGS += -DAUDIO_EXTERNAL_HDMI_ENABLED
|
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HDMI_PASSTHROUGH)),true)
|
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/audio-parsers
|
|
|
|
LOCAL_SHARED_LIBRARIES += libaudioparsers
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-09-09 23:06:42 +00:00
|
|
|
ifeq ($(strip $(BOARD_SUPPORTS_SOUND_TRIGGER)),true)
|
|
|
|
LOCAL_CFLAGS += -DSOUND_TRIGGER_ENABLED
|
|
|
|
LOCAL_CFLAGS += -DSOUND_TRIGGER_PLATFORM_NAME=$(TARGET_BOARD_PLATFORM)
|
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/sound_trigger
|
|
|
|
LOCAL_SRC_FILES += audio_extn/soundtrigger.c
|
|
|
|
endif
|
|
|
|
|
2013-11-07 01:59:04 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AUXPCM_BT)),true)
|
|
|
|
LOCAL_CFLAGS += -DAUXPCM_BT_ENABLED
|
|
|
|
endif
|
|
|
|
|
2015-02-02 07:10:59 +00:00
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PM_SUPPORT)),true)
|
|
|
|
LOCAL_CFLAGS += -DPM_SUPPORT_ENABLED
|
|
|
|
LOCAL_SRC_FILES += audio_extn/pm.c
|
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libperipheralclient/inc
|
|
|
|
LOCAL_SHARED_LIBRARIES += libperipheral_client
|
|
|
|
endif
|
|
|
|
|
2016-04-14 13:35:23 +00:00
|
|
|
LOCAL_CFLAGS += -Wall -Werror
|
2016-01-29 23:49:38 +00:00
|
|
|
|
2014-08-04 22:49:24 +00:00
|
|
|
LOCAL_COPY_HEADERS_TO := mm-audio
|
|
|
|
LOCAL_COPY_HEADERS := audio_extn/audio_defs.h
|
|
|
|
|
2013-10-07 22:23:41 +00:00
|
|
|
LOCAL_MODULE := audio.primary.$(TARGET_BOARD_PLATFORM)
|
2013-01-18 00:50:22 +00:00
|
|
|
|
2014-05-29 19:48:15 +00:00
|
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
2013-01-18 00:50:22 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
endif
|