diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-21 23:59:03 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-21 23:59:03 +0000 |
commit | b0faad6b7aa2597115c07ca6fc3d6273c3c18191 (patch) | |
tree | 86b8e235ff0305b6eb586b707af9a58e8e7b0d26 /gears/SConscript.portaudio | |
parent | 6ea74bed6ddfe8f9f993a3770e303a7b5c6743ed (diff) | |
download | chromium_src-b0faad6b7aa2597115c07ca6fc3d6273c3c18191.zip chromium_src-b0faad6b7aa2597115c07ca6fc3d6273c3c18191.tar.gz chromium_src-b0faad6b7aa2597115c07ca6fc3d6273c3c18191.tar.bz2 |
First cut at compiling Gears for Safari.
This contains the file list and correct compilation flags for the files.
This doesn't yet link, but is only missing one custom builder.
Review URL: http://codereview.chromium.org/8041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3707 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript.portaudio')
-rw-r--r-- | gears/SConscript.portaudio | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gears/SConscript.portaudio b/gears/SConscript.portaudio index 888ef1d..612d8f1 100644 --- a/gears/SConscript.portaudio +++ b/gears/SConscript.portaudio @@ -50,7 +50,23 @@ elif env['OS'] == 'linux': 'HAVE_SYS_SOUNDCARD_H=1', ], ) - +elif env['OS'] == 'osx': + env.Append( + CPPPATH = [ + '$PA_DIR/src/hostapi/coreaudio', + '$PA_DIR/src/hostapi/mac_osx', + '$PA_DIR/src/os/unix', + ], + CPPFLAGS = [ +# disable some warnings + '-Wno-unused-variable', + '-Wno-uninitialized', + ], + CPPDEFINES = [ + 'PA_USE_COREAUDIO', + ], + ) + input_files = [ '$PA_DIR/src/common/pa_allocation.c', '$PA_DIR/src/common/pa_converters.c', |