From 0ee8ba1929c3ea359f7391e52b50cd416941b6d6 Mon Sep 17 00:00:00 2001 From: "stefan@webrtc.org" Date: Fri, 25 Nov 2011 12:12:43 +0000 Subject: [PATCH] Remove WebRTC dependency on libvpx_lib and libvpx_include. Removes dependencies on libvpx_lib and libvpx_include targets when building with Chromium. BUG= TEST= Review URL: http://webrtc-codereview.appspot.com/293004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1026 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../codecs/vp8/main/source/vp8.gypi | 50 +++++-------------- 1 file changed, 12 insertions(+), 38 deletions(-) diff --git a/src/modules/video_coding/codecs/vp8/main/source/vp8.gypi b/src/modules/video_coding/codecs/vp8/main/source/vp8.gypi index 0295a2c894..fc6869b40c 100644 --- a/src/modules/video_coding/codecs/vp8/main/source/vp8.gypi +++ b/src/modules/video_coding/codecs/vp8/main/source/vp8.gypi @@ -16,49 +16,23 @@ ], 'include_dirs': [ '../interface', - '../../../../../../common_video/interface', - '../../../../../../common_video/vplib/main/interface', - '../../../interface', - '../../../../../interface', + '<(webrtc_root)/common_video/interface', + '<(webrtc_root)/common_video/vplib/main/interface', + '<(webrtc_root)/modules/video_coding/codecs/interface', + '<(webrtc_root)/modules/interface', ], 'conditions': [ ['build_with_chromium==1', { - 'conditions': [ - ['target_arch=="arm"', { - 'dependencies': [ - '<(webrtc_root)/../libvpx/libvpx.gyp:libvpx_lib', - '<(webrtc_root)/../libvpx/libvpx.gyp:libvpx_include', - ], - }, { # arm - 'conditions': [ - ['OS=="win"', { - 'dependencies': [ - # We don't want to link with the static library inside Chromium - # on Windows. Chromium uses the ffmpeg DLL and exports the - # necessary libvpx symbols for us. - '<(webrtc_root)/../libvpx/libvpx.gyp:libvpx_include', - ], - },{ # non-arm, win - 'dependencies': [ - '<(webrtc_root)/../libvpx/libvpx.gyp:libvpx', - ], - 'include_dirs': [ - '../../../../../../../libvpx/source/libvpx', - ], - }], # non-arm, non-win - ], - }], - ], - 'defines': [ - 'WEBRTC_LIBVPX_VERSION=960' # Bali - ], + 'dependencies': [ + '<(webrtc_root)/../libvpx/libvpx.gyp:libvpx', + ], + 'defines': [ + 'WEBRTC_LIBVPX_VERSION=960' # Bali + ], },{ 'dependencies': [ '<(webrtc_root)/../third_party/libvpx/libvpx.gyp:libvpx', ], - 'include_dirs': [ - '../../../../../../../third_party/libvpx/source/libvpx', - ], 'defines': [ 'WEBRTC_LIBVPX_VERSION=971' # Cayuga ], @@ -67,8 +41,8 @@ 'direct_dependent_settings': { 'include_dirs': [ '../interface', - '../../../../../../common_video/interface', - '../../../interface', + '<(webrtc_root)/common_video/interface', + '<(webrtc_root)/modules/video_coding/codecs/interface', ], }, 'sources': [