Always have the GNU make manual handy when working on make files. :) http://www.gnu.org/software/make/manual/
On Tue, Nov 24, 2009 at 9:36 AM, David Turner <[email protected]> wrote: > if*n*eq ($(TARGET_BUILD_VARIANT),user) > ... > endif > > > On Tue, Nov 24, 2009 at 8:40 AM, vj <[email protected]> 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: >> [email protected]<android-porting%[email protected]> >> website: http://groups.google.com/group/android-porting >> > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
