rework CLI support in gbuild
I took a couple of "shortcuts" in the original approach which I thought
harmless, but which proved otherwise later. This revised approach is
more like I had wanted to do it but had been too lazy to really do :-)
The differences from user's POV are:
* several classes were renamed
- CliLibrary -> CliAssembly
- CliNativeLibrary -> CliLibrary
* CliLibrary is now based on LinkTarget, so there is no need for an
intermediate Library for it
I also added a comment to all functions and an explanation of purpose to
most classes.
Change-Id: If3d1be3016d84c21a35093fc370c0bcf7995d1bd
20 files changed