Change include path
Message: The background, when we make a binary delivery, typically user puts header files and library file in a flat folder, so include "x/y/z/header.h" doesn't work. I know it's against google style, but it's something we have to workaround. I can also do #ifdef ANDROID #include "audio_device_defines.h" #include "module.h" #else #include "modules/audio_device/main/interface/audio_device_defines.h" #include "modules/interface/module.h" #endif This is a workaround before we build everything from source which will happen eventually, but might be couple months later. Description: Change include path to make it build in a standalone delivery. BUG=None TEST=local test Review URL: https://webrtc-codereview.appspot.com/778004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2720 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
1a4abae7c2
commit
706a546f69
@ -11,8 +11,16 @@
|
||||
#ifndef MODULES_AUDIO_DEVICE_MAIN_INTERFACE_AUDIO_DEVICE_H_
|
||||
#define MODULES_AUDIO_DEVICE_MAIN_INTERFACE_AUDIO_DEVICE_H_
|
||||
|
||||
#ifdef WEBRTC_ANDROID
|
||||
// TODO(leozwang): It's a temporal workaround for binary delivery,
|
||||
// remove the following two lines once we can build from source
|
||||
// on Android.
|
||||
#include "audio_device_defines.h"
|
||||
#include "module.h"
|
||||
#else
|
||||
#include "modules/audio_device/main/interface/audio_device_defines.h"
|
||||
#include "modules/interface/module.h"
|
||||
#endif
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user