summaryrefslogtreecommitdiffstats
path: root/chrome/common/common.scons
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 17:36:49 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 17:36:49 +0000
commit0ba955b4e574625fd58307bca11613a5982ffe34 (patch)
treee44ed6ee99cb4f1f6e31afea8b112f3d7fbab380 /chrome/common/common.scons
parentc47677eff181547b63ae86ac6cafd0169efee4f0 (diff)
downloadchromium_src-0ba955b4e574625fd58307bca11613a5982ffe34.zip
chromium_src-0ba955b4e574625fd58307bca11613a5982ffe34.tar.gz
chromium_src-0ba955b4e574625fd58307bca11613a5982ffe34.tar.bz2
Factor out platform specific chrome_paths calls into platform specific files.
Review URL: http://codereview.chromium.org/19760 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/common.scons')
-rw-r--r--chrome/common/common.scons12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/common/common.scons b/chrome/common/common.scons
index 90b8a26..ae4c0bf 100644
--- a/chrome/common/common.scons
+++ b/chrome/common/common.scons
@@ -111,6 +111,10 @@ input_files = ChromeFileList([
'chrome_counters.h',
'chrome_paths.cc',
'chrome_paths.h',
+ 'chrome_paths_internal.h',
+ 'chrome_paths_linux.cc',
+ 'chrome_paths_mac.cc',
+ 'chrome_paths_win.cc',
'chrome_plugin_api.h',
'chrome_plugin_lib.cc',
'chrome_plugin_lib.h',
@@ -232,6 +236,7 @@ if not env.Bit('windows'):
if not env.Bit('windows'):
# Windows specific files
input_files.Remove(
+ 'chrome_paths_win.cc',
'classfactory.cc',
'gfx/chrome_canvas_win.cc',
'gfx/chrome_font_win.cc',
@@ -245,11 +250,18 @@ if not env.Bit('windows'):
if not env.Bit('linux'):
# Linux specific files
input_files.Remove(
+ 'chrome_paths_linux.cc',
'gfx/chrome_canvas_skia.cc',
'gfx/chrome_font_gtk.cc',
'gfx/chrome_font_skia.cc',
)
+if not env.Bit('mac'):
+ # Mac specific files
+ input_files.Remove(
+ 'chrome_paths_mac.cc',
+ )
+
if not env.Bit('posix'):
input_files.Remove(
'ipc_channel_posix.cc',