From 594ab3ce4b8d4eabe19cbbf4ac18befe5449ceea Mon Sep 17 00:00:00 2001 From: "xians@webrtc.org" Date: Wed, 8 Feb 2012 10:38:12 +0000 Subject: [PATCH] remove vie file API to take away media_file and utility modules. This CL reduce the size of chrome in release build by 70KB. With this patch and r1592 , sizes.py reports 92255640 bytes with webrtc, down from 92485792 bytes. The size is 88839360 bytes without webrtc. BR, /SX Review URL: https://webrtc-codereview.appspot.com/380007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1637 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/engine_configurations.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine_configurations.h b/src/engine_configurations.h index b626d42992..49a2f8cd87 100644 --- a/src/engine_configurations.h +++ b/src/engine_configurations.h @@ -97,13 +97,16 @@ #define WEBRTC_VIDEO_ENGINE_CAPTURE_API #define WEBRTC_VIDEO_ENGINE_CODEC_API #define WEBRTC_VIDEO_ENGINE_ENCRYPTION_API -#define WEBRTC_VIDEO_ENGINE_FILE_API #define WEBRTC_VIDEO_ENGINE_IMAGE_PROCESS_API #define WEBRTC_VIDEO_ENGINE_NETWORK_API #define WEBRTC_VIDEO_ENGINE_RENDER_API #define WEBRTC_VIDEO_ENGINE_RTP_RTCP_API // #define WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API +#ifndef WEBRTC_CHROMIUM_BUILD +#define WEBRTC_VIDEO_ENGINE_FILE_API +#endif + // ============================================================================ // Platform specific configurations // ============================================================================