summaryrefslogtreecommitdiffstats
path: root/tools/aapt/Resource.cpp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2009-07-13 13:02:33 -0700
committerMarco Nelissen <marcone@google.com>2009-07-13 14:14:01 -0700
commitdd931864209eac0b4182d7a0d1ca965fcc3b8c03 (patch)
tree27cd6d92392b837373bf97682d91834e7c4238d8 /tools/aapt/Resource.cpp
parent3cdff8133b96b672523c330bbc1adcab59125b9f (diff)
downloadframeworks_base-dd931864209eac0b4182d7a0d1ca965fcc3b8c03.zip
frameworks_base-dd931864209eac0b4182d7a0d1ca965fcc3b8c03.tar.gz
frameworks_base-dd931864209eac0b4182d7a0d1ca965fcc3b8c03.tar.bz2
Format aapt warnings the same way as other compiler warnings
('warning: ' instead of 'WARNING: ' or 'WARNING ')
Diffstat (limited to 'tools/aapt/Resource.cpp')
-rw-r--r--tools/aapt/Resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp
index 81db323..41ee88b 100644
--- a/tools/aapt/Resource.cpp
+++ b/tools/aapt/Resource.cpp
@@ -174,7 +174,7 @@ static sp<AaptFile> getResourceFile(const sp<AaptAssets>& assets, bool makeIfNec
static status_t parsePackage(const sp<AaptAssets>& assets, const sp<AaptGroup>& grp)
{
if (grp->getFiles().size() != 1) {
- fprintf(stderr, "WARNING: Multiple AndroidManifest.xml files found, using %s\n",
+ fprintf(stderr, "warning: Multiple AndroidManifest.xml files found, using %s\n",
grp->getFiles().valueAt(0)->getPrintableSource().string());
}
@@ -419,7 +419,7 @@ static void checkForIds(const String8& path, ResXMLParser& parser)
if (code == ResXMLTree::START_TAG) {
ssize_t index = parser.indexOfAttribute(NULL, "id");
if (index >= 0) {
- fprintf(stderr, "%s:%d: WARNING: found plain 'id' attribute; did you mean the new 'android:id' name?\n",
+ fprintf(stderr, "%s:%d: warning: found plain 'id' attribute; did you mean the new 'android:id' name?\n",
path.string(), parser.getLineNumber());
}
}