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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 ] | 122 ] |
123 for remove in remove_files: | 123 for remove in remove_files: |
124 input_files.remove(remove) | 124 input_files.remove(remove) |
125 | 125 |
126 # Linux specific implementations | 126 # Linux specific implementations |
127 input_files.extend([ | 127 input_files.extend([ |
128 '$PORT_DIR/platform/chromium/IconLinux.cpp', | 128 '$PORT_DIR/platform/chromium/IconLinux.cpp', |
129 '$PORT_DIR/platform/chromium/ScrollbarThemeChromiumLinux.cpp', | 129 '$PORT_DIR/platform/chromium/ScrollbarThemeChromiumLinux.cpp', |
130 '$PORT_DIR/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp', | 130 '$PORT_DIR/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp', |
131 '$PORT_DIR/platform/graphics/skia/GdkSkia.cc', | 131 '$PORT_DIR/platform/graphics/skia/GdkSkia.cc', |
132 | |
133 '$PORT_DIR/platform/graphics/skia/public/PlatformCanvasLinux.cpp', | |
134 '$PORT_DIR/platform/graphics/skia/public/PlatformDeviceLinux.cpp', | |
135 '$PORT_DIR/platform/graphics/skia/public/BitmapPlatformDeviceLinux.cpp', | |
136 ]) | 132 ]) |
137 | 133 |
138 if env['PLATFORM'] == 'darwin': | 134 if env['PLATFORM'] == 'darwin': |
139 # 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. |
140 remove_files = [ | 136 remove_files = [ |
141 '$PORT_DIR/page/chromium/AXObjectCacheChromium.cpp', | 137 '$PORT_DIR/page/chromium/AXObjectCacheChromium.cpp', |
142 '$PORT_DIR/page/chromium/EventHandlerChromium.cpp', | 138 '$PORT_DIR/page/chromium/EventHandlerChromium.cpp', |
143 '$PORT_DIR/platform/chromium/CursorChromium.cpp', | 139 '$PORT_DIR/platform/chromium/CursorChromium.cpp', |
144 '$PORT_DIR/platform/chromium/DragDataChromium.cpp', | 140 '$PORT_DIR/platform/chromium/DragDataChromium.cpp', |
145 '$PORT_DIR/platform/chromium/PopupMenuChromium.cpp', | 141 '$PORT_DIR/platform/chromium/PopupMenuChromium.cpp', |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 input_files.extend([ | 199 input_files.extend([ |
204 '$PORT_DIR/bridge/KJSBridge.cpp', | 200 '$PORT_DIR/bridge/KJSBridge.cpp', |
205 '$PORT_DIR/bridge/ScriptControllerKJS.cpp', | 201 '$PORT_DIR/bridge/ScriptControllerKJS.cpp', |
206 ]) | 202 ]) |
207 else: | 203 else: |
208 input_files.extend([ | 204 input_files.extend([ |
209 '$PORT_DIR/bindings/v8/ScriptController.cpp', | 205 '$PORT_DIR/bindings/v8/ScriptController.cpp', |
210 ]) | 206 ]) |
211 | 207 |
212 env.ChromeStaticLibrary("port", input_files) | 208 env.ChromeStaticLibrary("port", input_files) |
OLD | NEW |