Provide additional information about global variables.

Bug: 20306487

This patch extends our global information pass to include details about the
type of a global variable, whether or not it is static, constant, or a
pointer. It also refactors code that deals with conversion between
RenderScript's internal data types and LLVM's type system. A subtle bug
has also been fixed with respect to the RSInvokeHelperPass. The previous
version could ignore an rs_* object that did not have a numeric suffix.
The new helper function properly addresses cases like this.

Change-Id: If9c933a885bf6a9063b7edec3f0873e1b144188d
diff --git a/libbcc-device-build.mk b/libbcc-device-build.mk
index 0945980..188f2f9 100644
--- a/libbcc-device-build.mk
+++ b/libbcc-device-build.mk
@@ -51,9 +51,8 @@
 include frameworks/compile/libbcc/libbcc-targets.mk
 
 LOCAL_C_INCLUDES := \
-  bionic \
-  external/libcxx/include \
   $(LIBBCC_ROOT_PATH)/include \
+  $(RS_ROOT_PATH) \
   $(LLVM_ROOT_PATH)/include \
   $(LLVM_ROOT_PATH)/device/include \
   $(LOCAL_C_INCLUDES)