Hello,

some of our developer have put this code in one of our Android.mk

ifeq ($(TARGET_BUILD_VARIANT),eng)
  LOCAL_CFLAGS += -DDEBUG
endif

if one do:
lunch myboard-eng
make
lunch myboard-userdebug
make

The result is the the userdebug build still gets the DEBUG binaries in
it.
Rootcause is that my module's object does not depend on the
TARGET_BUILD_VARIANT, so that they are not rebuilt, if I only change
the variant.

Any idea on how to resolve this issue in an elegant way?

Pierre

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to