1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/trunk/testing/gtest/xcode/Config/ReleaseProject.xcconfig Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +// 1.5 +// ReleaseProject.xcconfig 1.6 +// 1.7 +// These are Release Configuration project settings for the gtest framework 1.8 +// and examples. It is set in the "Based On:" dropdown in the "Project" info 1.9 +// dialog. 1.10 +// This file is based on the Xcode Configuration files in: 1.11 +// http://code.google.com/p/google-toolbox-for-mac/ 1.12 +// 1.13 + 1.14 +#include "General.xcconfig" 1.15 + 1.16 +// subconfig/Release.xcconfig 1.17 + 1.18 +// Optimize for space and size (Apple recommendation) 1.19 +GCC_OPTIMIZATION_LEVEL = s 1.20 + 1.21 +// Deploment postprocessing is what triggers Xcode to strip 1.22 +DEPLOYMENT_POSTPROCESSING = YES 1.23 + 1.24 +// No symbols 1.25 +GCC_GENERATE_DEBUGGING_SYMBOLS = NO 1.26 + 1.27 +// Dead code strip does not affect ObjC code but can help for C 1.28 +DEAD_CODE_STRIPPING = YES 1.29 + 1.30 +// NDEBUG is used by things like assert.h, so define it for general compat. 1.31 +// ASSERT going away in release tends to create unused vars. 1.32 +OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable 1.33 + 1.34 +// When we strip we want to strip all symbols in release, but save externals. 1.35 +STRIP_STYLE = all