From 31c875fe196ad315f9dc789db5426c4ffbeba776 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Tue, 28 Apr 2015 18:43:09 +0000 Subject: [PATCH] enable chromium_code=1 to increase warning level. this will enable the same warnings as when built within chrome, helping avoid breakage in future. BUG=432 TESTED=local windows build R=bcornell@google.com Review URL: https://webrtc-codereview.appspot.com/49839004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1386 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- libyuv.gyp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libyuv.gyp b/libyuv.gyp index d4ad43908..935bc4c19 100644 --- a/libyuv.gyp +++ b/libyuv.gyp @@ -19,6 +19,8 @@ 'variables': { 'use_system_libjpeg%': 0, 'libyuv_disable_jpeg%': 0, + # 'chromium_code' treats libyuv as internal and increases warning level. + 'chromium_code': 1, # Link-Time Optimizations. 'use_lto%': 0, 'build_neon': 0, @@ -141,7 +143,7 @@ # 'LIBYUV_DISABLE_MIPS', # Enable the following macro to build libyuv as a shared library (dll). # 'LIBYUV_USING_SHARED_LIBRARY', - # TODO(fbarchard): Make these into gyp defines. + # TODO(fbarchard): Make these into gyp defines. ], 'include_dirs': [ 'include',