From 9b3474aff82d247345670d68e67dce90ded53190 Mon Sep 17 00:00:00 2001 From: "xians@webrtc.org" Date: Thu, 2 Feb 2012 08:59:11 +0000 Subject: [PATCH] Disable the unused API interfaces for VoE chromium build. Review URL: https://webrtc-codereview.appspot.com/377002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1592 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/engine_configurations.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/engine_configurations.h b/src/engine_configurations.h index a78583ee93..b626d42992 100644 --- a/src/engine_configurations.h +++ b/src/engine_configurations.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. + * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source @@ -67,12 +67,8 @@ // ---------------------------------------------------------------------------- #define WEBRTC_VOICE_ENGINE_AUDIO_PROCESSING_API -#define WEBRTC_VOICE_ENGINE_CALL_REPORT_API #define WEBRTC_VOICE_ENGINE_CODEC_API #define WEBRTC_VOICE_ENGINE_DTMF_API -#define WEBRTC_VOICE_ENGINE_ENCRYPTION_API -#define WEBRTC_VOICE_ENGINE_EXTERNAL_MEDIA_API -#define WEBRTC_VOICE_ENGINE_FILE_API #define WEBRTC_VOICE_ENGINE_HARDWARE_API #define WEBRTC_VOICE_ENGINE_NETEQ_STATS_API #define WEBRTC_VOICE_ENGINE_NETWORK_API @@ -80,6 +76,13 @@ #define WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API #define WEBRTC_VOICE_ENGINE_VOLUME_CONTROL_API +#ifndef WEBRTC_CHROMIUM_BUILD +#define WEBRTC_VOICE_ENGINE_CALL_REPORT_API +#define WEBRTC_VOICE_ENGINE_ENCRYPTION_API +#define WEBRTC_VOICE_ENGINE_EXTERNAL_MEDIA_API +#define WEBRTC_VOICE_ENGINE_FILE_API +#endif + // ============================================================================ // VideoEngine // ============================================================================