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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 ] | 124 ] |
125 for remove in remove_files: | 125 for remove in remove_files: |
126 input_files.remove(remove) | 126 input_files.remove(remove) |
127 | 127 |
128 # Linux specific implementations | 128 # Linux specific implementations |
129 input_files.extend([ | 129 input_files.extend([ |
130 '$PORT_DIR/platform/chromium/IconLinux.cpp', | 130 '$PORT_DIR/platform/chromium/IconLinux.cpp', |
131 '$PORT_DIR/platform/chromium/ScrollbarThemeChromiumLinux.cpp', | 131 '$PORT_DIR/platform/chromium/ScrollbarThemeChromiumLinux.cpp', |
132 '$PORT_DIR/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp', | 132 '$PORT_DIR/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp', |
133 '$PORT_DIR/platform/graphics/skia/GdkSkia.cc', | 133 '$PORT_DIR/platform/graphics/skia/GdkSkia.cc', |
| 134 |
| 135 '$PORT_DIR/platform/graphics/skia/public/PlatformCanvasLinux.cpp', |
| 136 '$PORT_DIR/platform/graphics/skia/public/PlatformDeviceLinux.cpp', |
134 ]) | 137 ]) |
135 | 138 |
136 if env['PLATFORM'] == 'darwin': | 139 if env['PLATFORM'] == 'darwin': |
137 # Remove from the list files that haven't yet been made portable to Mac. | 140 # Remove from the list files that haven't yet been made portable to Mac. |
138 remove_files = [ | 141 remove_files = [ |
139 '$PORT_DIR/page/chromium/AXObjectCacheChromium.cpp', | 142 '$PORT_DIR/page/chromium/AXObjectCacheChromium.cpp', |
140 '$PORT_DIR/page/chromium/EventHandlerChromium.cpp', | 143 '$PORT_DIR/page/chromium/EventHandlerChromium.cpp', |
141 '$PORT_DIR/platform/chromium/CursorChromium.cpp', | 144 '$PORT_DIR/platform/chromium/CursorChromium.cpp', |
142 '$PORT_DIR/platform/chromium/DragDataChromium.cpp', | 145 '$PORT_DIR/platform/chromium/DragDataChromium.cpp', |
143 '$PORT_DIR/platform/chromium/PopupMenuChromium.cpp', | 146 '$PORT_DIR/platform/chromium/PopupMenuChromium.cpp', |
144 '$PORT_DIR/platform/chromium/WidgetChromium.cpp', | 147 '$PORT_DIR/platform/chromium/WidgetChromium.cpp', |
145 '$PORT_DIR/platform/chromium/ScrollbarThemeChromium.cpp', | 148 '$PORT_DIR/platform/chromium/ScrollbarThemeChromium.cpp', |
146 '$PORT_DIR/platform/graphics/FontCustomPlatformData.cpp', | 149 '$PORT_DIR/platform/graphics/FontCustomPlatformData.cpp', |
147 '$PORT_DIR/platform/graphics/ImageSkia.cpp', | 150 '$PORT_DIR/platform/graphics/ImageSkia.cpp', |
| 151 |
| 152 '$PORT_DIR/platform/graphics/skia/public/PlatformCanvasMac.cpp', |
| 153 '$PORT_DIR/platform/graphics/skia/public/PlatformDeviceMac.cpp', |
148 ] | 154 ] |
149 for remove in remove_files: | 155 for remove in remove_files: |
150 input_files.remove(remove) | 156 input_files.remove(remove) |
151 | 157 |
152 if env['PLATFORM'] == 'win32': | 158 if env['PLATFORM'] == 'win32': |
153 # These are win32 specific and will never be ported. | 159 # These are win32 specific and will never be ported. |
154 input_files.extend([ | 160 input_files.extend([ |
155 '$PORT_DIR/platform/chromium/FileSystemChromiumWin.cpp', | 161 '$PORT_DIR/platform/chromium/FileSystemChromiumWin.cpp', |
156 '$PORT_DIR/platform/chromium/ScrollBarThemeChromiumWin.cpp', | 162 '$PORT_DIR/platform/chromium/ScrollBarThemeChromiumWin.cpp', |
157 '$PORT_DIR/platform/win/BString.cpp', | 163 '$PORT_DIR/platform/win/BString.cpp', |
158 '$PORT_DIR/platform/win/SoundWin.cpp', | 164 '$PORT_DIR/platform/win/SoundWin.cpp', |
159 '$PORT_DIR/platform/graphics/FontCacheWin.cpp', | 165 '$PORT_DIR/platform/graphics/FontCacheWin.cpp', |
160 '$PORT_DIR/platform/graphics/FontPlatformDataWin.cpp', | 166 '$PORT_DIR/platform/graphics/FontPlatformDataWin.cpp', |
161 '$PORT_DIR/platform/graphics/FontUtilsWin.cpp', | 167 '$PORT_DIR/platform/graphics/FontUtilsWin.cpp', |
162 '$PORT_DIR/platform/graphics/FontWin.cpp', | 168 '$PORT_DIR/platform/graphics/FontWin.cpp', |
163 '$PORT_DIR/platform/graphics/GlyphPageTreeNodeWin.cpp', | 169 '$PORT_DIR/platform/graphics/GlyphPageTreeNodeWin.cpp', |
164 '$PORT_DIR/platform/graphics/IconWin.cpp', | 170 '$PORT_DIR/platform/graphics/IconWin.cpp', |
165 '$PORT_DIR/platform/graphics/SimpleFontDataWin.cpp', | 171 '$PORT_DIR/platform/graphics/SimpleFontDataWin.cpp', |
166 '$PORT_DIR/platform/graphics/ThemeHelperWin.cpp', | 172 '$PORT_DIR/platform/graphics/ThemeHelperWin.cpp', |
167 '$PORT_DIR/platform/graphics/UniscribeHelper.cpp', | 173 '$PORT_DIR/platform/graphics/UniscribeHelper.cpp', |
168 '$PORT_DIR/platform/graphics/UniscribeHelperTextRun.cpp', | 174 '$PORT_DIR/platform/graphics/UniscribeHelperTextRun.cpp', |
| 175 |
| 176 '$PORT_DIR/platform/graphics/skia/public/PlatformCanvasWin.cpp', |
| 177 '$PORT_DIR/platform/graphics/skia/public/PlatformDeviceWin.cpp', |
| 178 '$PORT_DIR/platform/graphics/skia/public/VectorCanvas.cpp', |
| 179 '$PORT_DIR/platform/graphics/skia/public/VectorDevice.cpp', |
| 180 |
169 '$PORT_DIR/rendering/RenderThemeWin.cpp', | 181 '$PORT_DIR/rendering/RenderThemeWin.cpp', |
170 ]) | 182 ]) |
171 | 183 |
172 if env['PLATFORM'] == 'posix': | 184 if env['PLATFORM'] == 'posix': |
173 input_files.extend([ | 185 input_files.extend([ |
174 '$PORT_DIR/platform/chromium/FileSystemPosix.cpp', | 186 '$PORT_DIR/platform/chromium/FileSystemPosix.cpp', |
175 '$PORT_DIR/platform/chromium/SoundPosix.cpp', | 187 '$PORT_DIR/platform/chromium/SoundPosix.cpp', |
176 '$PORT_DIR/platform/chromium/KeyCodeConversionGtk.cpp', | 188 '$PORT_DIR/platform/chromium/KeyCodeConversionGtk.cpp', |
177 '$PORT_DIR/platform/graphics/chromium/FontLinux.cpp', | 189 '$PORT_DIR/platform/graphics/chromium/FontLinux.cpp', |
178 '$PORT_DIR/platform/graphics/chromium/FontCacheLinux.cpp', | 190 '$PORT_DIR/platform/graphics/chromium/FontCacheLinux.cpp', |
(...skipping 21 matching lines...) Expand all Loading... |
200 input_files.extend([ | 212 input_files.extend([ |
201 '$PORT_DIR/bridge/KJSBridge.cpp', | 213 '$PORT_DIR/bridge/KJSBridge.cpp', |
202 '$PORT_DIR/bridge/ScriptControllerKJS.cpp', | 214 '$PORT_DIR/bridge/ScriptControllerKJS.cpp', |
203 ]) | 215 ]) |
204 else: | 216 else: |
205 input_files.extend([ | 217 input_files.extend([ |
206 '$PORT_DIR/bindings/v8/ScriptController.cpp', | 218 '$PORT_DIR/bindings/v8/ScriptController.cpp', |
207 ]) | 219 ]) |
208 | 220 |
209 env.ChromeStaticLibrary("port", input_files) | 221 env.ChromeStaticLibrary("port", input_files) |
OLD | NEW |