Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: webkit/api/WebKit.gyp

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.cc ('k') | webkit/appcache/appcache_interfaces.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #
2 # Copyright (C) 2009 Google Inc. All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
13 # distribution.
14 # * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 #
30
31 {
32 'includes': [
33 # FIXME: change to ../features.gypi once upstreamed to WebKit/chromium/api.
34 '../../third_party/WebKit/WebKit/chromium/features.gypi',
35 ],
36 'variables': {
37 # We can't turn on warnings on Windows and Linux until we upstream the
38 # WebKit API.
39 'conditions': [
40 ['OS=="mac"', {
41 'chromium_code': 1,
42 }],
43 ],
44 },
45 'targets': [
46 {
47 'target_name': 'webkit',
48 'type': '<(library)',
49 'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65',
50 'dependencies': [
51 #FIXME: change to ../../WebCore/WebCore.gyp/WebCore.gyp:webcore once upstreamed.
52 '../../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore',
53 ],
54 'include_dirs': [
55 'public',
56 'src',
57 ],
58 'defines': [
59 'WEBKIT_IMPLEMENTATION',
60 ],
61 'sources': [
62 'public/gtk/WebInputEventFactory.h',
63 'public/linux/WebFontRendering.h',
64 'public/x11/WebScreenInfoFactory.h',
65 'public/mac/WebInputEventFactory.h',
66 'public/mac/WebScreenInfoFactory.h',
67 'public/WebAccessibilityCache.h',
68 'public/WebAccessibilityObject.h',
69 'public/WebAccessibilityRole.h',
70 'public/WebApplicationCacheHost.h',
71 'public/WebApplicationCacheHostClient.h',
72 'public/WebBindings.h',
73 'public/WebCache.h',
74 'public/WebCanvas.h',
75 'public/WebClipboard.h',
76 'public/WebColor.h',
77 'public/WebColorName.h',
78 'public/WebCommon.h',
79 'public/WebCommonWorkerClient.h',
80 'public/WebCompositionCommand.h',
81 'public/WebConsoleMessage.h',
82 'public/WebContextMenuData.h',
83 'public/WebCookie.h',
84 'public/WebCrossOriginPreflightResultCache.h',
85 'public/WebCString.h',
86 'public/WebCursorInfo.h',
87 'public/WebData.h',
88 'public/WebDatabase.h',
89 'public/WebDatabaseObserver.h',
90 'public/WebDataSource.h',
91 'public/WebDevToolsAgent.h',
92 'public/WebDevToolsAgentClient.h',
93 'public/WebDevToolsFrontend.h',
94 'public/WebDevToolsFrontendClient.h',
95 'public/WebDragData.h',
96 'public/WebEditingAction.h',
97 'public/WebElement.h',
98 'public/WebFileChooserCompletion.h',
99 'public/WebFindOptions.h',
100 'public/WebFrame.h',
101 'public/WebFrameClient.h',
102 'public/WebFontCache.h',
103 'public/WebFormElement.h',
104 'public/WebHistoryItem.h',
105 'public/WebHTTPBody.h',
106 'public/WebImage.h',
107 'public/WebInputElement.h',
108 'public/WebInputEvent.h',
109 'public/WebKit.h',
110 'public/WebKitClient.h',
111 'public/WebLocalizedString.h',
112 'public/WebMediaPlayer.h',
113 'public/WebMediaPlayerAction.h',
114 'public/WebMediaPlayerClient.h',
115 'public/WebMessagePortChannel.h',
116 'public/WebMessagePortChannelClient.h',
117 'public/WebMimeRegistry.h',
118 'public/WebNavigationType.h',
119 'public/WebNode.h',
120 'public/WebNonCopyable.h',
121 'public/WebNotification.h',
122 'public/WebNotificationPresenter.h',
123 'public/WebNotificationPermissionCallback.h',
124 'public/WebPasswordAutocompleteListener.h',
125 'public/WebPasswordFormData.h',
126 'public/WebPlugin.h',
127 'public/WebPluginContainer.h',
128 'public/WebPluginListBuilder.h',
129 'public/WebPoint.h',
130 'public/WebPopupMenu.h',
131 'public/WebPopupMenuInfo.h',
132 'public/WebRange.h',
133 'public/WebRect.h',
134 'public/WebRuntimeFeatures.h',
135 'public/WebScreenInfo.h',
136 'public/WebScriptController.h',
137 'public/WebScriptSource.h',
138 'public/WebSearchableFormData.h',
139 'public/WebSecurityOrigin.h',
140 'public/WebSecurityPolicy.h',
141 'public/WebSettings.h',
142 'public/WebSharedWorker.h'
143 'public/WebSharedWorkerRepository.h',
144 'public/WebSize.h',
145 'public/WebSocketStreamError.h',
146 'public/WebSocketStreamHandle.h',
147 'public/WebSocketStreamHandleClient.h',
148 'public/WebStorageArea.h',
149 'public/WebStorageEventDispatcher.h',
150 'public/WebStorageNamespace.h',
151 'public/WebString.h',
152 'public/WebTextAffinity.h',
153 'public/WebTextDirection.h',
154 'public/WebURL.h',
155 'public/WebURLError.h',
156 'public/WebURLLoader.h',
157 'public/WebURLLoaderClient.h',
158 'public/WebURLRequest.h',
159 'public/WebURLResponse.h',
160 'public/WebVector.h',
161 'public/WebView.h',
162 'public/WebViewClient.h',
163 'public/WebWidget.h',
164 'public/WebWidgetClient.h',
165 'public/WebWorker.h',
166 'public/WebWorkerClient.h',
167 'public/win/WebInputEventFactory.h',
168 'public/win/WebSandboxSupport.h',
169 'public/win/WebScreenInfoFactory.h',
170 'public/win/WebScreenInfoFactory.h',
171 'src/ApplicationCacheHost.cpp',
172 'src/AssertMatchingEnums.cpp',
173 'src/AutocompletePopupMenuClient.cpp',
174 'src/AutocompletePopupMenuClient.h',
175 'src/BackForwardListClientImpl.cpp',
176 'src/BackForwardListClientImpl.h',
177 'src/ChromeClientImpl.cpp',
178 'src/ChromeClientImpl.h',
179 'src/ChromiumBridge.cpp',
180 'src/ChromiumCurrentTime.cpp',
181 'src/ChromiumThreading.cpp',
182 'src/ContextMenuClientImpl.cpp',
183 'src/ContextMenuClientImpl.h',
184 'src/DOMUtilitiesPrivate.cpp',
185 'src/DOMUtilitiesPrivate.h',
186 'src/DragClientImpl.cpp',
187 'src/DragClientImpl.h',
188 'src/EditorClientImpl.cpp',
189 'src/EditorClientImpl.h',
190 'src/FrameLoaderClientImpl.cpp',
191 'src/FrameLoaderClientImpl.h',
192 'src/gtk/WebFontInfo.cpp',
193 'src/gtk/WebFontInfo.h',
194 'src/gtk/WebInputEventFactory.cpp',
195 'src/InspectorClientImpl.cpp',
196 'src/InspectorClientImpl.h',
197 'src/linux/WebFontRendering.cpp',
198 'src/x11/WebScreenInfoFactory.cpp',
199 'src/mac/WebInputEventFactory.mm',
200 'src/mac/WebScreenInfoFactory.mm',
201 'src/LocalizedStrings.cpp',
202 'src/MediaPlayerPrivateChromium.cpp',
203 'src/NotificationPresenterImpl.h',
204 'src/NotificationPresenterImpl.cpp',
205 'src/PlatformMessagePortChannel.cpp',
206 'src/PlatformMessagePortChannel.h',
207 'src/ResourceHandle.cpp',
208 'src/SharedWorkerRepository.cpp',
209 'src/SocketStreamHandle.cpp',
210 'src/StorageAreaProxy.cpp',
211 'src/StorageAreaProxy.h',
212 'src/StorageEventDispatcherChromium.cpp',
213 'src/StorageEventDispatcherImpl.cpp',
214 'src/StorageEventDispatcherImpl.h',
215 'src/StorageNamespaceProxy.cpp',
216 'src/StorageNamespaceProxy.h',
217 'src/TemporaryGlue.h',
218 'src/WebAccessibilityCache.cpp',
219 'src/WebAccessibilityCacheImpl.cpp',
220 'src/WebAccessibilityCacheImpl.h',
221 'src/WebAccessibilityObject.cpp',
222 'src/WebBindings.cpp',
223 'src/WebCache.cpp',
224 'src/WebColor.cpp',
225 'src/WebCrossOriginPreflightResultCache.cpp',
226 'src/WebCString.cpp',
227 'src/WebCursorInfo.cpp',
228 'src/WebData.cpp',
229 'src/WebDatabase.cpp',
230 'src/WebDataSourceImpl.cpp',
231 'src/WebDataSourceImpl.h',
232 'src/WebDragData.cpp',
233 'src/WebElement.cpp',
234 'src/WebFileChooserCompletionImpl.cpp',
235 'src/WebFileChooserCompletionImpl.h',
236 'src/WebFontCache.cpp',
237 'src/WebFormElement.cpp',
238 'src/WebFrameImpl.cpp',
239 'src/WebFrameImpl.h',
240 'src/WebHistoryItem.cpp',
241 'src/WebHTTPBody.cpp',
242 'src/WebImageCG.cpp',
243 'src/WebImageSkia.cpp',
244 'src/WebInputElement.cpp',
245 'src/WebInputEvent.cpp',
246 'src/WebInputEventConversion.cpp',
247 'src/WebInputEventConversion.h',
248 'src/WebKit.cpp',
249 'src/WebMediaPlayerClientImpl.cpp',
250 'src/WebMediaPlayerClientImpl.h',
251 'src/WebNode.cpp',
252 'src/WebNotification.cpp',
253 'src/WebPasswordFormData.cpp',
254 'src/WebPasswordFormUtils.cpp',
255 'src/WebPasswordFormUtils.h',
256 'src/WebPluginContainerImpl.h',
257 'src/WebPluginContainerImpl.cpp',
258 'src/WebPluginListBuilderImpl.cpp',
259 'src/WebPluginListBuilderImpl.h',
260 'src/WebPluginLoadObserver.cpp',
261 'src/WebPluginLoadObserver.h',
262 'src/WebPopupMenuImpl.cpp',
263 'src/WebPopupMenuImpl.h',
264 'src/WebRange.cpp',
265 'src/WebRuntimeFeatures.cpp',
266 'src/WebScriptController.cpp',
267 'src/WebSearchableFormData.cpp',
268 'src/WebSecurityOrigin.cpp',
269 'src/WebSecurityPolicy.cpp',
270 'src/WebSettingsImpl.cpp',
271 'src/WebSettingsImpl.h',
272 'src/WebSharedWorkerImpl.cpp',
273 'src/WebSharedWorkerImpl.h',
274 'src/WebStorageAreaImpl.cpp',
275 'src/WebStorageAreaImpl.h',
276 'src/WebStorageEventDispatcherImpl.cpp',
277 'src/WebStorageEventDispatcherImpl.h',
278 'src/WebStorageNamespaceImpl.cpp',
279 'src/WebStorageNamespaceImpl.h',
280 'src/WebString.cpp',
281 'src/WebURL.cpp',
282 'src/WebURLRequest.cpp',
283 'src/WebURLRequestPrivate.h',
284 'src/WebURLResponse.cpp',
285 'src/WebURLResponsePrivate.h',
286 'src/WebURLError.cpp',
287 'src/WebViewImpl.cpp',
288 'src/WebViewImpl.h',
289 'src/WebWorkerBase.cpp',
290 'src/WebWorkerBase.h',
291 'src/WebWorkerClientImpl.cpp',
292 'src/WebWorkerClientImpl.h',
293 'src/WebWorkerImpl.cpp',
294 'src/WebWorkerImpl.h',
295 'src/WrappedResourceRequest.h',
296 'src/WrappedResourceResponse.h',
297 'src/win/WebInputEventFactory.cpp',
298 'src/win/WebScreenInfoFactory.cpp',
299 ],
300 'conditions': [
301 ['OS=="linux" or OS=="freebsd"', {
302 'dependencies': [
303 # FIXME: correct path once upstreamed
304 '../../build/linux/system.gyp:fontconfig',
305 '../../build/linux/system.gyp:gtk',
306 '../../build/linux/system.gyp:x11',
307 ],
308 'include_dirs': [
309 'public/x11',
310 'public/gtk',
311 'public/linux',
312 ],
313 }, { # else: OS!="linux" and OS!="freebsd"
314 'sources/': [
315 ['exclude', '/gtk/'],
316 ['exclude', '/x11/'],
317 ['exclude', '/linux/'],
318 ],
319 }],
320 ['OS=="mac"', {
321 'include_dirs': [
322 'public/mac',
323 ],
324 'sources/': [
325 ['exclude', 'Skia\\.cpp$'],
326 ],
327 }, { # else: OS!="mac"
328 'sources/': [
329 ['exclude', '/mac/'],
330 ['exclude', 'CG\\.cpp$'],
331 ],
332 }],
333 ['OS=="win"', {
334 'include_dirs': [
335 'public/win',
336 ],
337 }, { # else: OS!="win"
338 'sources/': [['exclude', '/win/']],
339 }],
340 ['"ENABLE_3D_CANVAS=1" in feature_defines', {
341 # Conditionally compile in GLEW and our GraphicsContext3D implementation.
342 'sources+': [
343 'src/GraphicsContext3D.cpp',
344 # FIXME: correct path once upstreamed
345 '../../third_party/glew/src/glew.c'
346 ],
347 'include_dirs+': [
348 # FIXME: correct path once upstreamed
349 '../../third_party/glew/include'
350 ],
351 'defines+': [
352 'GLEW_STATIC=1',
353 'GLEW_NO_GLU=1',
354 ],
355 'conditions': [
356 ['OS=="win"', {
357 'link_settings': {
358 'libraries': [
359 '-lopengl32.lib',
360 ],
361 },
362 }],
363 ['OS=="mac"', {
364 'link_settings': {
365 'libraries': [
366 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
367 ],
368 },
369 }],
370 ],
371 }],
372 ],
373 },
374 ], # targets
375 }
376
377 # Local Variables:
378 # tab-width:2
379 # indent-tabs-mode:nil
380 # End:
381 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.cc ('k') | webkit/appcache/appcache_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698