if*n*eq ($(TARGET_BUILD_VARIANT),user) ... endif On Tue, Nov 24, 2009 at 8:40 AM, vj <vjvdixit.l...@gmail.com> wrote:
> Hi, > is there a way to implement a negative if/else statement within > Android.mk. Example: I do not want the build to be of type "user": > > So I would like something like this: > > ifeq ( ! ($(TARGET_BUILD_VARIANT), user) > LOCAL_SHARED_LIBRARIES += liblog > endif > > basically, I want liblog to be included in only USERDEBUG and ENG > builds. Any help would be appreciated. > > Thanks, > Vijay > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting