From 702cbaafc25ea1c4ff015e57416943cd15232849 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Tue, 22 Jun 2010 21:31:21 +0000 Subject: Use -Os to minimize the size of the installer tools. BUG=47199 TEST=none Review URL: http://codereview.chromium.org/2801016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50531 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/mac/third_party/bsdiff/goobsdiff.gyp | 8 ++++++++ chrome/installer/mac/third_party/xz/xz.gyp | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/chrome/installer/mac/third_party/bsdiff/goobsdiff.gyp b/chrome/installer/mac/third_party/bsdiff/goobsdiff.gyp index 2fd0c0b..8046700 100644 --- a/chrome/installer/mac/third_party/bsdiff/goobsdiff.gyp +++ b/chrome/installer/mac/third_party/bsdiff/goobsdiff.gyp @@ -31,6 +31,14 @@ 'sources': [ 'goobspatch.c', ], + 'configurations': { + 'Release': { + 'xcode_settings': { + # Use -Os to minimize the size of the installer tools. + 'GCC_OPTIMIZATION_LEVEL': 's', + }, + }, + }, }, ], } diff --git a/chrome/installer/mac/third_party/xz/xz.gyp b/chrome/installer/mac/third_party/xz/xz.gyp index f630969..37816af 100644 --- a/chrome/installer/mac/third_party/xz/xz.gyp +++ b/chrome/installer/mac/third_party/xz/xz.gyp @@ -308,6 +308,14 @@ 'xz/src/liblzma/api', ], }, + 'configurations': { + 'Release': { + 'xcode_settings': { + # Use -Os to minimize the size of the installer tools. + 'GCC_OPTIMIZATION_LEVEL': 's', + }, + }, + }, }, { @@ -363,6 +371,14 @@ 'xz/src/common/tuklib_progname.c', 'xz/src/xzdec/xzdec.c', ], + 'configurations': { + 'Release': { + 'xcode_settings': { + # Use -Os to minimize the size of the installer tools. + 'GCC_OPTIMIZATION_LEVEL': 's', + }, + }, + }, }, ], } -- cgit v1.1