diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-17 01:21:56 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-17 01:21:56 +0000 |
commit | 81514c583f3c281ddbb72d13a021bfed58f7e3c7 (patch) | |
tree | beab789f1dbb7629c8bbf95acb27ba224bb35650 /chrome/views/SConscript | |
parent | 0999c45abbe8d57f1c62c65f91459881a4af321a (diff) | |
download | chromium_src-81514c583f3c281ddbb72d13a021bfed58f7e3c7.zip chromium_src-81514c583f3c281ddbb72d13a021bfed58f7e3c7.tar.gz chromium_src-81514c583f3c281ddbb72d13a021bfed58f7e3c7.tar.bz2 |
Add #ifdefs to the views/ code and move windows specific code into their own files to get some files compiling.
Review URL: http://codereview.chromium.org/18136
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8250 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/SConscript')
-rw-r--r-- | chrome/views/SConscript | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/chrome/views/SConscript b/chrome/views/SConscript index 7e4596a..a15a0e5 100644 --- a/chrome/views/SConscript +++ b/chrome/views/SConscript @@ -92,7 +92,18 @@ input_files = [ 'window_delegate.cc', ] +if env.Bit('windows'): + input_files += [ + "root_view_win.cc", + "view_win.cc" + ] + if env.Bit('linux'): + input_files += [ + "root_view_gtk.cc", + "view_gtk.cc" + ] + # TODO(port): Port to Linux. remove_files = [ 'accelerator.cc', @@ -100,7 +111,6 @@ if env.Bit('linux'): 'accessibility/accessible_wrapper.cc', 'accessibility/view_accessibility.cc', 'aero_tooltip_manager.cc', - 'background.cc', 'base_button.cc', 'bitmap_scroll_bar.cc', 'button.cc', @@ -130,7 +140,6 @@ if env.Bit('linux'): 'painter.cc', 'radio_button.cc', 'resize_corner.cc', - 'root_view.cc', 'root_view_drop_target.cc', 'scroll_view.cc', 'separator.cc', @@ -142,7 +151,6 @@ if env.Bit('linux'): 'throbber.cc', 'tooltip_manager.cc', 'tree_view.cc', - 'view.cc', 'widget_win.cc', 'window.cc', 'window_delegate.cc', |