Sunday, May 27, 2012

[android-developers] #define not getting reflected

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate