summaryrefslogtreecommitdiffstats
path: root/chrome/common/common.scons
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 18:56:12 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 18:56:12 +0000
commit3c6f71f746758bc311a87bc573a9575c1f9d5123 (patch)
tree1eb2a8cab1248995ef9612c6dd5d7fee8fd1ffaa /chrome/common/common.scons
parent2f69fb592e7ecf34868b037c003eb28e1591f34d (diff)
downloadchromium_src-3c6f71f746758bc311a87bc573a9575c1f9d5123.zip
chromium_src-3c6f71f746758bc311a87bc573a9575c1f9d5123.tar.gz
chromium_src-3c6f71f746758bc311a87bc573a9575c1f9d5123.tar.bz2
chrome_canvas: fork into platform independent/dependent files
A previous commit duplicated chrome_canvas_win.cc from chrome_canvas.cc. Delete the Windows specific functions from chrome_canvas.cc and delete the generic functions from chrome_canvas.cc. Implement Skia versions of the Windows specific functions in chrome_canvas_skia.cc. Review URL: http://codereview.chromium.org/13779 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/common.scons')
-rw-r--r--chrome/common/common.scons4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/common.scons b/chrome/common/common.scons
index 2a93a21..f514fa0 100644
--- a/chrome/common/common.scons
+++ b/chrome/common/common.scons
@@ -51,6 +51,7 @@ if env['PLATFORM'] in ('posix', 'win32'):
'chrome_switches.cc',
'debug_flags.cc',
'env_vars.cc',
+ 'gfx/chrome_canvas.cc',
'gfx/color_utils.cc',
'ipc_message.cc',
'jpeg_codec.cc',
@@ -84,7 +85,7 @@ if env['PLATFORM'] == 'win32':
'classfactory.cc',
'common_glue.cc',
'drag_drop_types.cc',
- 'gfx/chrome_canvas.cc',
+ 'gfx/chrome_canvas_win.cc',
'gfx/emf.cc',
'gfx/icon_util.cc',
'gfx/path.cc',
@@ -118,6 +119,7 @@ if env['PLATFORM'] == 'win32':
])
elif env['PLATFORM'] == 'posix':
input_files.extend([
+ 'gfx/chrome_canvas_skia.cc',
'gfx/chrome_font_skia.cc',
])