X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/6c259a8c457f8e5d9a019c47941dcf414e001efc..83c734a53b345465ecafa37c5c6d4cc180161d6f:/Command.cpp?ds=sidebyside diff --git a/Command.cpp b/Command.cpp index 739763e..8ac7590 100644 --- a/Command.cpp +++ b/Command.cpp @@ -198,8 +198,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", @@ -428,8 +430,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");