[GTK][WPE] Stop using legacy custom protocol implementation
[WebKit-https.git] / Source / WebKit / PlatformGTK.cmake
1 include(InspectorGResources.cmake)
2
3 set(WebKit_OUTPUT_NAME webkit2gtk-${WEBKITGTK_API_VERSION})
4 set(WebKit_WebProcess_OUTPUT_NAME WebKitWebProcess)
5 set(WebKit_NetworkProcess_OUTPUT_NAME WebKitNetworkProcess)
6 set(WebKit_PluginProcess_OUTPUT_NAME WebKitPluginProcess)
7
8 file(MAKE_DIRECTORY ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR})
9 file(MAKE_DIRECTORY ${FORWARDING_HEADERS_WEBKIT2GTK_DIR})
10 file(MAKE_DIRECTORY ${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR})
11
12 configure_file(UIProcess/API/gtk/WebKitVersion.h.in ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitVersion.h)
13 configure_file(gtk/webkit2gtk.pc.in ${WebKit2_PKGCONFIG_FILE} @ONLY)
14 configure_file(gtk/webkit2gtk-web-extension.pc.in ${WebKit2WebExtension_PKGCONFIG_FILE} @ONLY)
15
16 add_definitions(-DBUILDING_WEBKIT)
17 add_definitions(-DWEBKIT2_COMPILATION)
18 add_definitions(-DWEBKIT_DOM_USE_UNSTABLE_API)
19
20 add_definitions(-DPKGLIBEXECDIR="${LIBEXEC_INSTALL_DIR}")
21 add_definitions(-DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}")
22 add_definitions(-DDATADIR="${CMAKE_INSTALL_FULL_DATADIR}")
23 add_definitions(-DLIBDIR="${LIB_INSTALL_DIR}")
24
25 if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
26     WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map")
27 endif ()
28
29 set(WebKit_USE_PREFIX_HEADER ON)
30
31 list(APPEND WebKit_UNIFIED_SOURCE_LIST_FILES
32     "SourcesGTK.txt"
33 )
34
35 list(APPEND WebKit_MESSAGES_IN_FILES
36     UIProcess/ViewGestureController.messages.in
37
38     WebProcess/WebPage/ViewGestureGeometryCollector.messages.in
39 )
40
41 list(APPEND WebKit_DERIVED_SOURCES
42     ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/InspectorGResourceBundle.c
43     ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitResourcesGResourceBundle.c
44
45     ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitEnumTypes.cpp
46     ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitWebProcessEnumTypes.cpp
47 )
48
49 if (ENABLE_WAYLAND_TARGET)
50     list(APPEND WebKit_DERIVED_SOURCES
51         ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitWaylandClientProtocol.c
52     )
53 endif ()
54
55 set(WebKit2GTK_INSTALLED_HEADERS
56     ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitEnumTypes.h
57     ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitVersion.h
58     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitApplicationInfo.h
59     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitAuthenticationRequest.h
60     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitAutocleanups.h
61     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitAutomationSession.h
62     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitBackForwardList.h
63     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitBackForwardListItem.h
64     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitColorChooserRequest.h
65     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitCredential.h
66     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitContextMenu.h
67     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitContextMenuActions.h
68     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitContextMenuItem.h
69     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitCookieManager.h
70     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitDefines.h
71     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitDeviceInfoPermissionRequest.h
72     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitDownload.h
73     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitEditingCommands.h
74     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitEditorState.h
75     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitError.h
76     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitFaviconDatabase.h
77     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitFileChooserRequest.h
78     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitFindController.h
79     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitFormSubmissionRequest.h
80     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitForwardDeclarations.h
81     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitGeolocationManager.h
82     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitGeolocationPermissionRequest.h
83     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitHitTestResult.h
84     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitInstallMissingMediaPluginsPermissionRequest.h
85     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitJavascriptResult.h
86     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitMimeInfo.h
87     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitNavigationAction.h
88     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitNavigationPolicyDecision.h
89     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitNetworkProxySettings.h
90     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitNotificationPermissionRequest.h
91     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitNotification.h
92     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitOptionMenu.h
93     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitOptionMenuItem.h
94     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitPermissionRequest.h
95     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitPlugin.h
96     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitPolicyDecision.h
97     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitPrintCustomWidget.h
98     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitPrintOperation.h
99     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitResponsePolicyDecision.h
100     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitScriptDialog.h
101     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitSecurityManager.h
102     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitSecurityOrigin.h
103     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitSettings.h
104     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitURIRequest.h
105     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitURIResponse.h
106     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitURISchemeRequest.h
107     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitURIUtilities.h
108     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitUserContent.h
109     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitUserContentFilterStore.h
110     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitUserContentManager.h
111     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitUserMediaPermissionRequest.h
112     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWebContext.h
113     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWebInspector.h
114     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWebResource.h
115     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWebView.h
116     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWebViewBase.h
117     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWebViewSessionState.h
118     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWebsiteData.h
119     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWebsiteDataManager.h
120     ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitWindowProperties.h
121     ${WEBKIT_DIR}/UIProcess/API/gtk/webkit2.h
122 )
123
124 set(WebKit2WebExtension_INSTALLED_HEADERS
125     ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitWebProcessEnumTypes.h
126     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitConsoleMessage.h
127     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h
128     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitScriptWorld.h
129     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitWebEditor.h
130     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h
131     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h
132     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitWebHitTestResult.h
133     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h
134     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h
135 )
136
137 set(WebKitDOM_INSTALLED_HEADERS
138     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomautocleanups.h
139     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomdefines.h
140     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/webkitdom.h
141     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttr.h
142     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlob.h
143     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASection.h
144     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterData.h
145     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRect.h
146     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRectList.h
147     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMComment.h
148     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRule.h
149     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleList.h
150     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclaration.h
151     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheet.h
152     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValue.h
153     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCustom.h
154     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCustomUnstable.h
155     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDeprecated.h
156     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragment.h
157     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentUnstable.h
158     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocument.h
159     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentType.h
160     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentUnstable.h
161     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementation.h
162     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelection.h
163     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenList.h
164     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindow.h
165     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowUnstable.h
166     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElement.h
167     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElementUnstable.h
168     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEvent.h
169     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h
170     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFile.h
171     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileList.h
172     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElement.h
173     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElement.h
174     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElement.h
175     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElement.h
176     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElement.h
177     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElement.h
178     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElement.h
179     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElement.h
180     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollection.h
181     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElement.h
182     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElement.h
183     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElement.h
184     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocument.h
185     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElement.h
186     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementUnstable.h
187     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElement.h
188     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElement.h
189     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElement.h
190     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElement.h
191     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElement.h
192     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElement.h
193     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElement.h
194     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElement.h
195     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElement.h
196     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElement.h
197     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElement.h
198     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElement.h
199     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.h
200     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElement.h
201     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElement.h
202     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElement.h
203     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElement.h
204     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElement.h
205     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElement.h
206     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElement.h
207     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElement.h
208     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElement.h
209     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.h
210     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElement.h
211     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElement.h
212     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElement.h
213     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollection.h
214     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElement.h
215     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElement.h
216     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElement.h
217     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElement.h
218     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElement.h
219     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElement.h
220     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElement.h
221     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElement.h
222     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElement.h
223     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.h
224     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElement.h
225     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElement.h
226     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElement.h
227     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.h
228     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElement.h
229     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElement.h
230     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEvent.h
231     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaList.h
232     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEvent.h
233     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMap.h
234     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilter.h
235     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNode.h
236     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIterator.h
237     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeList.h
238     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMObject.h
239     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstruction.h
240     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRange.h
241     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangeUnstable.h
242     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheet.h
243     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetList.h
244     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMText.h
245     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.h
246     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.h
247     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEvent.h
248     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpression.h
249     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolver.h
250     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResult.h
251 )
252
253 set(WebKitDOM_GTKDOC_HEADERS
254     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttr.h
255     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlob.h
256     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASection.h
257     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterData.h
258     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRect.h
259     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRectList.h
260     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMComment.h
261     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRule.h
262     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleList.h
263     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclaration.h
264     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheet.h
265     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValue.h
266     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCustom.h
267     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDeprecated.h
268     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragment.h
269     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocument.h
270     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentType.h
271     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementation.h
272     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelection.h
273     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenList.h
274     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindow.h
275     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElement.h
276     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEvent.h
277     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h
278     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFile.h
279     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileList.h
280     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElement.h
281     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElement.h
282     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElement.h
283     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElement.h
284     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElement.h
285     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElement.h
286     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElement.h
287     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElement.h
288     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollection.h
289     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElement.h
290     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElement.h
291     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElement.h
292     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocument.h
293     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElement.h
294     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElement.h
295     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElement.h
296     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElement.h
297     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElement.h
298     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElement.h
299     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElement.h
300     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElement.h
301     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElement.h
302     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElement.h
303     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElement.h
304     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElement.h
305     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElement.h
306     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.h
307     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElement.h
308     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElement.h
309     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElement.h
310     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElement.h
311     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElement.h
312     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElement.h
313     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElement.h
314     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElement.h
315     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElement.h
316     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.h
317     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElement.h
318     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElement.h
319     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElement.h
320     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollection.h
321     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElement.h
322     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElement.h
323     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElement.h
324     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElement.h
325     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElement.h
326     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElement.h
327     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElement.h
328     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElement.h
329     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElement.h
330     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.h
331     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElement.h
332     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElement.h
333     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElement.h
334     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.h
335     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElement.h
336     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElement.h
337     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEvent.h
338     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaList.h
339     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEvent.h
340     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMap.h
341     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilter.h
342     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNode.h
343     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIterator.h
344     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeList.h
345     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMObject.h
346     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstruction.h
347     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRange.h
348     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheet.h
349     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetList.h
350     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMText.h
351     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.h
352     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.h
353     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEvent.h
354     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpression.h
355     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolver.h
356     ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResult.h
357 )
358
359 # This is necessary because of a conflict between the GTK+ API WebKitVersion.h and one generated by WebCore.
360 list(INSERT WebKit_INCLUDE_DIRECTORIES 0
361     "${FORWARDING_HEADERS_WEBKIT2GTK_DIR}"
362     "${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR}"
363     "${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}"
364     "${DERIVED_SOURCES_WEBKIT2GTK_DIR}"
365 )
366
367 list(APPEND WebKit_INCLUDE_DIRECTORIES
368     "${DERIVED_SOURCES_JAVASCRIPCOREGTK_DIR}"
369     "${FORWARDING_HEADERS_DIR}/JavaScriptCore/"
370     "${FORWARDING_HEADERS_DIR}/JavaScriptCore/glib"
371     "${WEBKIT_DIR}/PluginProcess/unix"
372     "${WEBKIT_DIR}/NetworkProcess/glib"
373     "${WEBKIT_DIR}/NetworkProcess/gtk"
374     "${WEBKIT_DIR}/NetworkProcess/soup"
375     "${WEBKIT_DIR}/NetworkProcess/unix"
376     "${WEBKIT_DIR}/Platform/IPC/glib"
377     "${WEBKIT_DIR}/Platform/IPC/unix"
378     "${WEBKIT_DIR}/Platform/classifier"
379     "${WEBKIT_DIR}/Shared/API/c/gtk"
380     "${WEBKIT_DIR}/Shared/API/glib"
381     "${WEBKIT_DIR}/Shared/CoordinatedGraphics"
382     "${WEBKIT_DIR}/Shared/CoordinatedGraphics/threadedcompositor"
383     "${WEBKIT_DIR}/Shared/Plugins/unix"
384     "${WEBKIT_DIR}/Shared/glib"
385     "${WEBKIT_DIR}/Shared/gtk"
386     "${WEBKIT_DIR}/Shared/linux"
387     "${WEBKIT_DIR}/Shared/soup"
388     "${WEBKIT_DIR}/Shared/unix"
389     "${WEBKIT_DIR}/UIProcess/API/C/cairo"
390     "${WEBKIT_DIR}/UIProcess/API/C/gtk"
391     "${WEBKIT_DIR}/UIProcess/API/glib"
392     "${WEBKIT_DIR}/UIProcess/API/gtk"
393     "${WEBKIT_DIR}/UIProcess/CoordinatedGraphics"
394     "${WEBKIT_DIR}/UIProcess/Plugins/gtk"
395     "${WEBKIT_DIR}/UIProcess/geoclue"
396     "${WEBKIT_DIR}/UIProcess/glib"
397     "${WEBKIT_DIR}/UIProcess/gstreamer"
398     "${WEBKIT_DIR}/UIProcess/gtk"
399     "${WEBKIT_DIR}/UIProcess/linux"
400     "${WEBKIT_DIR}/UIProcess/soup"
401     "${WEBKIT_DIR}/WebProcess/InjectedBundle/API/glib"
402     "${WEBKIT_DIR}/WebProcess/InjectedBundle/API/glib/DOM"
403     "${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk"
404     "${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM"
405     "${WEBKIT_DIR}/WebProcess/Plugins/Netscape/unix"
406     "${WEBKIT_DIR}/WebProcess/Plugins/Netscape/x11"
407     "${WEBKIT_DIR}/WebProcess/gtk"
408     "${WEBKIT_DIR}/WebProcess/soup"
409     "${WEBKIT_DIR}/WebProcess/unix"
410     "${WEBKIT_DIR}/WebProcess/WebCoreSupport/gtk"
411     "${WEBKIT_DIR}/WebProcess/WebCoreSupport/soup"
412     "${WEBKIT_DIR}/WebProcess/WebPage/CoordinatedGraphics"
413     "${WEBKIT_DIR}/WebProcess/WebPage/atk"
414     "${WEBKIT_DIR}/WebProcess/WebPage/gtk"
415 )
416
417 list(APPEND WebKit_SYSTEM_INCLUDE_DIRECTORIES
418     ${CAIRO_INCLUDE_DIRS}
419     ${ENCHANT_INCLUDE_DIRS}
420     ${GLIB_INCLUDE_DIRS}
421     ${GSTREAMER_INCLUDE_DIRS}
422     ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
423     ${GTK_INCLUDE_DIRS}
424     ${GTK_UNIX_PRINT_INCLUDE_DIRS}
425     ${HARFBUZZ_INCLUDE_DIRS}
426     ${LIBSOUP_INCLUDE_DIRS}
427 )
428
429 if (USE_WPE_RENDERER)
430     list(APPEND WebKit_INCLUDE_DIRECTORIES
431         "${WEBKIT_DIR}/WebProcess/WebPage/libwpe"
432     )
433     list(APPEND WebKit_SYSTEM_INCLUDE_DIRECTORIES
434         ${WPE_INCLUDE_DIRS}
435         ${WPEBACKEND_FDO_INCLUDE_DIRS}
436     )
437 endif ()
438
439 if (USE_LIBNOTIFY)
440 list(APPEND WebKit_SYSTEM_INCLUDE_DIRECTORIES
441     ${LIBNOTIFY_INCLUDE_DIRS}
442 )
443 endif ()
444
445 set(WebKitCommonIncludeDirectories ${WebKit_INCLUDE_DIRECTORIES})
446 set(WebKitCommonSystemIncludeDirectories ${WebKit_SYSTEM_INCLUDE_DIRECTORIES})
447
448 list(APPEND WebProcess_SOURCES
449     WebProcess/EntryPoint/unix/WebProcessMain.cpp
450 )
451
452 list(APPEND NetworkProcess_SOURCES
453     NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp
454 )
455
456 set(SharedWebKitLibraries
457     ${WebKit_LIBRARIES}
458 )
459
460 list(APPEND WebKit_LIBRARIES
461     ${GTK_UNIX_PRINT_LIBRARIES}
462 )
463
464 if (USE_WPE_RENDERER)
465     list(APPEND WebKit_LIBRARIES
466       ${WPE_LIBRARIES}
467       ${WPEBACKEND_FDO_LIBRARIES}
468     )
469 endif ()
470
471 if (LIBNOTIFY_FOUND)
472 list(APPEND WebKit_LIBRARIES
473     PRIVATE ${LIBNOTIFY_LIBRARIES}
474 )
475 endif ()
476
477 if (USE_LIBWEBRTC)
478 list(APPEND WebKit_SYSTEM_INCLUDE_DIRECTORIES
479     "${THIRDPARTY_DIR}/libwebrtc/Source/"
480     "${THIRDPARTY_DIR}/libwebrtc/Source/webrtc"
481 )
482 endif ()
483
484 # To generate WebKitEnumTypes.h we want to use all installed headers, except WebKitEnumTypes.h itself.
485 set(WebKit2GTK_ENUM_GENERATION_HEADERS ${WebKit2GTK_INSTALLED_HEADERS})
486 list(REMOVE_ITEM WebKit2GTK_ENUM_GENERATION_HEADERS ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitEnumTypes.h)
487 add_custom_command(
488     OUTPUT ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitEnumTypes.h
489            ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitEnumTypes.cpp
490     DEPENDS ${WebKit2GTK_ENUM_GENERATION_HEADERS}
491
492     COMMAND glib-mkenums --template ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitEnumTypes.h.template ${WebKit2GTK_ENUM_GENERATION_HEADERS} | sed s/web_kit/webkit/ | sed s/WEBKIT_TYPE_KIT/WEBKIT_TYPE/ > ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitEnumTypes.h
493
494     COMMAND glib-mkenums --template ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitEnumTypes.cpp.template ${WebKit2GTK_ENUM_GENERATION_HEADERS} | sed s/web_kit/webkit/ > ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitEnumTypes.cpp
495     VERBATIM
496 )
497
498 set(WebKit2GTK_WEB_PROCESS_ENUM_GENERATION_HEADERS ${WebKit2WebExtension_INSTALLED_HEADERS})
499 list(REMOVE_ITEM WebKit2GTK_WEB_PROCESS_ENUM_GENERATION_HEADERS ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitWebProcessEnumTypes.h)
500 add_custom_command(
501     OUTPUT ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitWebProcessEnumTypes.h
502            ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitWebProcessEnumTypes.cpp
503     DEPENDS ${WebKit2GTK_WEB_PROCESS_ENUM_GENERATION_HEADERS}
504
505     COMMAND glib-mkenums --template ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitWebProcessEnumTypes.h.template ${WebKit2GTK_WEB_PROCESS_ENUM_GENERATION_HEADERS} | sed s/web_kit/webkit/ | sed s/WEBKIT_TYPE_KIT/WEBKIT_TYPE/ > ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitWebProcessEnumTypes.h
506
507     COMMAND glib-mkenums --template ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/WebKitWebProcessEnumTypes.cpp.template ${WebKit2GTK_WEB_PROCESS_ENUM_GENERATION_HEADERS} | sed s/web_kit/webkit/ > ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitWebProcessEnumTypes.cpp
508     VERBATIM
509 )
510
511 WEBKIT_BUILD_INSPECTOR_GRESOURCES(${DERIVED_SOURCES_WEBKIT2GTK_DIR})
512
513 set(WebKitResources
514     "        <file alias=\"images/missingImage\">missingImage.png</file>\n"
515     "        <file alias=\"images/missingImage@2x\">missingImage@2x.png</file>\n"
516     "        <file alias=\"images/panIcon\">panIcon.png</file>\n"
517     "        <file alias=\"images/textAreaResizeCorner\">textAreaResizeCorner.png</file>\n"
518     "        <file alias=\"images/textAreaResizeCorner@2x\">textAreaResizeCorner@2x.png</file>\n"
519 )
520
521 if (ENABLE_WEB_AUDIO)
522     list(APPEND WebKitResources
523         "        <file alias=\"audio/Composite\">Composite.wav</file>\n"
524     )
525 endif ()
526
527 file(WRITE ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitResourcesGResourceBundle.xml
528     "<?xml version=1.0 encoding=UTF-8?>\n"
529     "<gresources>\n"
530     "    <gresource prefix=\"/org/webkitgtk/resources\">\n"
531     ${WebKitResources}
532     "    </gresource>\n"
533     "</gresources>\n"
534 )
535
536 add_custom_command(
537     OUTPUT ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitResourcesGResourceBundle.c
538     DEPENDS ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitResourcesGResourceBundle.xml
539     COMMAND glib-compile-resources --generate --sourcedir=${CMAKE_SOURCE_DIR}/Source/WebCore/Resources --sourcedir=${CMAKE_SOURCE_DIR}/Source/WebCore/platform/audio/resources --target=${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitResourcesGResourceBundle.c ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitResourcesGResourceBundle.xml
540     VERBATIM
541 )
542
543 if (ENABLE_WAYLAND_TARGET)
544     # Wayland protocol extension.
545     add_custom_command(
546         OUTPUT ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitWaylandClientProtocol.c
547         DEPENDS ${WEBKIT_DIR}/Shared/gtk/WebKitWaylandProtocol.xml
548         COMMAND wayland-scanner server-header < ${WEBKIT_DIR}/Shared/gtk/WebKitWaylandProtocol.xml > ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitWaylandServerProtocol.h
549         COMMAND wayland-scanner client-header < ${WEBKIT_DIR}/Shared/gtk/WebKitWaylandProtocol.xml > ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitWaylandClientProtocol.h
550         COMMAND wayland-scanner code < ${WEBKIT_DIR}/Shared/gtk/WebKitWaylandProtocol.xml > ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKitWaylandClientProtocol.c
551     )
552 endif ()
553
554 # GTK3 PluginProcess
555 list(APPEND PluginProcess_SOURCES
556     PluginProcess/EntryPoint/unix/PluginProcessMain.cpp
557 )
558
559 # Commands for building the built-in injected bundle.
560 add_library(webkit2gtkinjectedbundle MODULE "${WEBKIT_DIR}/WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp")
561 ADD_WEBKIT_PREFIX_HEADER(webkit2gtkinjectedbundle)
562 target_link_libraries(webkit2gtkinjectedbundle WebKit)
563
564 target_include_directories(webkit2gtkinjectedbundle PRIVATE
565     ${WebKit_INCLUDE_DIRECTORIES}
566     "${DERIVED_SOURCES_DIR}/InjectedBundle"
567     "${FORWARDING_HEADERS_DIR}"
568     "${FORWARDING_HEADERS_WEBKIT2GTK_DIR}"
569     "${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}"
570 )
571
572 target_include_directories(webkit2gtkinjectedbundle SYSTEM PRIVATE
573     ${WebKit_SYSTEM_INCLUDE_DIRECTORIES}
574 )
575
576 if (COMPILER_IS_GCC_OR_CLANG)
577     WEBKIT_ADD_TARGET_CXX_FLAGS(webkit2gtkinjectedbundle -Wno-unused-parameter)
578 endif ()
579
580 # Add ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} to LD_LIBRARY_PATH or DYLD_LIBRARY_PATH
581 if (APPLE)
582     set(LOADER_LIBRARY_PATH_VAR "DYLD_LIBRARY_PATH")
583     set(PREV_LOADER_LIBRARY_PATH "$ENV{DYLD_LIBRARY_PATH}")
584 else ()
585     set(LOADER_LIBRARY_PATH_VAR "LD_LIBRARY_PATH")
586     set(PREV_LOADER_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH}")
587 endif ()
588
589 if (ENABLE_INTROSPECTION)
590     string(COMPARE EQUAL "${PREV_LOADER_LIBRARY_PATH}" "" ld_library_path_does_not_exist)
591     if (ld_library_path_does_not_exist)
592         set(INTROSPECTION_ADDITIONAL_LIBRARY_PATH
593             "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
594         )
595     else ()
596         set(INTROSPECTION_ADDITIONAL_LIBRARY_PATH
597             "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}:${PREV_LOADER_LIBRARY_PATH}"
598         )
599     endif ()
600
601     # Add required -L flags from ${CMAKE_SHARED_LINKER_FLAGS} for g-ir-scanner
602     string(REGEX MATCHALL "-L[^ ]*"
603         INTROSPECTION_ADDITIONAL_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
604
605     add_custom_command(
606         OUTPUT ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir
607         DEPENDS WebKit
608         DEPENDS ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
609         COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations LDFLAGS=
610             ${LOADER_LIBRARY_PATH_VAR}="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}"
611             ${INTROSPECTION_SCANNER}
612             --quiet
613             --warn-all
614             --symbol-prefix=webkit
615             --identifier-prefix=WebKit
616             --namespace=WebKit2
617             --nsversion=${WEBKITGTK_API_VERSION}
618             --include=GObject-2.0
619             --include=Gtk-3.0
620             --include=Soup-2.4
621             --include-uninstalled=${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
622             --library=webkit2gtk-${WEBKITGTK_API_VERSION}
623             --library=javascriptcoregtk-${WEBKITGTK_API_VERSION}
624             -L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
625             ${INTROSPECTION_ADDITIONAL_LINKER_FLAGS}
626             --no-libtool
627             --pkg=gobject-2.0
628             --pkg=gtk+-3.0
629             --pkg=libsoup-2.4
630             --pkg-export=webkit2gtk-${WEBKITGTK_API_VERSION}
631             --output=${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir
632             --c-include="webkit2/webkit2.h"
633             -DBUILDING_WEBKIT
634             -DWEBKIT2_COMPILATION
635             -I${CMAKE_SOURCE_DIR}/Source
636             -I${WEBKIT_DIR}
637             -I${DERIVED_SOURCES_DIR}
638             -I${DERIVED_SOURCES_WEBKIT2GTK_DIR}
639             -I${DERIVED_SOURCES_JAVASCRIPCOREGTK_DIR}
640             -I${FORWARDING_HEADERS_DIR}
641             -I${FORWARDING_HEADERS_DIR}/JavaScriptCore/glib
642             -I${FORWARDING_HEADERS_WEBKIT2GTK_DIR}
643             ${WebKit2GTK_INSTALLED_HEADERS}
644             ${WEBKIT_DIR}/Shared/API/glib/*.cpp
645             ${WEBKIT_DIR}/UIProcess/API/glib/*.cpp
646             ${WEBKIT_DIR}/UIProcess/API/gtk/*.cpp
647     )
648
649     add_custom_command(
650         OUTPUT ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir
651         DEPENDS ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
652         DEPENDS ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir
653         COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations
654             LDFLAGS="${INTROSPECTION_ADDITIONAL_LDFLAGS}"
655             ${LOADER_LIBRARY_PATH_VAR}="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}"
656             ${INTROSPECTION_SCANNER}
657             --quiet
658             --warn-all
659             --symbol-prefix=webkit
660             --identifier-prefix=WebKit
661             --namespace=WebKit2WebExtension
662             --nsversion=${WEBKITGTK_API_VERSION}
663             --include=GObject-2.0
664             --include=Gtk-3.0
665             --include=Soup-2.4
666             --include-uninstalled=${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
667             --library=webkit2gtk-${WEBKITGTK_API_VERSION}
668             --library=javascriptcoregtk-${WEBKITGTK_API_VERSION}
669             ${INTROSPECTION_ADDITIONAL_LIBRARIES}
670             -L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
671             ${INTROSPECTION_ADDITIONAL_LINKER_FLAGS}
672             --no-libtool
673             --pkg=gobject-2.0
674             --pkg=gtk+-3.0
675             --pkg=libsoup-2.4
676             --pkg-export=webkit2gtk-web-extension-${WEBKITGTK_API_VERSION}
677             --output=${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir
678             --c-include="webkit2/webkit-web-extension.h"
679             -DBUILDING_WEBKIT
680             -DWEBKIT2_COMPILATION
681             -I${CMAKE_SOURCE_DIR}/Source
682             -I${WEBKIT_DIR}
683             -I${DERIVED_SOURCES_DIR}
684             -I${DERIVED_SOURCES_WEBKIT2GTK_DIR}
685             -I${DERIVED_SOURCES_JAVASCRIPCOREGTK_DIR}
686             -I${FORWARDING_HEADERS_DIR}
687             -I${FORWARDING_HEADERS_DIR}/JavaScriptCore/glib
688             -I${FORWARDING_HEADERS_WEBKIT2GTK_DIR}
689             -I${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR}
690             -I${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk
691             ${WebKitDOM_INSTALLED_HEADERS}
692             ${WebKit2WebExtension_INSTALLED_HEADERS}
693             ${WEBKIT_DIR}/Shared/API/glib/WebKitContextMenu.cpp
694             ${WEBKIT_DIR}/Shared/API/glib/WebKitContextMenuItem.cpp
695             ${WEBKIT_DIR}/Shared/API/glib/WebKitHitTestResult.cpp
696             ${WEBKIT_DIR}/Shared/API/glib/WebKitURIRequest.cpp
697             ${WEBKIT_DIR}/Shared/API/glib/WebKitURIResponse.cpp
698             ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitContextMenu.h
699             ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitContextMenuActions.h
700             ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitContextMenuItem.h
701             ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitHitTestResult.h
702             ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitURIRequest.h
703             ${WEBKIT_DIR}/UIProcess/API/gtk/WebKitURIResponse.h
704             ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/glib/*.cpp
705             ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/glib/DOM/*.cpp
706     )
707
708     add_custom_command(
709         OUTPUT ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.typelib
710         DEPENDS ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir
711         COMMAND ${INTROSPECTION_COMPILER} --includedir=${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir -o ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.typelib
712     )
713
714     add_custom_command(
715         OUTPUT ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.typelib
716         DEPENDS ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir
717         COMMAND ${INTROSPECTION_COMPILER} --includedir=${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir -o ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.typelib
718     )
719
720     ADD_TYPELIB(${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.typelib)
721     ADD_TYPELIB(${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.typelib)
722 endif ()
723
724 install(TARGETS webkit2gtkinjectedbundle
725         DESTINATION "${LIB_INSTALL_DIR}/webkit2gtk-${WEBKITGTK_API_VERSION}/injected-bundle"
726 )
727 install(FILES "${CMAKE_BINARY_DIR}/Source/WebKit/webkit2gtk-${WEBKITGTK_API_VERSION}.pc"
728               "${CMAKE_BINARY_DIR}/Source/WebKit/webkit2gtk-web-extension-${WEBKITGTK_API_VERSION}.pc"
729         DESTINATION "${LIB_INSTALL_DIR}/pkgconfig"
730 )
731 install(FILES ${WebKit2GTK_INSTALLED_HEADERS}
732               ${WebKit2WebExtension_INSTALLED_HEADERS}
733         DESTINATION "${WEBKITGTK_HEADER_INSTALL_DIR}/webkit2"
734 )
735 install(FILES ${WebKitDOM_INSTALLED_HEADERS}
736         DESTINATION "${WEBKITGTK_HEADER_INSTALL_DIR}/webkitdom"
737 )
738
739 if (ENABLE_INTROSPECTION)
740     install(FILES ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir
741                   ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir
742             DESTINATION ${INTROSPECTION_INSTALL_GIRDIR}
743     )
744     install(FILES ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.typelib
745                   ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.typelib
746             DESTINATION ${INTROSPECTION_INSTALL_TYPELIBDIR}
747     )
748 endif ()
749
750 file(WRITE ${CMAKE_BINARY_DIR}/gtkdoc-webkit2gtk.cfg
751     "[webkit2gtk-${WEBKITGTK_API_VERSION}]\n"
752     "pkgconfig_file=${WebKit2_PKGCONFIG_FILE}\n"
753     "decorator=WEBKIT_API|WEBKIT_DEPRECATED|WEBKIT_DEPRECATED_FOR\\(.+\\)\n"
754     "deprecation_guard=WEBKIT_DISABLE_DEPRECATED\n"
755     "namespace=webkit\n"
756     "cflags=-I${CMAKE_SOURCE_DIR}/Source\n"
757     "       -I${WEBKIT_DIR}/Shared/API/glib\n"
758     "       -I${WEBKIT_DIR}/UIProcess/API/glib\n"
759     "       -I${WEBKIT_DIR}/UIProcess/API/gtk\n"
760     "       -I${DERIVED_SOURCES_WEBKIT2GTK_DIR}\n"
761     "       -I${FORWARDING_HEADERS_WEBKIT2GTK_DIR}\n"
762     "doc_dir=${WEBKIT_DIR}/UIProcess/API/gtk/docs\n"
763     "source_dirs=${WEBKIT_DIR}/Shared/API/glib\n"
764     "            ${WEBKIT_DIR}/UIProcess/API/glib\n"
765     "            ${WEBKIT_DIR}/UIProcess/API/gtk\n"
766     "            ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/glib\n"
767     "            ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk\n"
768     "            ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}\n"
769     "headers=${WebKit2GTK_ENUM_GENERATION_HEADERS} ${WebKit2WebExtension_INSTALLED_HEADERS}\n"
770     "main_sgml_file=webkit2gtk-docs.sgml\n"
771 )
772
773 file(WRITE ${CMAKE_BINARY_DIR}/gtkdoc-webkitdom.cfg
774     "[webkitdomgtk-${WEBKITGTK_API_VERSION}]\n"
775     "pkgconfig_file=${WebKit2_PKGCONFIG_FILE}\n"
776     "decorator=WEBKIT_API|WEBKIT_DEPRECATED|WEBKIT_DEPRECATED_FOR\\(.+\\)\n"
777     "deprecation_guard=WEBKIT_DISABLE_DEPRECATED\n"
778     "namespace=webkit_dom\n"
779     "cflags=-I${CMAKE_SOURCE_DIR}/Source\n"
780     "       -I${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM\n"
781     "       -I${DERIVED_SOURCES_WEBKIT2GTK_DIR}\n"
782     "       -I${FORWARDING_HEADERS_WEBKIT2GTK_DIR}\n"
783     "doc_dir=${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM/docs\n"
784     "source_dirs=${WEBKIT_DIR}/WebProcess/InjectedBundle/API/glib/DOM\n"
785     "            ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM\n"
786     "headers=${WebKitDOM_GTKDOC_HEADERS}\n"
787     "main_sgml_file=webkitdomgtk-docs.sgml\n"
788 )
789
790 add_custom_target(WebKit-forwarding-headers
791     COMMAND ${PERL_EXECUTABLE} ${WEBKIT_DIR}/Scripts/generate-forwarding-headers.pl --include-path ${WEBKIT_DIR} --output ${FORWARDING_HEADERS_DIR} --platform gtk --platform soup
792 )
793
794 # These symbolic link allows includes like #include <webkit2/WebkitWebView.h> which simulates installed headers.
795 add_custom_command(
796     OUTPUT ${FORWARDING_HEADERS_WEBKIT2GTK_DIR}/webkit2
797     DEPENDS ${WEBKIT_DIR}/UIProcess/API/gtk
798     COMMAND ln -n -s -f ${WEBKIT_DIR}/UIProcess/API/gtk ${FORWARDING_HEADERS_WEBKIT2GTK_DIR}/webkit2
799 )
800 add_custom_command(
801     OUTPUT ${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR}/webkit2
802     DEPENDS ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk
803     COMMAND ln -n -s -f ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk ${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR}/webkit2
804 )
805 add_custom_command(
806     OUTPUT ${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR}/webkitdom
807     DEPENDS ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM
808     COMMAND ln -n -s -f ${WEBKIT_DIR}/WebProcess/InjectedBundle/API/gtk/DOM ${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR}/webkitdom
809 )
810 add_custom_target(WebKit-fake-api-headers
811     DEPENDS ${FORWARDING_HEADERS_WEBKIT2GTK_DIR}/webkit2
812             ${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR}/webkit2
813             ${FORWARDING_HEADERS_WEBKIT2GTK_EXTENSION_DIR}/webkitdom
814 )
815
816 set(WEBKIT_EXTRA_DEPENDENCIES
817      WebKit-fake-api-headers
818      WebKit-forwarding-headers
819 )