| OLD | NEW |
| 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 Import('env') | 5 Import('env') |
| 6 | 6 |
| 7 env = env.Clone() | 7 env = env.Clone() |
| 8 | 8 |
| 9 if env['PLATFORM'] == 'win32': | 9 if env['PLATFORM'] == 'win32': |
| 10 env.Append( | 10 env.Append( |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 'webframeloaderclient_impl.cc', | 62 'webframeloaderclient_impl.cc', |
| 63 'webhistoryitem_impl.cc', | 63 'webhistoryitem_impl.cc', |
| 64 'webkit_glue.cc', | 64 'webkit_glue.cc', |
| 65 'webplugin_impl.cc', | 65 'webplugin_impl.cc', |
| 66 'webtextinput_impl.cc', | 66 'webtextinput_impl.cc', |
| 67 'weburlrequest_impl.cc', | 67 'weburlrequest_impl.cc', |
| 68 'webwidget_impl.cc', | 68 'webwidget_impl.cc', |
| 69 'webview_impl.cc', | 69 'webview_impl.cc', |
| 70 ] | 70 ] |
| 71 | 71 |
| 72 if env['PLATFORM'] == 'posix': |
| 73 # TODO(port): until we have plugin support for Linux, these files aren't built
. |
| 74 remove_files = [ |
| 75 'plugins/plugin_host.cc', |
| 76 'plugins/plugin_instance.cc', |
| 77 'plugins/plugin_string_stream.cc', |
| 78 'plugins/plugin_stream_url.cc', |
| 79 ] |
| 80 |
| 81 for file in remove_files: |
| 82 input_files.remove(file) |
| 83 |
| 72 if env['PLATFORM'] == 'win32': | 84 if env['PLATFORM'] == 'win32': |
| 73 # TODO(port): These extra files aren't win32-specific, they've just not been | 85 # TODO(port): These extra files aren't win32-specific, they've just not been |
| 74 # tested on other platforms yet. | 86 # tested on other platforms yet. |
| 75 input_files.extend([ | 87 input_files.extend([ |
| 76 '$PENDING_DIR/AccessibleBase.cpp', | 88 '$PENDING_DIR/AccessibleBase.cpp', |
| 77 '$PENDING_DIR/AccessibleDocument.cpp', | 89 '$PENDING_DIR/AccessibleDocument.cpp', |
| 78 'glue_accessibility.cc', | 90 'glue_accessibility.cc', |
| 79 'plugins/mozilla_extensions.cc', | 91 'plugins/mozilla_extensions.cc', |
| 80 'plugins/plugin_lib.cc', | 92 'plugins/plugin_lib.cc', |
| 81 'plugins/plugin_list.cc', | 93 'plugins/plugin_list.cc', |
| 82 'plugins/plugin_stream.cc', | 94 'plugins/plugin_stream.cc', |
| 83 'plugins/webplugin_delegate_impl.cc', | 95 'plugins/webplugin_delegate_impl.cc', |
| 84 'webdropdata.cc', | 96 'webdropdata.cc', |
| 85 ]) | 97 ]) |
| 86 | 98 |
| 87 if env['PLATFORM'] == 'win32': | 99 if env['PLATFORM'] == 'win32': |
| 88 input_files.append('webinputevent_win.cc') | 100 input_files.append('webinputevent_win.cc') |
| 89 elif env['PLATFORM'] == 'posix': | 101 elif env['PLATFORM'] == 'posix': |
| 90 input_files.append('webinputevent_linux.cc') | 102 input_files.append('webinputevent_linux.cc') |
| 91 | 103 |
| 92 env.ChromeStaticLibrary('glue', input_files) | 104 env.ChromeStaticLibrary('glue', input_files) |
| OLD | NEW |