this belongs on android-porting or android-platform, as this list is for the SDK only.
kris On Mon, May 28, 2012 at 12:07 AM, Jayashree Padmanaban <[email protected]> wrote: > Hi, > > We want to use #define value in Android framework/base code for a specific > feature. > > > > We have added a value in BoardConfig.mk & also added in > frameworks/base/Android.mk. > > > > Still we are not able to get the correct value in cpp files. > > > > Here what we have done: > > > > FEATURE_SUPPORT := true in BoardConfig.mk > > > > And > > > > ifeq ($(FEATURE_SUPPORT),true) > > LOCAL_CPPFLAGS += -DFEATURE_SUPPORT > > endif > > > > after the LOCAL_MODULE in frameworks/base/Android.mk > > > > In .cpp files, I am checking #ifdef FEATURE_SUPPORT > > > The value is not getting reflected.. > > > > Please let me know, if we are missing something here. > > > Thanks > > > Jayashree > > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > 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-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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-developers?hl=en

