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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 160 |
161 if env['PLATFORM'] == 'darwin': | 161 if env['PLATFORM'] == 'darwin': |
162 # Mac specific implementations. | 162 # Mac specific implementations. |
163 input_files.extend([ | 163 input_files.extend([ |
164 '$PORT_DIR/bridge/mac/FrameMac.mm', | 164 '$PORT_DIR/bridge/mac/FrameMac.mm', |
165 '$PORT_DIR/page/EventHandlerMac.mm', | 165 '$PORT_DIR/page/EventHandlerMac.mm', |
166 '$PORT_DIR/page/WebCoreFrameBridge.mm', | 166 '$PORT_DIR/page/WebCoreFrameBridge.mm', |
167 '$PORT_DIR/platform/GKURLMac.mm', | 167 '$PORT_DIR/platform/GKURLMac.mm', |
168 '$PORT_DIR/platform/PluginStubsMac.cpp', | 168 '$PORT_DIR/platform/PluginStubsMac.cpp', |
169 '$PORT_DIR/platform/mac/DragDataMac.mm', | 169 '$PORT_DIR/platform/mac/DragDataMac.mm', |
170 '$PORT_DIR/platform/mac/IntRectMac.mm', | |
171 '$PORT_DIR/platform/graphics/mac/FontCacheMacPending.cpp', | 170 '$PORT_DIR/platform/graphics/mac/FontCacheMacPending.cpp', |
172 '$PORT_DIR/rendering/RenderThemeMac.mm', | 171 '$PORT_DIR/rendering/RenderThemeMac.mm', |
173 ]) | 172 ]) |
174 | 173 |
175 # Remove from the list files that haven't yet been made portable to Mac. | 174 # Remove from the list files that haven't yet been made portable to Mac. |
176 to_be_ported_files = [ | 175 to_be_ported_files = [ |
177 '$PORT_DIR/page/chromium/AXObjectCacheChromium.cpp', | 176 '$PORT_DIR/page/chromium/AXObjectCacheChromium.cpp', |
178 '$PORT_DIR/page/chromium/EventHandlerChromium.cpp', | 177 '$PORT_DIR/page/chromium/EventHandlerChromium.cpp', |
179 '$PORT_DIR/platform/chromium/CursorChromium.cpp', | 178 '$PORT_DIR/platform/chromium/CursorChromium.cpp', |
180 '$PORT_DIR/platform/chromium/DragDataChromium.cpp', | 179 '$PORT_DIR/platform/chromium/DragDataChromium.cpp', |
181 '$PORT_DIR/platform/chromium/PopupMenuChromium.cpp', | 180 '$PORT_DIR/platform/chromium/PopupMenuChromium.cpp', |
182 '$PORT_DIR/platform/chromium/WidgetChromium.cpp', | 181 '$PORT_DIR/platform/chromium/WidgetChromium.cpp', |
183 '$PORT_DIR/platform/chromium/ScrollbarThemeChromium.cpp', | 182 '$PORT_DIR/platform/chromium/ScrollbarThemeChromium.cpp', |
184 '$PORT_DIR/platform/graphics/chromium/FontCustomPlatformData.cpp', | 183 '$PORT_DIR/platform/graphics/chromium/FontCustomPlatformData.cpp', |
185 '$PORT_DIR/platform/graphics/skia/ImageSkia.cpp', | 184 '$PORT_DIR/platform/graphics/skia/ImageSkia.cpp', |
186 ] | 185 ] |
187 input_files = list(set(input_files) - set(to_be_ported_files)) | 186 input_files = list(set(input_files) - set(to_be_ported_files)) |
188 | 187 |
189 if env.get('KJS'): | 188 if env.get('KJS'): |
190 input_files.extend([ | 189 input_files.extend([ |
191 '$PORT_DIR/bridge/KJSBridge.cpp', | 190 '$PORT_DIR/bridge/KJSBridge.cpp', |
192 '$PORT_DIR/bridge/ScriptControllerKJS.cpp', | 191 '$PORT_DIR/bridge/ScriptControllerKJS.cpp', |
193 ]) | 192 ]) |
194 else: | 193 else: |
195 input_files.extend([ | 194 input_files.extend([ |
196 '$PORT_DIR/bindings/v8/ScriptController.cpp', | 195 '$PORT_DIR/bindings/v8/ScriptController.cpp', |
197 ]) | 196 ]) |
198 | 197 |
199 env.ChromeStaticLibrary("port", input_files) | 198 env.ChromeStaticLibrary("port", input_files) |
OLD | NEW |