diff options
| author | 2014-08-18 23:52:15 +0000 | |
|---|---|---|
| committer | 2014-08-16 03:52:42 +0000 | |
| commit | 29f0394ac104b267e3612a29c4de8a7cbbfab00a (patch) | |
| tree | c575b2d5d8cf276376c222d5468fdea2a38da53d /tools/aapt/Command.cpp | |
| parent | 2d86b70cf34b6596ffaa2d8e35deded8d787508d (diff) | |
| parent | ad751224401564dcc8338df3d5c4c5de7722be8f (diff) | |
Merge "Include build number in aapt version" into lmp-dev
Diffstat (limited to 'tools/aapt/Command.cpp')
| -rw-r--r-- | tools/aapt/Command.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index 5d146d65bded..bdbf47b2611c 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -24,6 +24,10 @@ using namespace android; +#ifndef AAPT_VERSION + #define AAPT_VERSION "" +#endif + /* * Show version info. All the cool kids do it. */ @@ -32,7 +36,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; } |