android: support the build current with or without the dependencies