Hi kees, the concept and sample is very clear.

Thanks a lot!


2011/3/11 freakingtux <[email protected]>

> frameworks/base/Android.mk for example:
>
> # Include a different set of source files when building a debug build.
> # TODO: Maybe build these into a separate .jar and put it on the classpath
> #       in front of framework.jar.
> # NOTE: Do not use this as an example; this is a very special situation.
> #       Do not modify LOCAL_SRC_FILES based on any variable other
> #       than TARGET_BUILD_TYPE, otherwise builds can become inconsistent.
> ifeq ($(TARGET_BUILD_TYPE),debug)
>   LOCAL_SRC_FILES += $(call find-other-java-files,core/config/debug)
> else
>   LOCAL_SRC_FILES += $(call find-other-java-files,core/config/ndebug)
> endif
>
>
>  --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>

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

Reply via email to