Hello, Is it possible to access a feature flag set in a device setup mk file.
For example: https://android.googlesource.com/device/lge/bullhead/+/master/device.mk#297 TARGET_USES_NANOHUB_SENSORHAL Can we access it in a go file? if ctx.AConfig().IsEnvTrue("TARGET_USES_NANOHUB_SENSORHAL") { cflags = append(cflags, "-DTARGET_USES_NANOHUB_SENSORHAL") } I am trying to add a define and add a shared lib in my Android.bp file that are dependent on a conditional feature flag. BR /Michael -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
