First of all, the easiest/cleanest way to do what you want would be to have the ability, in Gin, to switch bindings based on deferred binding properties (do not confuse _configuration property_). Unfortunately, it is not yet a feature in Gin. I have proposed ideas that would make this possible, if you're interested star the following or contribute your opinion:
I'm almost sure there are conversations on that topic in the group.
Unfortunately, last time I checked there were no ways to make conditional _configuration_ properties. So right now I dont see how to achieve what you want save from manually switching a GWT configuration file prior to compilation. Here are some options we could implement on the GWTP side:
2) Or allow for a gin.ginjectorFactory configuration parameter instead of gin.ginjector, that could use any mechanism to determine the real ginjector (based, say, on deferred binding properties).
The best is (1), but (2) is probably easier and does not make us dependent on the HEAD of gin. Personally, I'd still go with (1).
Also note that you will have to implement something like a ginjector factory internally in your entry point so that you can GWT.create() the correct ginjector based on a deferred binding property.
Cheers,
Philippe