[android-porting] Re: Condition compile for the Android JAVA code

2011-03-10 Thread freakingtux
Hi On Wednesday, March 9, 2011 9:08:20 AM UTC+1, Matt wrote: Hi guys: As a fresh man to the JAVA and Android. I wonder is there a official way to pass the BoardConfig.mk value to the JAVA source code? I could do this for the C/C++ source code which only need add some checking code in

[android-porting] Re: Condition compile for the Android JAVA code

2011-03-10 Thread freakingtux
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. #

Re: [android-porting] Re: Condition compile for the Android JAVA code

2011-03-10 Thread Matt Shao
Hi kees, the concept and sample is very clear. Thanks a lot! 2011/3/11 freakingtux kees.jongenbur...@gmail.com 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