| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
| 6 'includes': [ | 6 'includes': [ |
| 7 '../third_party/WebKit/WebKit/chromium/features.gypi', | 7 '../third_party/WebKit/WebKit/chromium/features.gypi', |
| 8 '../third_party/WebKit/WebCore/WebCore.gypi', | 8 '../third_party/WebKit/WebCore/WebCore.gypi', |
| 9 ], | 9 ], |
| 10 'variables': { | 10 'variables': { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 'type': 'none', | 50 'type': 'none', |
| 51 'conditions': [ | 51 'conditions': [ |
| 52 ['OS=="win"', { | 52 ['OS=="win"', { |
| 53 'dependencies': [ | 53 'dependencies': [ |
| 54 'tools/test_shell/test_shell.gyp:*', | 54 'tools/test_shell/test_shell.gyp:*', |
| 55 ], | 55 ], |
| 56 }], | 56 }], |
| 57 ], | 57 ], |
| 58 }, | 58 }, |
| 59 { | 59 { |
| 60 'target_name': 'webkit', | |
| 61 'type': '<(library)', | |
| 62 'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65', | |
| 63 'dependencies': [ | |
| 64 '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', | |
| 65 ], | |
| 66 'include_dirs': [ | |
| 67 'api/public', | |
| 68 'api/src', | |
| 69 ], | |
| 70 'defines': [ | |
| 71 'WEBKIT_IMPLEMENTATION', | |
| 72 ], | |
| 73 'sources': [ | |
| 74 'api/public/gtk/WebInputEventFactory.h', | |
| 75 'api/public/linux/WebFontRendering.h', | |
| 76 'api/public/x11/WebScreenInfoFactory.h', | |
| 77 'api/public/mac/WebInputEventFactory.h', | |
| 78 'api/public/mac/WebScreenInfoFactory.h', | |
| 79 'api/public/WebAccessibilityObject.h', | |
| 80 'api/public/WebAccessibilityRole.h', | |
| 81 'api/public/WebApplicationCacheHost.h', | |
| 82 'api/public/WebApplicationCacheHostClient.h', | |
| 83 'api/public/WebBindings.h', | |
| 84 'api/public/WebCache.h', | |
| 85 'api/public/WebCanvas.h', | |
| 86 'api/public/WebClipboard.h', | |
| 87 'api/public/WebColor.h', | |
| 88 'api/public/WebColorName.h', | |
| 89 'api/public/WebCommon.h', | |
| 90 'api/public/WebCompositionCommand.h', | |
| 91 'api/public/WebConsoleMessage.h', | |
| 92 'api/public/WebContextMenuData.h', | |
| 93 'api/public/WebCookie.h', | |
| 94 'api/public/WebCrossOriginPreflightResultCache.h', | |
| 95 'api/public/WebCString.h', | |
| 96 'api/public/WebCursorInfo.h', | |
| 97 'api/public/WebData.h', | |
| 98 'api/public/WebDatabase.h', | |
| 99 'api/public/WebDatabaseObserver.h', | |
| 100 'api/public/WebDataSource.h', | |
| 101 'api/public/WebDevToolsAgent.h', | |
| 102 'api/public/WebDevToolsAgentClient.h', | |
| 103 'api/public/WebDevToolsFrontend.h', | |
| 104 'api/public/WebDevToolsFrontendClient.h', | |
| 105 'api/public/WebDragData.h', | |
| 106 'api/public/WebEditingAction.h', | |
| 107 'api/public/WebFileChooserCompletion.h', | |
| 108 'api/public/WebFindOptions.h', | |
| 109 'api/public/WebFrame.h', | |
| 110 'api/public/WebFrameClient.h', | |
| 111 'api/public/WebFontCache.h', | |
| 112 'api/public/WebForm.h', | |
| 113 'api/public/WebHistoryItem.h', | |
| 114 'api/public/WebHTTPBody.h', | |
| 115 'api/public/WebImage.h', | |
| 116 'api/public/WebInputEvent.h', | |
| 117 'api/public/WebKit.h', | |
| 118 'api/public/WebKitClient.h', | |
| 119 'api/public/WebLocalizedString.h', | |
| 120 'api/public/WebMediaPlayer.h', | |
| 121 'api/public/WebMediaPlayerAction.h', | |
| 122 'api/public/WebMediaPlayerClient.h', | |
| 123 'api/public/WebMessagePortChannel.h', | |
| 124 'api/public/WebMessagePortChannelClient.h', | |
| 125 'api/public/WebMimeRegistry.h', | |
| 126 'api/public/WebNavigationType.h', | |
| 127 'api/public/WebNode.h', | |
| 128 'api/public/WebNonCopyable.h', | |
| 129 'api/public/WebNotification.h', | |
| 130 'api/public/WebNotificationPresenter.h', | |
| 131 'api/public/WebNotificationPermissionCallback.h', | |
| 132 'api/public/WebPlugin.h', | |
| 133 'api/public/WebPluginContainer.h', | |
| 134 'api/public/WebPluginListBuilder.h', | |
| 135 'api/public/WebPoint.h', | |
| 136 'api/public/WebPopupMenu.h', | |
| 137 'api/public/WebPopupMenuInfo.h', | |
| 138 'api/public/WebRange.h', | |
| 139 'api/public/WebRect.h', | |
| 140 'api/public/WebRuntimeFeatures.h', | |
| 141 'api/public/WebScreenInfo.h', | |
| 142 'api/public/WebScriptController.h', | |
| 143 'api/public/WebScriptSource.h', | |
| 144 'api/public/WebSearchableFormData.h', | |
| 145 'api/public/WebSecurityOrigin.h', | |
| 146 'api/public/WebSecurityPolicy.h', | |
| 147 'api/public/WebSettings.h', | |
| 148 'api/public/WebSize.h', | |
| 149 'api/public/WebSocketStreamError.h', | |
| 150 'api/public/WebSocketStreamHandle.h', | |
| 151 'api/public/WebSocketStreamHandleClient.h', | |
| 152 'api/public/WebStorageArea.h', | |
| 153 'api/public/WebStorageEventDispatcher.h', | |
| 154 'api/public/WebStorageNamespace.h', | |
| 155 'api/public/WebString.h', | |
| 156 'api/public/WebTextAffinity.h', | |
| 157 'api/public/WebTextDirection.h', | |
| 158 'api/public/WebURL.h', | |
| 159 'api/public/WebURLError.h', | |
| 160 'api/public/WebURLLoader.h', | |
| 161 'api/public/WebURLLoaderClient.h', | |
| 162 'api/public/WebURLRequest.h', | |
| 163 'api/public/WebURLResponse.h', | |
| 164 'api/public/WebVector.h', | |
| 165 'api/public/WebView.h', | |
| 166 'api/public/WebViewClient.h', | |
| 167 'api/public/WebWidget.h', | |
| 168 'api/public/WebWidgetClient.h', | |
| 169 'api/public/WebWorker.h', | |
| 170 'api/public/WebWorkerClient.h', | |
| 171 'api/public/win/WebInputEventFactory.h', | |
| 172 'api/public/win/WebSandboxSupport.h', | |
| 173 'api/public/win/WebScreenInfoFactory.h', | |
| 174 'api/public/win/WebScreenInfoFactory.h', | |
| 175 'api/src/ApplicationCacheHost.cpp', | |
| 176 'api/src/AssertMatchingEnums.cpp', | |
| 177 'api/src/AutocompletePopupMenuClient.cpp', | |
| 178 'api/src/AutocompletePopupMenuClient.h', | |
| 179 'api/src/BackForwardListClientImpl.cpp', | |
| 180 'api/src/BackForwardListClientImpl.h', | |
| 181 'api/src/ChromeClientImpl.cpp', | |
| 182 'api/src/ChromeClientImpl.h', | |
| 183 'api/src/ChromiumBridge.cpp', | |
| 184 'api/src/ChromiumCurrentTime.cpp', | |
| 185 'api/src/ChromiumThreading.cpp', | |
| 186 'api/src/ContextMenuClientImpl.cpp', | |
| 187 'api/src/ContextMenuClientImpl.h', | |
| 188 'api/src/DOMUtilitiesPrivate.cpp', | |
| 189 'api/src/DOMUtilitiesPrivate.h', | |
| 190 'api/src/DragClientImpl.cpp', | |
| 191 'api/src/DragClientImpl.h', | |
| 192 'api/src/EditorClientImpl.cpp', | |
| 193 'api/src/EditorClientImpl.h', | |
| 194 'api/src/FrameLoaderClientImpl.cpp', | |
| 195 'api/src/FrameLoaderClientImpl.h', | |
| 196 'api/src/EmptyWebFrameClientImpl.h', | |
| 197 'api/src/gtk/WebFontInfo.cpp', | |
| 198 'api/src/gtk/WebFontInfo.h', | |
| 199 'api/src/gtk/WebInputEventFactory.cpp', | |
| 200 'api/src/InspectorClientImpl.cpp', | |
| 201 'api/src/InspectorClientImpl.h', | |
| 202 'api/src/linux/WebFontRendering.cpp', | |
| 203 'api/src/x11/WebScreenInfoFactory.cpp', | |
| 204 'api/src/mac/WebInputEventFactory.mm', | |
| 205 'api/src/mac/WebScreenInfoFactory.mm', | |
| 206 'api/src/LocalizedStrings.cpp', | |
| 207 'api/src/MediaPlayerPrivateChromium.cpp', | |
| 208 'api/src/NotificationPresenterImpl.h', | |
| 209 'api/src/NotificationPresenterImpl.cpp', | |
| 210 'api/src/PasswordAutocompleteListener.h', | |
| 211 'api/src/PlatformMessagePortChannel.cpp', | |
| 212 'api/src/PlatformMessagePortChannel.h', | |
| 213 'api/src/ResourceHandle.cpp', | |
| 214 'api/src/SharedWorkerRepository.cpp', | |
| 215 'api/src/SocketStreamHandle.cpp', | |
| 216 'api/src/StorageAreaProxy.cpp', | |
| 217 'api/src/StorageAreaProxy.h', | |
| 218 'api/src/StorageEventDispatcherChromium.cpp', | |
| 219 'api/src/StorageEventDispatcherImpl.cpp', | |
| 220 'api/src/StorageEventDispatcherImpl.h', | |
| 221 'api/src/StorageNamespaceProxy.cpp', | |
| 222 'api/src/StorageNamespaceProxy.h', | |
| 223 'api/src/TemporaryGlue.h', | |
| 224 'api/src/WebAccessibilityObject.cpp', | |
| 225 'api/src/WebBindings.cpp', | |
| 226 'api/src/WebCache.cpp', | |
| 227 'api/src/WebColor.cpp', | |
| 228 'api/src/WebCrossOriginPreflightResultCache.cpp', | |
| 229 'api/src/WebCString.cpp', | |
| 230 'api/src/WebCursorInfo.cpp', | |
| 231 'api/src/WebData.cpp', | |
| 232 'api/src/WebDatabase.cpp', | |
| 233 'api/src/WebDataSourceImpl.cpp', | |
| 234 'api/src/WebDataSourceImpl.h', | |
| 235 'api/src/WebDragData.cpp', | |
| 236 'api/src/WebFileChooserCompletionImpl.cpp', | |
| 237 'api/src/WebFileChooserCompletionImpl.h', | |
| 238 'api/src/WebFontCache.cpp', | |
| 239 'api/src/WebForm.cpp', | |
| 240 'api/src/WebFrameImpl.cpp', | |
| 241 'api/src/WebFrameImpl.h', | |
| 242 'api/src/WebHistoryItem.cpp', | |
| 243 'api/src/WebHTTPBody.cpp', | |
| 244 'api/src/WebImageCG.cpp', | |
| 245 'api/src/WebImageSkia.cpp', | |
| 246 'api/src/WebInputEvent.cpp', | |
| 247 'api/src/WebInputEventConversion.cpp', | |
| 248 'api/src/WebInputEventConversion.h', | |
| 249 'api/src/WebKit.cpp', | |
| 250 'api/src/WebMediaPlayerClientImpl.cpp', | |
| 251 'api/src/WebMediaPlayerClientImpl.h', | |
| 252 'api/src/WebNode.cpp', | |
| 253 'api/src/WebNotification.cpp', | |
| 254 'api/src/WebPluginContainerImpl.h', | |
| 255 'api/src/WebPluginContainerImpl.cpp', | |
| 256 'api/src/WebPluginListBuilderImpl.cpp', | |
| 257 'api/src/WebPluginListBuilderImpl.h', | |
| 258 'api/src/WebPluginLoadObserver.cpp', | |
| 259 'api/src/WebPluginLoadObserver.h', | |
| 260 'api/src/WebPopupMenuImpl.cpp', | |
| 261 'api/src/WebPopupMenuImpl.h', | |
| 262 'api/src/WebRange.cpp', | |
| 263 'api/src/WebRuntimeFeatures.cpp', | |
| 264 'api/src/WebScriptController.cpp', | |
| 265 'api/src/WebSearchableFormData.cpp', | |
| 266 'api/src/WebSecurityOrigin.cpp', | |
| 267 'api/src/WebSecurityPolicy.cpp', | |
| 268 'api/src/WebSettingsImpl.cpp', | |
| 269 'api/src/WebSettingsImpl.h', | |
| 270 'api/src/WebStorageAreaImpl.cpp', | |
| 271 'api/src/WebStorageAreaImpl.h', | |
| 272 'api/src/WebStorageEventDispatcherImpl.cpp', | |
| 273 'api/src/WebStorageEventDispatcherImpl.h', | |
| 274 'api/src/WebStorageNamespaceImpl.cpp', | |
| 275 'api/src/WebStorageNamespaceImpl.h', | |
| 276 'api/src/WebString.cpp', | |
| 277 'api/src/WebURL.cpp', | |
| 278 'api/src/WebURLRequest.cpp', | |
| 279 'api/src/WebURLRequestPrivate.h', | |
| 280 'api/src/WebURLResponse.cpp', | |
| 281 'api/src/WebURLResponsePrivate.h', | |
| 282 'api/src/WebURLError.cpp', | |
| 283 'api/src/WebViewImpl.cpp', | |
| 284 'api/src/WebViewImpl.h', | |
| 285 'api/src/WebWorkerClientImpl.cpp', | |
| 286 'api/src/WebWorkerClientImpl.h', | |
| 287 'api/src/WebWorkerImpl.cpp', | |
| 288 'api/src/WebWorkerImpl.h', | |
| 289 'api/src/WrappedResourceRequest.h', | |
| 290 'api/src/WrappedResourceResponse.h', | |
| 291 'api/src/win/WebInputEventFactory.cpp', | |
| 292 'api/src/win/WebScreenInfoFactory.cpp', | |
| 293 ], | |
| 294 'conditions': [ | |
| 295 ['OS=="linux" or OS=="freebsd"', { | |
| 296 'dependencies': [ | |
| 297 '../build/linux/system.gyp:fontconfig', | |
| 298 '../build/linux/system.gyp:gtk', | |
| 299 '../build/linux/system.gyp:x11', | |
| 300 ], | |
| 301 'include_dirs': [ | |
| 302 'api/public/x11', | |
| 303 'api/public/gtk', | |
| 304 'api/public/linux', | |
| 305 ], | |
| 306 }, { # else: OS!="linux" and OS!="freebsd" | |
| 307 'sources/': [ | |
| 308 ['exclude', '/gtk/'], | |
| 309 ['exclude', '/x11/'], | |
| 310 ['exclude', '/linux/'], | |
| 311 ], | |
| 312 }], | |
| 313 ['OS=="mac"', { | |
| 314 'include_dirs': [ | |
| 315 'api/public/mac', | |
| 316 ], | |
| 317 'sources/': [ | |
| 318 ['exclude', 'Skia\\.cpp$'], | |
| 319 ], | |
| 320 }, { # else: OS!="mac" | |
| 321 'sources/': [ | |
| 322 ['exclude', '/mac/'], | |
| 323 ['exclude', 'CG\\.cpp$'], | |
| 324 ], | |
| 325 }], | |
| 326 ['OS=="win"', { | |
| 327 'include_dirs': [ | |
| 328 'api/public/win', | |
| 329 ], | |
| 330 }, { # else: OS!="win" | |
| 331 'sources/': [['exclude', '/win/']], | |
| 332 }], | |
| 333 ['"ENABLE_3D_CANVAS=1" in feature_defines', { | |
| 334 # Conditionally compile in GLEW and our GraphicsContext3D implementati
on. | |
| 335 'sources+': [ | |
| 336 'api/src/GraphicsContext3D.cpp', | |
| 337 '../third_party/glew/src/glew.c' | |
| 338 ], | |
| 339 'include_dirs+': [ | |
| 340 '../third_party/glew/include' | |
| 341 ], | |
| 342 'defines+': [ | |
| 343 'GLEW_STATIC=1', | |
| 344 'GLEW_NO_GLU=1', | |
| 345 ], | |
| 346 'conditions': [ | |
| 347 ['OS=="win"', { | |
| 348 'link_settings': { | |
| 349 'libraries': [ | |
| 350 '-lopengl32.lib', | |
| 351 ], | |
| 352 }, | |
| 353 }], | |
| 354 ['OS=="mac"', { | |
| 355 'link_settings': { | |
| 356 'libraries': [ | |
| 357 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | |
| 358 ], | |
| 359 }, | |
| 360 }], | |
| 361 ], | |
| 362 }], | |
| 363 ], | |
| 364 }, | |
| 365 { | |
| 366 'target_name': 'webkit_resources', | 60 'target_name': 'webkit_resources', |
| 367 'type': 'none', | 61 'type': 'none', |
| 368 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9', | 62 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9', |
| 369 'variables': { | 63 'variables': { |
| 370 'grit_path': '../tools/grit/grit.py', | 64 'grit_path': '../tools/grit/grit.py', |
| 371 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', | 65 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 372 }, | 66 }, |
| 373 'actions': [ | 67 'actions': [ |
| 374 { | 68 { |
| 375 'action_name': 'webkit_resources', | 69 'action_name': 'webkit_resources', |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 'dependencies': ['../build/win/system.gyp:cygwin'], | 129 'dependencies': ['../build/win/system.gyp:cygwin'], |
| 436 }], | 130 }], |
| 437 ], | 131 ], |
| 438 }, | 132 }, |
| 439 { | 133 { |
| 440 'target_name': 'appcache', | 134 'target_name': 'appcache', |
| 441 'type': '<(library)', | 135 'type': '<(library)', |
| 442 'msvs_guid': '0B945915-31A7-4A07-A5B5-568D737A39B1', | 136 'msvs_guid': '0B945915-31A7-4A07-A5B5-568D737A39B1', |
| 443 'dependencies': [ | 137 'dependencies': [ |
| 444 '../net/net.gyp:net', | 138 '../net/net.gyp:net', |
| 445 'webkit', | 139 'api/WebKitAPI.gyp:webkit_api', |
| 446 ], | 140 ], |
| 447 'sources': [ | 141 'sources': [ |
| 448 # This list contains all .h and .cc in appcache except for test code. | 142 # This list contains all .h and .cc in appcache except for test code. |
| 449 'appcache/appcache.cc', | 143 'appcache/appcache.cc', |
| 450 'appcache/appcache.h', | 144 'appcache/appcache.h', |
| 451 'appcache/appcache_backend_impl.cc', | 145 'appcache/appcache_backend_impl.cc', |
| 452 'appcache/appcache_backend_impl.h', | 146 'appcache/appcache_backend_impl.h', |
| 453 'appcache/appcache_entry.h', | 147 'appcache/appcache_entry.h', |
| 454 'appcache/appcache_frontend_impl.cc', | 148 'appcache/appcache_frontend_impl.cc', |
| 455 'appcache/appcache_frontend_impl.h', | 149 'appcache/appcache_frontend_impl.h', |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 }, | 192 }, |
| 499 { | 193 { |
| 500 'target_name': 'glue', | 194 'target_name': 'glue', |
| 501 'type': '<(library)', | 195 'type': '<(library)', |
| 502 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09', | 196 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09', |
| 503 'dependencies': [ | 197 'dependencies': [ |
| 504 '../app/app.gyp:app_base', | 198 '../app/app.gyp:app_base', |
| 505 '../net/net.gyp:net', | 199 '../net/net.gyp:net', |
| 506 'inspector_resources', | 200 'inspector_resources', |
| 507 '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', | 201 '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', |
| 508 'webkit', | 202 'api/WebKitAPI.gyp:webkit_api', |
| 509 'webkit_resources', | 203 'webkit_resources', |
| 510 'webkit_strings', | 204 'webkit_strings', |
| 511 ], | 205 ], |
| 512 'actions': [ | 206 'actions': [ |
| 513 { | 207 { |
| 514 'action_name': 'webkit_version', | 208 'action_name': 'webkit_version', |
| 515 'inputs': [ | 209 'inputs': [ |
| 516 'build/webkit_version.py', | 210 'build/webkit_version.py', |
| 517 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig', | 211 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig', |
| 518 ], | 212 ], |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 ], | 510 ], |
| 817 } | 511 } |
| 818 ], # targets | 512 ], # targets |
| 819 } | 513 } |
| 820 | 514 |
| 821 # Local Variables: | 515 # Local Variables: |
| 822 # tab-width:2 | 516 # tab-width:2 |
| 823 # indent-tabs-mode:nil | 517 # indent-tabs-mode:nil |
| 824 # End: | 518 # End: |
| 825 # vim: set expandtab tabstop=2 shiftwidth=2: | 519 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |