From f88b25c2c86cb159bc24bc910d8ba0a87762416f Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Wed, 19 Dec 2012 20:10:51 +0000 Subject: Linux: use generated shim headers for opus. BUG=165264 Review URL: https://codereview.chromium.org/11635009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173978 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/codec/audio_decoder_opus.cc | 2 +- remoting/codec/audio_encoder_opus.cc | 2 +- third_party/opus/opus.gyp | 14 ++++++++++++-- third_party/opus/opus.h | 12 ------------ 4 files changed, 14 insertions(+), 16 deletions(-) delete mode 100644 third_party/opus/opus.h diff --git a/remoting/codec/audio_decoder_opus.cc b/remoting/codec/audio_decoder_opus.cc index 888e4bc..abd3456 100644 --- a/remoting/codec/audio_decoder_opus.cc +++ b/remoting/codec/audio_decoder_opus.cc @@ -8,7 +8,7 @@ #include "base/stl_util.h" #include "base/time.h" #include "remoting/proto/audio.pb.h" -#include "third_party/opus/opus.h" +#include "third_party/opus/src/include/opus.h" namespace remoting { diff --git a/remoting/codec/audio_encoder_opus.cc b/remoting/codec/audio_encoder_opus.cc index ab19c94..15160df 100644 --- a/remoting/codec/audio_encoder_opus.cc +++ b/remoting/codec/audio_encoder_opus.cc @@ -9,7 +9,7 @@ #include "base/time.h" #include "media/base/audio_bus.h" #include "media/base/multi_channel_resampler.h" -#include "third_party/opus/opus.h" +#include "third_party/opus/src/include/opus.h" namespace remoting { diff --git a/third_party/opus/opus.gyp b/third_party/opus/opus.gyp index 9e2bcf8..d273aab 100644 --- a/third_party/opus/opus.gyp +++ b/third_party/opus/opus.gyp @@ -321,10 +321,20 @@ 'cflags': [ ' -#else -#include "third_party/opus/src/include/opus.h" -#endif -- cgit v1.1