#*******************************************************************************
# Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
#*******************************************************************************

if(LEGATO_COMPONENTS_AUDIO EQUAL "ar7")
    set(CODEC_ENABLE_FLAG 1)
else()
     set(CODEC_ENABLE_FLAG 0)
endif()

mkapp(audioMccTest.adef
    -i ${LEGATO_ROOT}/interfaces/modemServices
    --cflags=-DENABLE_CODEC=${CODEC_ENABLE_FLAG}
)

#*******************************************************************************
# Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
#*******************************************************************************

if(LEGATO_COMPONENTS_AUDIO STREQUAL "ar7")
    set(CODEC_ENABLE_FLAG 1)
else()
     set(CODEC_ENABLE_FLAG 0)
endif()

mkapp(audioMccTest.adef
    -i ${LEGATO_ROOT}/interfaces/modemServices
    --cflags=-DENABLE_CODEC=${CODEC_ENABLE_FLAG}
)

Fix platform test in CMakeList.txt for audioMccTest
Fix platform test in CMakeList.txt for audioMccTest

Resolves: LE9XXX-256
Change-Id: I2abe4aa10b0ad58d1b1a6402f8cbcd4feaf68fb8
