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: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting