| 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.Prepend( | 10 env.Prepend( |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 if env['PLATFORM'] == 'posix': | 117 if env['PLATFORM'] == 'posix': |
| 118 # Remove from the list files that haven't yet been made portable to Linux. | 118 # Remove from the list files that haven't yet been made portable to Linux. |
| 119 remove_files = [ | 119 remove_files = [ |
| 120 '$PORT_DIR/platform/graphics/FontCustomPlatformData.cpp', | 120 '$PORT_DIR/platform/graphics/FontCustomPlatformData.cpp', |
| 121 ] | 121 ] |
| 122 for remove in remove_files: | 122 for remove in remove_files: |
| 123 input_files.remove(remove) | 123 input_files.remove(remove) |
| 124 | 124 |
| 125 # Linux specific implementations | 125 # Linux specific implementations |
| 126 input_files.extend([ | 126 input_files.extend([ |
| 127 '$PORT_DIR/platform/chromium/IconLinux.cpp', |
| 128 '$PORT_DIR/platform/chromium/PasteboardLinux.cpp', |
| 127 '$PORT_DIR/platform/chromium/ScreenLinux.cpp', | 129 '$PORT_DIR/platform/chromium/ScreenLinux.cpp', |
| 128 '$PORT_DIR/platform/chromium/IconLinux.cpp', | |
| 129 '$PORT_DIR/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp', | 130 '$PORT_DIR/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp', |
| 130 '$PORT_DIR/platform/chromium/PasteboardLinux.cpp', | 131 '$PORT_DIR/platform/graphics/skia/GdkSkia.cc', |
| 131 ]) | 132 ]) |
| 132 | 133 |
| 133 if env['PLATFORM'] == 'darwin': | 134 if env['PLATFORM'] == 'darwin': |
| 134 # Remove from the list files that haven't yet been made portable to Mac. | 135 # Remove from the list files that haven't yet been made portable to Mac. |
| 135 remove_files = [ | 136 remove_files = [ |
| 136 '$PORT_DIR/page/chromium/AXObjectCacheChromium.cpp', | 137 '$PORT_DIR/page/chromium/AXObjectCacheChromium.cpp', |
| 137 '$PORT_DIR/page/chromium/EventHandlerChromium.cpp', | 138 '$PORT_DIR/page/chromium/EventHandlerChromium.cpp', |
| 138 '$PORT_DIR/platform/chromium/CursorChromium.cpp', | 139 '$PORT_DIR/platform/chromium/CursorChromium.cpp', |
| 139 '$PORT_DIR/platform/chromium/DragDataChromium.cpp', | 140 '$PORT_DIR/platform/chromium/DragDataChromium.cpp', |
| 140 '$PORT_DIR/platform/chromium/PopupMenuChromium.cpp', | 141 '$PORT_DIR/platform/chromium/PopupMenuChromium.cpp', |
| (...skipping 27 matching lines...) Expand all Loading... |
| 168 if env['PLATFORM'] == 'posix': | 169 if env['PLATFORM'] == 'posix': |
| 169 input_files.extend([ | 170 input_files.extend([ |
| 170 '$PORT_DIR/platform/chromium/FileSystemPosix.cpp', | 171 '$PORT_DIR/platform/chromium/FileSystemPosix.cpp', |
| 171 '$PORT_DIR/platform/chromium/SoundPosix.cpp', | 172 '$PORT_DIR/platform/chromium/SoundPosix.cpp', |
| 172 '$PORT_DIR/platform/chromium/KeyCodeConversionGtk.cpp', | 173 '$PORT_DIR/platform/chromium/KeyCodeConversionGtk.cpp', |
| 173 '$PORT_DIR/platform/graphics/chromium/FontLinux.cpp', | 174 '$PORT_DIR/platform/graphics/chromium/FontLinux.cpp', |
| 174 '$PORT_DIR/platform/graphics/chromium/FontCacheLinux.cpp', | 175 '$PORT_DIR/platform/graphics/chromium/FontCacheLinux.cpp', |
| 175 '$PORT_DIR/platform/graphics/chromium/FontPlatformDataLinux.cpp', | 176 '$PORT_DIR/platform/graphics/chromium/FontPlatformDataLinux.cpp', |
| 176 '$PORT_DIR/platform/graphics/chromium/SimpleFontDataLinux.cpp', | 177 '$PORT_DIR/platform/graphics/chromium/SimpleFontDataLinux.cpp', |
| 177 '$PORT_DIR/platform/chromium/gtk2drawing.c', | 178 '$PORT_DIR/platform/chromium/gtk2drawing.c', |
| 178 '$PORT_DIR/platform/chromium/gdkskiadrawable.cc', | |
| 179 '$PORT_DIR/platform/chromium/RenderThemeGtk.cpp' | 179 '$PORT_DIR/platform/chromium/RenderThemeGtk.cpp' |
| 180 ]) | 180 ]) |
| 181 | 181 |
| 182 if env['PLATFORM'] == 'darwin': | 182 if env['PLATFORM'] == 'darwin': |
| 183 input_files.extend([ | 183 input_files.extend([ |
| 184 '$PORT_DIR/bridge/mac/FrameMac.mm', | 184 '$PORT_DIR/bridge/mac/FrameMac.mm', |
| 185 '$PORT_DIR/page/EventHandlerMac.mm', | 185 '$PORT_DIR/page/EventHandlerMac.mm', |
| 186 '$PORT_DIR/page/WebCoreFrameBridge.mm', | 186 '$PORT_DIR/page/WebCoreFrameBridge.mm', |
| 187 '$PORT_DIR/platform/GKURLMac.mm', | 187 '$PORT_DIR/platform/GKURLMac.mm', |
| 188 '$PORT_DIR/platform/PluginStubsMac.cpp', | 188 '$PORT_DIR/platform/PluginStubsMac.cpp', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 199 input_files.extend([ | 199 input_files.extend([ |
| 200 '$PORT_DIR/bridge/KJSBridge.cpp', | 200 '$PORT_DIR/bridge/KJSBridge.cpp', |
| 201 '$PORT_DIR/bridge/ScriptControllerKJS.cpp', | 201 '$PORT_DIR/bridge/ScriptControllerKJS.cpp', |
| 202 ]) | 202 ]) |
| 203 else: | 203 else: |
| 204 input_files.extend([ | 204 input_files.extend([ |
| 205 '$PORT_DIR/bindings/v8/ScriptController.cpp', | 205 '$PORT_DIR/bindings/v8/ScriptController.cpp', |
| 206 ]) | 206 ]) |
| 207 | 207 |
| 208 env.ChromeStaticLibrary("port", input_files) | 208 env.ChromeStaticLibrary("port", input_files) |
| OLD | NEW |