From accefc419198ccf45c7d28ec96bf304e559f482e Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Fri, 5 Sep 2014 00:33:53 +0000 Subject: [PATCH] add gyp define to enable svn version check. defaults to off so tests built outside of svn will build/run with a warning but not error. BUG=356 TESTED=set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1 libyuv_enable_svn=1 R=thorcarpenter@google.com Review URL: https://webrtc-codereview.appspot.com/17329004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1075 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- libyuv_test.gyp | 7 ++++++- unit_test/version_test.cc | 2 ++ 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.chromium b/README.chromium index c60075290..c7abdfc01 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1074 +Version: 1075 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index c6952040b..9e3d2b401 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1074 +#define LIBYUV_VERSION 1075 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/libyuv_test.gyp b/libyuv_test.gyp index 140ba6c90..4965b560c 100644 --- a/libyuv_test.gyp +++ b/libyuv_test.gyp @@ -9,6 +9,7 @@ { 'variables': { 'libyuv_disable_jpeg%': 0, + 'libyuv_enable_svn%': 0, }, 'targets': [ { @@ -21,7 +22,6 @@ 'testing/gtest.gyp:gtest_main', ], 'defines': [ - 'LIBYUV_SVNREVISION="