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?
For instance, I have modify some code in the PowerManagerService.java and hope my modification code can be condition compiled according to the project settings (for example: *BOARD_MY_MODIFY*) which usually will be set in the BoardConfig.mk file. I could do this for the C/C++ source code which only need add some checking code in the Android.mk, like this: *ifeq ($(strip $(BOARD_MY_MODIFY)),true)* * LOCAL_CFLAGS += -DMY_MODIFY* *endif* But how to do the same work for the JAVA source code? Any comments will be highly appreciated! thanks a lot! -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
