Include absl/memory/memory.h if absl::make_unique is used

Tbr: kwiberg@webrtc.org
Bug: None
Change-Id: Iaf4533d2ce0e80b351a8a664ef8cf7ba0e5ec583
Reviewed-on: https://webrtc-review.googlesource.com/c/115746
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Yves Gerey <yvesg@google.com>
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26168}
This commit is contained in:
Steve Anton
2019-01-07 10:21:47 -08:00
committed by Commit Bot
parent cdc3045973
commit 40d55331d7
53 changed files with 56 additions and 1 deletions

View File

@ -778,6 +778,7 @@ if (is_android) {
":base_jni",
":generated_java_audio_jni",
":java_audio_device_module",
"//third_party/abseil-cpp/absl/memory",
]
}
@ -1094,6 +1095,7 @@ if (is_android) {
"../../rtc_base:checks",
"../../rtc_base:rtc_base_approved",
"../../system_wrappers:metrics",
"//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/types:optional",
]
}

View File

@ -12,6 +12,7 @@
#include <utility>
#include "absl/memory/memory.h"
#include "modules/audio_device/audio_device_buffer.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"

View File

@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "absl/memory/memory.h"
#include "sdk/android/generated_java_audio_jni/jni/JavaAudioDeviceModule_jni.h"
#include "sdk/android/src/jni/audio_device/audio_record_jni.h"
#include "sdk/android/src/jni/audio_device/audio_track_jni.h"

View File

@ -13,6 +13,7 @@
#include <memory>
#include <utility>
#include "absl/memory/memory.h"
#include "api/video_codecs/video_decoder_factory.h"
#include "api/video_codecs/video_encoder_factory.h"
#include "media/base/mediaengine.h"