]> git.saurik.com Git - android/aapt.git/blobdiff - Command.cpp
am 7517ffd1: am 59073b15: Merge "Fix linux 64 build" into gingerbread
[android/aapt.git] / Command.cpp
index 35124aad19ea5089672b864bc4b084745d5b3071..abccf9be9d0c57a3af2df8ecefe37cb7913c5b61 100644 (file)
@@ -197,8 +197,10 @@ int doList(Bundle* bundle)
         if (&res == NULL) {
             printf("\nNo resource table found.\n");
         } else {
+#ifndef HAVE_ANDROID_OS
             printf("\nResource table:\n");
             res.print(false);
+#endif
         }
 
         Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
@@ -389,8 +391,9 @@ int doDump(Bundle* bundle)
     }
 
     if (strcmp("resources", option) == 0) {
+#ifndef HAVE_ANDROID_OS
         res.print(bundle->getValues());
-
+#endif
     } else if (strcmp("xmltree", option) == 0) {
         if (bundle->getFileSpecCount() < 3) {
             fprintf(stderr, "ERROR: no dump xmltree resource file specified\n");