Add friendly errors/warnings for missing dump info.

Change-Id: I8d9abe5de6a9c840210e1c91044e91ddd56eac5a
diff --git a/tools/compiledump.py b/tools/compiledump.py
index 962bc23..2dcfeb6 100755
--- a/tools/compiledump.py
+++ b/tools/compiledump.py
@@ -208,6 +208,10 @@
       if not os.path.exists(temp):
         os.makedirs(temp)
     dump = read_dump(args, temp)
+    if not dump.program_jar():
+      error("Cannot compile dump with no program classes")
+    if not dump.library_jar():
+      print "WARNING: Unexpected lack of library classes in dump"
     build_properties = determine_build_properties(args, dump)
     version = determine_version(args, dump)
     compiler = determine_compiler(args, dump)