diff options
author | Steve Kondik <steve@cyngn.com> | 2014-12-08 04:02:28 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2014-12-23 00:54:51 -0800 |
commit | 991706efe04768ca26ad7f946b3abcdb56341914 (patch) | |
tree | 80945e192024a8879e528f36caa93f3594e05eb0 | |
parent | 971b95b38ec6400e6e21fc1a263c24e34c9a8dd6 (diff) | |
download | android_hardware_qcom_audio-991706efe04768ca26ad7f946b3abcdb56341914.tar.gz android_hardware_qcom_audio-991706efe04768ca26ad7f946b3abcdb56341914.tar.bz2 android_hardware_qcom_audio-991706efe04768ca26ad7f946b3abcdb56341914.zip |
hal: Invert standard build flags
* Always include these unless explicitly negated
Change-Id: I3931ef089dddcd9ac9f61d8b7e870cf916a4e47d
-rw-r--r-- | hal/Android.mk | 12 | ||||
-rw-r--r-- | post_proc/Android.mk | 3 |
2 files changed, 7 insertions, 8 deletions
diff --git a/hal/Android.mk b/hal/Android.mk index 694fb379..002e3a85 100644 --- a/hal/Android.mk +++ b/hal/Android.mk @@ -50,11 +50,11 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ANC_HEADSET)),true) LOCAL_CFLAGS += -DANC_HEADSET_ENABLED endif -ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FLUENCE)),true) +ifneq ($(strip $(AUDIO_FEATURE_ENABLED_FLUENCE)),false) LOCAL_CFLAGS += -DFLUENCE_ENABLED endif -ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),true) +ifneq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),false) LOCAL_CFLAGS += -DAFE_PROXY_ENABLED endif @@ -68,7 +68,7 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_USBAUDIO)),true) LOCAL_SRC_FILES += audio_extn/usb.c endif -ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HFP)),true) +ifneq ($(strip $(AUDIO_FEATURE_ENABLED_HFP)),false) LOCAL_CFLAGS += -DHFP_ENABLED LOCAL_SRC_FILES += audio_extn/hfp.c endif @@ -88,17 +88,17 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS)),true) LOCAL_CFLAGS += -DMULTI_VOICE_SESSION_ENABLED LOCAL_SRC_FILES += voice_extn/voice_extn.c -ifeq ($(strip $(AUDIO_FEATURE_ENABLED_INCALL_MUSIC)),true) +ifneq ($(strip $(AUDIO_FEATURE_ENABLED_INCALL_MUSIC)),false) LOCAL_CFLAGS += -DINCALL_MUSIC_ENABLED endif -ifeq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_VOIP)),true) +ifneq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_VOIP)),false) LOCAL_CFLAGS += -DCOMPRESS_VOIP_ENABLED LOCAL_SRC_FILES += voice_extn/compress_voip.c endif endif -ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FORMATS)),true) +ifneq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FORMATS)),false) LOCAL_CFLAGS += -DFORMATS_ENABLED endif diff --git a/post_proc/Android.mk b/post_proc/Android.mk index 7d0c9f51..0d22843b 100644 --- a/post_proc/Android.mk +++ b/post_proc/Android.mk @@ -1,9 +1,8 @@ - LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) -ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),true) +ifneq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),false) LOCAL_CFLAGS += -DAFE_PROXY_ENABLED endif |