Initialize slang and Android.mk.

Change-Id: If74da8e54d45511c8c9bb236bcfeec508f4f2439
Set LOCAL_MODULE_CLASS in slang to EXECUTABLES.
Use invoke() (invokeData() and invokeV() are deprecated) for reflecting function.

Change-Id: I25db106c8e162b87b38db1a5c740d913327186d3
Fix Android.mk

Change-Id: I3cec464ab6673cc4b23360830f17be69c9008719
Fix simulator build.

Change-Id: Ib7ddcb19cc45ee8db754223d986e4de16a00548f
Type promotion in reflection. That is, treat unsigned char in C as short in Java, unsigned short as int and unsigned int as long

Change-Id: I81f2141a786dc1a05f7f12c8dbded9f0a5e5e804
Use pre-existing clang code to produce errors for un-prototyped functions.

Change-Id: I872fc58adecfa99a02aea003664beed618978221
Add a check to prevent users from defining function names starting
witih "rs".

Change-Id: I2801d50b11439b37dd875957683bbf180c8df34a
Use llvm::StringRef::startswith rather than std::string::compare,
as per Nick's suggestion.

Change-Id: If5855dfb33831989adb0cd6e512550e12a9dd983
Add support to #pragma rs java_package_name.

Change-Id: Ieb3582511238e1a13056221dfd6e6b3c1f87fe6a
Merge "Add support to #pragma rs java_package_name."
Change Diagnostic::Error to Diagnostic::Warning for now. The long-term solution should provide a slang option to toggle between Error and Warning.

Change-Id: I16b7f91ef03310112f86b147937a5a0eb0054005
Fix slang to do invoke_foo() without null.
Fix slang to pass "id" in the constructor in ScriptC_*.

Change-Id: I52f98a742fa919c7fe2c74a04bccce962061d5b5
Null pointer checking for setting RS objects in reflection.

Change-Id: Ic35fd444d853d7c90c9f8d9359852b8cfc2eba56
Use SourceLocation::print() to output source location for diagnostics.

Change-Id: If5741d59664c69a7393fc0d107b617ce5249a996
Merge "Use SourceLocation::print() to output source location for diagnostics."
Phase out part of Data Kind.

Change-Id: I22c4c8c393d4ee2b494050c5d8daa04e56c4919d
Merge "Phase out part of Data Kind."
Remove USER_F32, ...

Change-Id: Id83bf0c32ec4fa1ea950237ff83e221d1a40e73a
Merge "Remove USER_F32, ..."
Fix the subData argument values: They are in the unit of elements, NOT in the
unit of bytes. Verified that Launcher2 is reflected correctly now.

Change-Id: I85921743e6f0f74650c99a2e80b26028a685e9e4