Generate the white list used to validate unresolved externals.

Generate the file used in libbcc to verify that all the unresolved
references found in a loaded script correspond to RenderScript
APIs.  We do this to prevent script from accessing functions they
should not use, e.g. malloc().

We also generate slang test files for each API level.  These tests
can be used to cross-validate the generator to make sure that all
APIs can be called.  These files can also be used to manually check
the white list by looking at the unresolved external references
when these files are compiled.

Change-Id: Idd4bd48e61e81a71d61445e60950bc79de88daf2
6 files changed