diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 21:31:21 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 21:31:21 +0000 |
commit | 702cbaafc25ea1c4ff015e57416943cd15232849 (patch) | |
tree | 90994d85769cb2acfb2221fe5c73eb6ac75f4b79 /chrome/installer | |
parent | 82d39a2b456ab55ba1e3abd00b8f1936f9f97be5 (diff) | |
download | chromium_src-702cbaafc25ea1c4ff015e57416943cd15232849.zip chromium_src-702cbaafc25ea1c4ff015e57416943cd15232849.tar.gz chromium_src-702cbaafc25ea1c4ff015e57416943cd15232849.tar.bz2 |
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
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/mac/third_party/bsdiff/goobsdiff.gyp | 8 | ||||
-rw-r--r-- | chrome/installer/mac/third_party/xz/xz.gyp | 16 |
2 files changed, 24 insertions, 0 deletions
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', + }, + }, + }, }, ], } |