Rename RenderScript -> Renderscript.

Change-Id: I187928033b47f3e3f4cb811a0b3562f479cfe417
diff --git a/lib/RenderScript/Android.mk b/lib/Renderscript/Android.mk
similarity index 89%
rename from lib/RenderScript/Android.mk
rename to lib/Renderscript/Android.mk
index 09c5df0..6989d5b 100644
--- a/lib/RenderScript/Android.mk
+++ b/lib/Renderscript/Android.mk
@@ -18,7 +18,7 @@
 LOCAL_PATH := $(call my-dir)
 
 #=====================================================================
-# Common: libbccRenderScript
+# Common: libbccRenderscript
 #=====================================================================
 
 libbcc_renderscript_SRC_FILES := \
@@ -33,12 +33,12 @@
   RSScript.cpp
 
 #=====================================================================
-# Device Static Library: libbccRenderScript
+# Device Static Library: libbccRenderscript
 #=====================================================================
 
 include $(CLEAR_VARS)
 
-LOCAL_MODULE := libbccRenderScript
+LOCAL_MODULE := libbccRenderscript
 LOCAL_MODULE_TAGS := optional
 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
 
@@ -51,12 +51,12 @@
 
 
 #=====================================================================
-# Host Static Library: libbccRenderScript
+# Host Static Library: libbccRenderscript
 #=====================================================================
 
 include $(CLEAR_VARS)
 
-LOCAL_MODULE := libbccRenderScript
+LOCAL_MODULE := libbccRenderscript
 LOCAL_MODULE_TAGS := optional
 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
 LOCAL_IS_HOST_MODULE := true
@@ -68,5 +68,5 @@
 include $(LLVM_HOST_BUILD_MK)
 include $(BUILD_HOST_STATIC_LIBRARY)
 
-# Build RenderScript runtime (libclcore.bc)
+# Build Renderscript runtime (libclcore.bc)
 include $(LOCAL_PATH)/runtime/Android.mk
diff --git a/lib/RenderScript/RSCompiler.cpp b/lib/Renderscript/RSCompiler.cpp
similarity index 94%
rename from lib/RenderScript/RSCompiler.cpp
rename to lib/Renderscript/RSCompiler.cpp
index 131fed6..7944c86 100644
--- a/lib/RenderScript/RSCompiler.cpp
+++ b/lib/Renderscript/RSCompiler.cpp
@@ -14,16 +14,16 @@
  * limitations under the License.
  */
 
-#include "bcc/RenderScript/RSCompiler.h"
+#include "bcc/Renderscript/RSCompiler.h"
 
 #include <llvm/Module.h>
 #include <llvm/PassManager.h>
 #include <llvm/Transforms/IPO.h>
 
-#include "bcc/RenderScript/RSExecutable.h"
-#include "bcc/RenderScript/RSInfo.h"
-#include "bcc/RenderScript/RSScript.h"
-#include "bcc/RenderScript/RSTransforms.h"
+#include "bcc/Renderscript/RSExecutable.h"
+#include "bcc/Renderscript/RSInfo.h"
+#include "bcc/Renderscript/RSScript.h"
+#include "bcc/Renderscript/RSTransforms.h"
 #include "bcc/Source.h"
 #include "bcc/Support/Log.h"
 
diff --git a/lib/RenderScript/RSCompilerDriver.cpp b/lib/Renderscript/RSCompilerDriver.cpp
similarity index 98%
rename from lib/RenderScript/RSCompilerDriver.cpp
rename to lib/Renderscript/RSCompilerDriver.cpp
index bd7e63c..c854b69 100644
--- a/lib/RenderScript/RSCompilerDriver.cpp
+++ b/lib/Renderscript/RSCompilerDriver.cpp
@@ -14,14 +14,14 @@
  * limitations under the License.
  */
 
-#include "bcc/RenderScript/RSCompilerDriver.h"
+#include "bcc/Renderscript/RSCompilerDriver.h"
 
 #include <llvm/Support/Path.h>
 
 #include "bcinfo/BitcodeWrapper.h"
 
-#include "bcc/RenderScript/RSExecutable.h"
-#include "bcc/RenderScript/RSScript.h"
+#include "bcc/Renderscript/RSExecutable.h"
+#include "bcc/Renderscript/RSScript.h"
 #include "bcc/Support/CompilerConfig.h"
 #include "bcc/Support/TargetCompilerConfigs.h"
 #include "bcc/Source.h"
@@ -207,10 +207,10 @@
   pScript.setInfo(info);
 
   //===--------------------------------------------------------------------===//
-  // Link RS script with RenderScript runtime.
+  // Link RS script with Renderscript runtime.
   //===--------------------------------------------------------------------===//
   if (!RSScript::LinkRuntime(pScript)) {
-    ALOGE("Failed to link script '%s' with RenderScript runtime!", pScriptName);
+    ALOGE("Failed to link script '%s' with Renderscript runtime!", pScriptName);
     return NULL;
   }
 
diff --git a/lib/RenderScript/RSExecutable.cpp b/lib/Renderscript/RSExecutable.cpp
similarity index 99%
rename from lib/RenderScript/RSExecutable.cpp
rename to lib/Renderscript/RSExecutable.cpp
index f30600f..c73fd5e 100644
--- a/lib/RenderScript/RSExecutable.cpp
+++ b/lib/Renderscript/RSExecutable.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#include "bcc/RenderScript/RSExecutable.h"
+#include "bcc/Renderscript/RSExecutable.h"
 
 #include "bcc/Config/Config.h"
 #include "bcc/Support/Disassembler.h"
diff --git a/lib/RenderScript/RSForEachExpand.cpp b/lib/Renderscript/RSForEachExpand.cpp
similarity index 99%
rename from lib/RenderScript/RSForEachExpand.cpp
rename to lib/Renderscript/RSForEachExpand.cpp
index cf5008f..dfc358e 100644
--- a/lib/RenderScript/RSForEachExpand.cpp
+++ b/lib/Renderscript/RSForEachExpand.cpp
@@ -15,7 +15,7 @@
  */
 
 //#define RS_FOREACH_EXPAND_PASS_NDEBUG 0
-#include "bcc/RenderScript/RSTransforms.h"
+#include "bcc/Renderscript/RSTransforms.h"
 
 #include <cstdlib>
 
@@ -28,7 +28,7 @@
 #include <llvm/Type.h>
 
 #include "bcc/Config/Config.h"
-#include "bcc/RenderScript/RSInfo.h"
+#include "bcc/Renderscript/RSInfo.h"
 #include "bcc/Support/Log.h"
 
 using namespace bcc;
diff --git a/lib/RenderScript/RSInfo.cpp b/lib/Renderscript/RSInfo.cpp
similarity index 99%
rename from lib/RenderScript/RSInfo.cpp
rename to lib/Renderscript/RSInfo.cpp
index e06ea62..dbf8657 100644
--- a/lib/RenderScript/RSInfo.cpp
+++ b/lib/Renderscript/RSInfo.cpp
@@ -15,7 +15,7 @@
  */
 
 //#define LOG_NDEBUG 0
-#include "bcc/RenderScript/RSInfo.h"
+#include "bcc/Renderscript/RSInfo.h"
 
 #include <dlfcn.h>
 
diff --git a/lib/RenderScript/RSInfoExtractor.cpp b/lib/Renderscript/RSInfoExtractor.cpp
similarity index 99%
rename from lib/RenderScript/RSInfoExtractor.cpp
rename to lib/Renderscript/RSInfoExtractor.cpp
index f05fa68..3392982 100644
--- a/lib/RenderScript/RSInfoExtractor.cpp
+++ b/lib/Renderscript/RSInfoExtractor.cpp
@@ -17,7 +17,7 @@
 //===----------------------------------------------------------------------===//
 // This file implements RSInfo::ExtractFromSource()
 //===----------------------------------------------------------------------===//
-#include "bcc/RenderScript/RSInfo.h"
+#include "bcc/Renderscript/RSInfo.h"
 
 #include <llvm/Constants.h>
 #include <llvm/Metadata.h>
diff --git a/lib/RenderScript/RSInfoReader.cpp b/lib/Renderscript/RSInfoReader.cpp
similarity index 99%
rename from lib/RenderScript/RSInfoReader.cpp
rename to lib/Renderscript/RSInfoReader.cpp
index 9a25c24..fe5626a 100644
--- a/lib/RenderScript/RSInfoReader.cpp
+++ b/lib/Renderscript/RSInfoReader.cpp
@@ -18,7 +18,7 @@
 // This file implements RSInfo::ReadFromFile()
 //===----------------------------------------------------------------------===//
 
-#include "bcc/RenderScript/RSInfo.h"
+#include "bcc/Renderscript/RSInfo.h"
 
 #include <new>
 
diff --git a/lib/RenderScript/RSInfoWriter.cpp b/lib/Renderscript/RSInfoWriter.cpp
similarity index 99%
rename from lib/RenderScript/RSInfoWriter.cpp
rename to lib/Renderscript/RSInfoWriter.cpp
index 3cfb8da..0eee62c 100644
--- a/lib/RenderScript/RSInfoWriter.cpp
+++ b/lib/Renderscript/RSInfoWriter.cpp
@@ -18,7 +18,7 @@
 // This file implements RSInfo::write()
 //===----------------------------------------------------------------------===//
 
-#include "bcc/RenderScript/RSInfo.h"
+#include "bcc/Renderscript/RSInfo.h"
 
 #include "bcc/Support/Log.h"
 #include "bcc/Support/OutputFile.h"
diff --git a/lib/RenderScript/RSScript.cpp b/lib/Renderscript/RSScript.cpp
similarity index 92%
rename from lib/RenderScript/RSScript.cpp
rename to lib/Renderscript/RSScript.cpp
index 50397dc..75cfff9 100644
--- a/lib/RenderScript/RSScript.cpp
+++ b/lib/Renderscript/RSScript.cpp
@@ -14,9 +14,9 @@
  * limitations under the License.
  */
 
-#include "bcc/RenderScript/RSScript.h"
+#include "bcc/Renderscript/RSScript.h"
 
-#include "bcc/RenderScript/RSInfo.h"
+#include "bcc/Renderscript/RSInfo.h"
 #include "bcc/Source.h"
 #include "bcc/Support/Log.h"
 
@@ -45,7 +45,7 @@
 
   if (!pScript.getSource().merge(*libclcore_source,
                                  /* pPreserveSource */false)) {
-    ALOGE("Failed to link RenderScript library '%s'!", core_lib);
+    ALOGE("Failed to link Renderscript library '%s'!", core_lib);
     delete libclcore_source;
     return false;
   }
diff --git a/lib/RenderScript/runtime/Android.mk b/lib/Renderscript/runtime/Android.mk
similarity index 100%
rename from lib/RenderScript/runtime/Android.mk
rename to lib/Renderscript/runtime/Android.mk
diff --git a/lib/RenderScript/runtime/arch/generic.c b/lib/Renderscript/runtime/arch/generic.c
similarity index 100%
rename from lib/RenderScript/runtime/arch/generic.c
rename to lib/Renderscript/runtime/arch/generic.c
diff --git a/lib/RenderScript/runtime/arch/neon.ll b/lib/Renderscript/runtime/arch/neon.ll
similarity index 100%
rename from lib/RenderScript/runtime/arch/neon.ll
rename to lib/Renderscript/runtime/arch/neon.ll
diff --git a/lib/RenderScript/runtime/build_bc_lib.mk b/lib/Renderscript/runtime/build_bc_lib.mk
similarity index 100%
rename from lib/RenderScript/runtime/build_bc_lib.mk
rename to lib/Renderscript/runtime/build_bc_lib.mk
diff --git a/lib/RenderScript/runtime/build_clcore.sh b/lib/Renderscript/runtime/build_clcore.sh
similarity index 100%
rename from lib/RenderScript/runtime/build_clcore.sh
rename to lib/Renderscript/runtime/build_clcore.sh
diff --git a/lib/RenderScript/runtime/convert.ll b/lib/Renderscript/runtime/convert.ll
similarity index 100%
rename from lib/RenderScript/runtime/convert.ll
rename to lib/Renderscript/runtime/convert.ll
diff --git a/lib/RenderScript/runtime/math.ll b/lib/Renderscript/runtime/math.ll
similarity index 100%
rename from lib/RenderScript/runtime/math.ll
rename to lib/Renderscript/runtime/math.ll
diff --git a/lib/RenderScript/runtime/matrix.ll b/lib/Renderscript/runtime/matrix.ll
similarity index 100%
rename from lib/RenderScript/runtime/matrix.ll
rename to lib/Renderscript/runtime/matrix.ll
diff --git a/lib/RenderScript/runtime/pixel_packing.ll b/lib/Renderscript/runtime/pixel_packing.ll
similarity index 100%
rename from lib/RenderScript/runtime/pixel_packing.ll
rename to lib/Renderscript/runtime/pixel_packing.ll
diff --git a/lib/RenderScript/runtime/rs_allocation.c b/lib/Renderscript/runtime/rs_allocation.c
similarity index 100%
rename from lib/RenderScript/runtime/rs_allocation.c
rename to lib/Renderscript/runtime/rs_allocation.c
diff --git a/lib/RenderScript/runtime/rs_cl.c b/lib/Renderscript/runtime/rs_cl.c
similarity index 100%
rename from lib/RenderScript/runtime/rs_cl.c
rename to lib/Renderscript/runtime/rs_cl.c
diff --git a/lib/RenderScript/runtime/rs_core.c b/lib/Renderscript/runtime/rs_core.c
similarity index 100%
rename from lib/RenderScript/runtime/rs_core.c
rename to lib/Renderscript/runtime/rs_core.c
diff --git a/lib/RenderScript/runtime/rs_element.c b/lib/Renderscript/runtime/rs_element.c
similarity index 100%
rename from lib/RenderScript/runtime/rs_element.c
rename to lib/Renderscript/runtime/rs_element.c
diff --git a/lib/RenderScript/runtime/rs_mesh.c b/lib/Renderscript/runtime/rs_mesh.c
similarity index 100%
rename from lib/RenderScript/runtime/rs_mesh.c
rename to lib/Renderscript/runtime/rs_mesh.c
diff --git a/lib/RenderScript/runtime/rs_program.c b/lib/Renderscript/runtime/rs_program.c
similarity index 100%
rename from lib/RenderScript/runtime/rs_program.c
rename to lib/Renderscript/runtime/rs_program.c
diff --git a/lib/RenderScript/runtime/rs_sample.c b/lib/Renderscript/runtime/rs_sample.c
similarity index 100%
rename from lib/RenderScript/runtime/rs_sample.c
rename to lib/Renderscript/runtime/rs_sample.c
diff --git a/lib/RenderScript/runtime/rs_sampler.c b/lib/Renderscript/runtime/rs_sampler.c
similarity index 100%
rename from lib/RenderScript/runtime/rs_sampler.c
rename to lib/Renderscript/runtime/rs_sampler.c
diff --git a/lib/RenderScript/runtime/rs_structs.h b/lib/Renderscript/runtime/rs_structs.h
similarity index 100%
rename from lib/RenderScript/runtime/rs_structs.h
rename to lib/Renderscript/runtime/rs_structs.h