diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -15,7 +15,7 @@ LOCAL_PATH := $(call my-dir) -ifeq ($(strip $(BOARD_USES_TINYALSA_LIBAUDIO)),true) +ifeq ($(strip $(BOARD_USE_TINYALSA_AUDIO)),true) include $(CLEAR_VARS) @@ -41,6 +41,16 @@ LOCAL_SHARED_LIBRARIES := \ libaudioutils \ libdl +ifeq ($(strip $(BOARD_USE_YAMAHA_MC1N2_AUDIO)),true) + LOCAL_CFLAGS += -DYAMAHA_MC1N2_AUDIO + LOCAL_C_INCLUDES += hardware/yamaha-mc1n2-audio/include + LOCAL_SHARED_LIBRARIES += libyamaha-mc1n2-audio + + ifeq ($(TARGET_DEVICE),galaxys2) + LOCAL_CFLAGS += -DYAMAHA_MC1N2_AUDIO_DEVICE=\"galaxys2\" + endif +endif + LOCAL_PRELINK_MODULE := false LOCAL_MODULE_TAGS := optional |