Fix new R class generation for libraries

- only generate the R class of libraries when the project is not a lib
- package the manifest classes of libraries since we only do
  delayed generation of the R class now.

Change-Id: I54908984651dab73b3496145120e2ee7cf9c6c9a
2 files changed