From 7be3bc65a12c8860be75c559e4de2bbbb69596ab Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Mon, 11 May 2015 21:58:42 +0000 Subject: [PATCH] enable speed optimization for libyuv BUG=439 TESTED=out\release\libyuv_unittest --gtest_filter=*I420ToARGB_Opt R=bcornell@google.com Review URL: https://webrtc-codereview.appspot.com/55389004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1405 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- libyuv.gyp | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.chromium b/README.chromium index 898f0ea9b..af2cd69b5 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1404 +Version: 1405 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 70a787a12..d243daebd 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 1404 +#define LIBYUV_VERSION 1405 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/libyuv.gyp b/libyuv.gyp index 935bc4c19..9bb883a8b 100644 --- a/libyuv.gyp +++ b/libyuv.gyp @@ -93,6 +93,9 @@ 'target_name': 'libyuv', # Change type to 'shared_library' to build .so or .dll files. 'type': 'static_library', + 'variables': { + 'optimize': 'max', # enable O2 and ltcg. + }, # Allows libyuv.a redistributable library without external dependencies. 'standalone_static_library': 1, 'conditions': [