Hash :
049108df
Author :
Date :
2013-11-19T10:41:49
Include the current commit as part of the build process. BUG=angle:529 Change-Id: I6d1d227b495e9bae6e017c88642679210c6d2355 Reviewed-on: https://chromium-review.googlesource.com/177233 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
#include "commit.h"
#define MAJOR_VERSION 3
#define MINOR_VERSION 0
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
#define COMMIT_STRING MACRO_STRINGIFY(COMMIT_HASH)
#define COMMIT_STRING_LEN sizeof(COMMIT_STRING)
#define VERSION_STRING MACRO_STRINGIFY(MAJOR_VERSION) "." MACRO_STRINGIFY(MINOR_VERSION) "." COMMIT_STRING