summaryrefslogtreecommitdiff
path: root/tools/aapt/Command.cpp
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2014-08-18 14:06:38 -0700
committer Adam Lesinski <adamlesinski@google.com> 2014-08-18 21:08:15 +0000
commit71809ee7f63229d0ea4f6169922ddfbfee330fd2 (patch)
tree3575043a0027073f9e639eca996e5f4987dab895 /tools/aapt/Command.cpp
parent2aaed141fa22b235ecbd009b11c426abfa5b847c (diff)
Include build number in aapt version
Teams are constantly confused over which version of aapt they are running. Include the build number from the Android build system in the binary. Can be retrieved by executing 'aapt version'. Change-Id: Ie4692fb160c7cbe720a8e76b73e435170214fe0e
Diffstat (limited to 'tools/aapt/Command.cpp')
-rw-r--r--tools/aapt/Command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp
index 5d146d65bded..fa2bacdc269b 100644
--- a/tools/aapt/Command.cpp
+++ b/tools/aapt/Command.cpp
@@ -32,7 +32,7 @@ int doVersion(Bundle* bundle)
if (bundle->getFileSpecCount() != 0) {
printf("(ignoring extra arguments)\n");
}
- printf("Android Asset Packaging Tool, v0.2\n");
+ printf("Android Asset Packaging Tool, v0.2-" AAPT_VERSION "\n");
return 0;
}