'error in converting Android.mk to android.bp, how should it be converted in Android.bp?

error:variable "TARGET_GPU_PLATFORM" is not set.

LOCAL_CFLAGS+= -DTARGET_GPU_PLATFORM=$(TARGET_GPU_PLATFORM)

Where TARGET_GPU_PLATFORM is a variable, how should it be converted in Android.bp?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source