Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: gears/SConscript

Issue 16586: Update Gears to r3147, and fix scons build to match. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gears/DEPS ('k') | gears/SConscript.browser » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gears/SConscript
===================================================================
--- gears/SConscript (revision 7654)
+++ gears/SConscript (working copy)
@@ -96,8 +96,8 @@
env.Replace(
MAJOR = '0',
MINOR = '5',
- BUILD = '2',
- PATCH = '6',
+ BUILD = '7',
+ PATCH = '0',
VERSION = '${MAJOR}.${MINOR}.${BUILD}.${PATCH}',
FRIENDLY_NAME = 'Google Gears',
@@ -350,8 +350,14 @@
M4FLAGS = '-DOFFICIAL_BUILD=1',
)
-# TODO: if USING_PNG
-env.Append(CPPDEFINES = 'PNG_USER_CONFIG')
+# TODO: if USING_LIBPNG
+env.Append(
+ CPPDEFINES = [
+ 'PNG_USER_CONFIG',
+ 'CHROME_PNG_WRITE_SUPPORT',
+ 'GEARS_PNG_BUILD',
+ ]
+)
# TODO: if USING_ZLIB
env.Append(
CPPDEFINES = [
@@ -639,9 +645,6 @@
'-shared',
'-Wl,--version-script',
'-Wl,$OPEN_DIR/tools/xpcom-ld-script',
-# for PortAudio: need pthread and math
- '-lpthread',
- '-lm',
# Additions to compile on hardy
'-m32',
],
@@ -745,13 +748,6 @@
'-DGEARS_TOOLS_DIR="$MAIN_DIR/$PRIVATE_DIR/tools"',
],
)
- if not env['OFFICIAL_BUILD']:
- # For PortAudio:
- env.Append(FRAMEWORKS = [
- 'CoreAudio',
- 'AudioToolbox',
- 'AudioUnit',
- ])
if env['MODE'] == 'dbg':
env.Append(
CPPFLAGS = [
@@ -930,7 +926,6 @@
'SConscript.zlib',
'SConscript.libbreakpad_osx',
'SConscript.libgd',
- 'SConscript.portaudio',
]
for each in sconscripts:
« no previous file with comments | « gears/DEPS ('k') | gears/SConscript.browser » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698