am 9e2f9205: am fdbcc8e5: am a7ce555e: Include build number in aapt version

* commit '9e2f9205fbc94f8a6ed4ddb3caf93019d8c9ed8d':
  Include build number in aapt version
This commit is contained in:
Adam Lesinski
2014-08-18 22:11:02 +00:00
committed by Android Git Automerger
2 changed files with 2 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ LOCAL_C_INCLUDES += $(aaptCIncludes)
LOCAL_CFLAGS += -Wno-format-y2k
LOCAL_CFLAGS += -DSTATIC_ANDROIDFW_FOR_TOOLS
LOCAL_CFLAGS += -DAAPT_VERSION=\"$(BUILD_NUMBER)\"
ifeq (darwin,$(HOST_OS))
LOCAL_CFLAGS += -D_DARWIN_UNLIMITED_STREAMS
endif

View File

@@ -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;
}