Make depending on a specific audio implementation optional.
Splits out audio_java into audio_api_java and java_audio_device_module_java. Makes depending on java_audio_device_module_jni optional for clients that do not use it. It is only necessary to depend on this target if depending on java_audio_device_module_java. Also some cleanup. Bug: webrtc:7452 Change-Id: Ic6c4dbe11db3ed8330802a8e90203acb8ef18e72 Reviewed-on: https://webrtc-review.googlesource.com/70220 Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22981}
This commit is contained in:
committed by
Commit Bot
parent
acdaaaf29a
commit
7d8f5949b2
@ -16,7 +16,7 @@
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/thread_checker.h"
|
||||
#include "sdk/android/generated_audio_device_base_jni/jni/WebRtcAudioManager_jni.h"
|
||||
#include "sdk/android/generated_audio_device_module_base_jni/jni/WebRtcAudioManager_jni.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/platform_thread.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "sdk/android/generated_java_audio_device_jni/jni/WebRtcAudioRecord_jni.h"
|
||||
#include "sdk/android/generated_java_audio_device_module_native_jni/jni/WebRtcAudioRecord_jni.h"
|
||||
#include "sdk/android/src/jni/audio_device/audio_common.h"
|
||||
#include "sdk/android/src/jni/jni_helpers.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include "rtc_base/format_macros.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/platform_thread.h"
|
||||
#include "sdk/android/generated_java_audio_device_jni/jni/WebRtcAudioTrack_jni.h"
|
||||
#include "sdk/android/generated_java_audio_device_module_native_jni/jni/WebRtcAudioTrack_jni.h"
|
||||
#include "sdk/android/src/jni/jni_helpers.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "sdk/android/generated_java_audio_device_jni/jni/JavaAudioDeviceModule_jni.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"
|
||||
#include "sdk/android/src/jni/jni_helpers.h"
|
||||
|
||||
Reference in New Issue
Block a user