diff --git a/README.chromium b/README.chromium index cd70798f6..16c4d9e4a 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 150 +Version: 151 License: BSD License File: LICENSE diff --git a/include/libyuv.h b/include/libyuv.h index fa09cb6ce..f6f5c65aa 100644 --- a/include/libyuv.h +++ b/include/libyuv.h @@ -20,5 +20,6 @@ #include "libyuv/planar_functions.h" #include "libyuv/rotate.h" #include "libyuv/scale.h" +#include "libyuv/version.h" #include "libyuv/video_common.h" #endif // LIBYUV_INCLUDE_LIBYUV_H_ diff --git a/include/libyuv/version.h b/include/libyuv/version.h new file mode 100644 index 000000000..e12b55ba1 --- /dev/null +++ b/include/libyuv/version.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2012 The LibYuv project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#ifndef INCLUDE_LIBYUV_VERSION_H_ +#define INCLUDE_LIBYUV_VERSION_H_ + +#ifdef __cplusplus +namespace libyuv { +extern "C" { +#endif + +#define LIBYUV_VERSION 151 + +#ifdef __cplusplus +} // extern "C" +} // namespace libyuv +#endif + +#endif // INCLUDE_LIBYUV_VERSION_H_ diff --git a/libyuv.gyp b/libyuv.gyp index fad0cc0fe..8a7e545a9 100644 --- a/libyuv.gyp +++ b/libyuv.gyp @@ -28,6 +28,7 @@ 'include/libyuv/scale.h', 'include/libyuv/planar_functions.h', 'include/libyuv/video_common.h', + 'include/libyuv/version.h', # headers 'source/rotate_priv.h',