Change cache dependency tracking.

Remove the fix dependencies and make it depend only on the source
hash.  More changes coming soon to add dependencies on the Android
build fingerprint and the command line used to compile.

Change-Id: I8964044affccf52326ce286f879307eca79d0b24
diff --git a/tools/bcc/Main.cpp b/tools/bcc/Main.cpp
index 2ac3170..02860fe 100644
--- a/tools/bcc/Main.cpp
+++ b/tools/bcc/Main.cpp
@@ -33,7 +33,6 @@
 
 #include <bcc/BCCContext.h>
 #include <bcc/Compiler.h>
-#include <bcc/Config/BuildInfo.h>
 #include <bcc/Config/Config.h>
 #include <bcc/ExecutionEngine/CompilerRTSymbolResolver.h>
 #include <bcc/ExecutionEngine/ObjectLoader.h>
@@ -109,14 +108,8 @@
 void BCCVersionPrinter() {
   llvm::raw_ostream &os = llvm::outs();
   os << "libbcc (The Android Open Source Project, http://www.android.com/):\n"
-     << "  Build time: " << BuildInfo::GetBuildTime() << "\n"
-     << "  Build revision: " << BuildInfo::GetBuildRev() << "\n"
-     << "  Build source blob: " << BuildInfo::GetBuildSourceBlob() << "\n"
-     << "  Default target: " << DEFAULT_TARGET_TRIPLE_STRING << "\n";
-
-  os << "\n";
-
-  os << "LLVM (http://llvm.org/):\n"
+     << "  Default target: " << DEFAULT_TARGET_TRIPLE_STRING << "\n\n"
+     << "LLVM (http://llvm.org/):\n"
      << "  Version: " << PACKAGE_VERSION << "\n";
   return;
 }
@@ -171,6 +164,11 @@
 
   std::unique_ptr<llvm::MemoryBuffer> input_data;
 
+  if (OptBCLibFilename.empty()) {
+    ALOGE("Failed to compile bit code, -bclib was not specified");
+    return EXIT_FAILURE;
+  }
+
   llvm::error_code ec =
       llvm::MemoryBuffer::getFile(OptInputFilename.c_str(), input_data);
   if (ec != llvm::error_code::success()) {