CMakeLists.txt 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. set(WebKit2_INCLUDE_DIRECTORIES
  2. "${JAVASCRIPTCORE_DIR}/llint"
  3. "${WEBKIT2_DIR}"
  4. "${WEBKIT2_DIR}/Platform"
  5. "${WEBKIT2_DIR}/Platform/CoreIPC"
  6. "${WEBKIT2_DIR}/PluginProcess"
  7. "${WEBKIT2_DIR}/Shared"
  8. "${WEBKIT2_DIR}/Shared/API"
  9. "${WEBKIT2_DIR}/Shared/API/c"
  10. "${WEBKIT2_DIR}/Shared/Authentication"
  11. "${WEBKIT2_DIR}/Shared/CoordinatedGraphics"
  12. "${WEBKIT2_DIR}/Shared/CoreIPCSupport"
  13. "${WEBKIT2_DIR}/Shared/Downloads"
  14. "${WEBKIT2_DIR}/Shared/Network"
  15. "${WEBKIT2_DIR}/Shared/Plugins"
  16. "${WEBKIT2_DIR}/Shared/Plugins/Netscape"
  17. "${WEBKIT2_DIR}/Shared/Plugins/Netscape/x11"
  18. "${WEBKIT2_DIR}/UIProcess"
  19. "${WEBKIT2_DIR}/UIProcess/API"
  20. "${WEBKIT2_DIR}/UIProcess/API/C"
  21. "${WEBKIT2_DIR}/UIProcess/API/CoordinatedGraphics"
  22. "${WEBKIT2_DIR}/UIProcess/API/cpp"
  23. "${WEBKIT2_DIR}/UIProcess/Authentication"
  24. "${WEBKIT2_DIR}/UIProcess/CoordinatedGraphics"
  25. "${WEBKIT2_DIR}/UIProcess/Downloads"
  26. "${WEBKIT2_DIR}/UIProcess/InspectorServer"
  27. "${WEBKIT2_DIR}/UIProcess/Launcher"
  28. "${WEBKIT2_DIR}/UIProcess/Notifications"
  29. "${WEBKIT2_DIR}/UIProcess/Plugins"
  30. "${WEBKIT2_DIR}/UIProcess/Storage"
  31. "${WEBKIT2_DIR}/WebProcess"
  32. "${WEBKIT2_DIR}/WebProcess/ApplicationCache"
  33. "${WEBKIT2_DIR}/WebProcess/Battery"
  34. "${WEBKIT2_DIR}/WebProcess/Cookies"
  35. "${WEBKIT2_DIR}/WebProcess/FullScreen"
  36. "${WEBKIT2_DIR}/WebProcess/Geolocation"
  37. "${WEBKIT2_DIR}/WebProcess/NetworkInfo"
  38. "${WEBKIT2_DIR}/WebProcess/IconDatabase"
  39. "${WEBKIT2_DIR}/WebProcess/InjectedBundle"
  40. "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API"
  41. "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c"
  42. "${WEBKIT2_DIR}/WebProcess/InjectedBundle/DOM"
  43. "${WEBKIT2_DIR}/WebProcess/Launching"
  44. "${WEBKIT2_DIR}/WebProcess/MediaCache"
  45. "${WEBKIT2_DIR}/WebProcess/Notifications"
  46. "${WEBKIT2_DIR}/WebProcess/Plugins"
  47. "${WEBKIT2_DIR}/WebProcess/Plugins/Netscape"
  48. "${WEBKIT2_DIR}/WebProcess/ResourceCache"
  49. "${WEBKIT2_DIR}/WebProcess/Storage"
  50. "${WEBKIT2_DIR}/WebProcess/WebCoreSupport"
  51. "${WEBKIT2_DIR}/WebProcess/WebPage"
  52. "${WEBKIT2_DIR}/WebProcess/WebPage/CoordinatedGraphics"
  53. "${WEBCORE_DIR}"
  54. "${WEBCORE_DIR}/Modules/battery"
  55. "${WEBCORE_DIR}/Modules/networkinfo"
  56. "${WEBCORE_DIR}/Modules/notifications"
  57. "${WEBCORE_DIR}/Modules/vibration"
  58. "${WEBCORE_DIR}/Modules/webdatabase"
  59. "${WEBCORE_DIR}/accessibility"
  60. "${WEBCORE_DIR}/bindings/js"
  61. "${WEBCORE_DIR}/bindings"
  62. "${WEBCORE_DIR}/bridge"
  63. "${WEBCORE_DIR}/bridge/jsc"
  64. "${WEBCORE_DIR}/css"
  65. "${WEBCORE_DIR}/dom"
  66. "${WEBCORE_DIR}/dom/default"
  67. "${WEBCORE_DIR}/editing"
  68. "${WEBCORE_DIR}/fileapi"
  69. "${WEBCORE_DIR}/history"
  70. "${WEBCORE_DIR}/html"
  71. "${WEBCORE_DIR}/html/shadow"
  72. "${WEBCORE_DIR}/html/track"
  73. "${WEBCORE_DIR}/inspector"
  74. "${WEBCORE_DIR}/loader"
  75. "${WEBCORE_DIR}/loader/archive"
  76. "${WEBCORE_DIR}/loader/icon"
  77. "${WEBCORE_DIR}/loader/cache"
  78. "${WEBCORE_DIR}/page"
  79. "${WEBCORE_DIR}/page/animation"
  80. "${WEBCORE_DIR}/page/scrolling"
  81. "${WEBCORE_DIR}/page/scrolling/coordinatedgraphics"
  82. "${WEBCORE_DIR}/platform"
  83. "${WEBCORE_DIR}/platform/animation"
  84. "${WEBCORE_DIR}/platform/graphics"
  85. "${WEBCORE_DIR}/platform/graphics/filters"
  86. "${WEBCORE_DIR}/platform/graphics/harfbuzz"
  87. "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
  88. "${WEBCORE_DIR}/platform/graphics/surfaces"
  89. "${WEBCORE_DIR}/platform/graphics/texmap"
  90. "${WEBCORE_DIR}/platform/graphics/transforms"
  91. "${WEBCORE_DIR}/platform/network"
  92. "${WEBCORE_DIR}/platform/sql"
  93. "${WEBCORE_DIR}/platform/text"
  94. "${WEBCORE_DIR}/plugins"
  95. "${WEBCORE_DIR}/rendering"
  96. "${WEBCORE_DIR}/rendering/shapes"
  97. "${WEBCORE_DIR}/rendering/style"
  98. "${WEBCORE_DIR}/storage"
  99. "${WEBCORE_DIR}/svg"
  100. "${WEBCORE_DIR}/svg/graphics"
  101. "${WEBCORE_DIR}/svg/properties"
  102. "${JAVASCRIPTCORE_DIR}"
  103. "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
  104. "${JAVASCRIPTCORE_DIR}/API"
  105. "${JAVASCRIPTCORE_DIR}/assembler"
  106. "${JAVASCRIPTCORE_DIR}/bytecode"
  107. "${JAVASCRIPTCORE_DIR}/bytecompiler"
  108. "${JAVASCRIPTCORE_DIR}/collector/handles"
  109. "${JAVASCRIPTCORE_DIR}/dfg"
  110. "${JAVASCRIPTCORE_DIR}/disassembler"
  111. "${JAVASCRIPTCORE_DIR}/heap"
  112. "${JAVASCRIPTCORE_DIR}/interpreter"
  113. "${JAVASCRIPTCORE_DIR}/jit"
  114. "${JAVASCRIPTCORE_DIR}/parser"
  115. "${JAVASCRIPTCORE_DIR}/profiler"
  116. "${JAVASCRIPTCORE_DIR}/runtime"
  117. "${WTF_DIR}"
  118. "${DERIVED_SOURCES_DIR}"
  119. "${DERIVED_SOURCES_WEBCORE_DIR}"
  120. "${DERIVED_SOURCES_WEBKIT2_DIR}"
  121. "${DERIVED_SOURCES_WEBKIT2_DIR}/include"
  122. "${CMAKE_BINARY_DIR}"
  123. "${CMAKE_SOURCE_DIR}/Source"
  124. )
  125. if (WTF_USE_3D_GRAPHICS)
  126. list(APPEND WebKit2_INCLUDE_DIRECTORIES
  127. "${THIRDPARTY_DIR}/ANGLE/include/KHR"
  128. "${THIRDPARTY_DIR}/ANGLE/include/GLSLANG"
  129. )
  130. endif ()
  131. set(WebKit2_SOURCES
  132. Platform/Logging.cpp
  133. Platform/Module.cpp
  134. Platform/WorkQueue.cpp
  135. Platform/CoreIPC/ArgumentCoders.cpp
  136. Platform/CoreIPC/ArgumentDecoder.cpp
  137. Platform/CoreIPC/ArgumentEncoder.cpp
  138. Platform/CoreIPC/Attachment.cpp
  139. Platform/CoreIPC/Connection.cpp
  140. Platform/CoreIPC/DataReference.cpp
  141. Platform/CoreIPC/MessageDecoder.cpp
  142. Platform/CoreIPC/MessageEncoder.cpp
  143. Platform/CoreIPC/MessageReceiverMap.cpp
  144. Platform/CoreIPC/MessageSender.cpp
  145. Platform/CoreIPC/StringReference.cpp
  146. PluginProcess/PluginControllerProxy.cpp
  147. PluginProcess/PluginCreationParameters.cpp
  148. PluginProcess/PluginProcess.cpp
  149. PluginProcess/WebProcessConnection.cpp
  150. Shared/APIClientTraits.cpp
  151. Shared/APIObject.cpp
  152. Shared/ActivityAssertion.cpp
  153. Shared/CacheModel.cpp
  154. Shared/ChildProcess.cpp
  155. Shared/ChildProcessProxy.cpp
  156. Shared/ConnectionStack.cpp
  157. Shared/DictionaryPopupInfo.cpp
  158. Shared/EditorState.cpp
  159. Shared/FontInfo.cpp
  160. Shared/ImmutableArray.cpp
  161. Shared/ImmutableDictionary.cpp
  162. Shared/MutableArray.cpp
  163. Shared/MutableDictionary.cpp
  164. Shared/OriginAndDatabases.cpp
  165. Shared/PlatformPopupMenuData.cpp
  166. Shared/PrintInfo.cpp
  167. Shared/SecurityOriginData.cpp
  168. Shared/SessionState.cpp
  169. Shared/ShareableBitmap.cpp
  170. Shared/StatisticsData.cpp
  171. Shared/UpdateInfo.cpp
  172. Shared/VisitedLinkTable.cpp
  173. Shared/WebBackForwardListItem.cpp
  174. Shared/WebBatteryStatus.cpp
  175. Shared/WebConnection.cpp
  176. Shared/WebConnectionClient.cpp
  177. Shared/WebContextMenuItem.cpp
  178. Shared/WebContextMenuItemData.cpp
  179. Shared/WebCoreArgumentCoders.cpp
  180. Shared/WebError.cpp
  181. Shared/WebEvent.cpp
  182. Shared/WebEventConversion.cpp
  183. Shared/WebGeolocationPosition.cpp
  184. Shared/WebGestureEvent.cpp
  185. Shared/WebGraphicsContext.cpp
  186. Shared/WebHitTestResult.cpp
  187. Shared/WebImage.cpp
  188. Shared/WebKeyboardEvent.cpp
  189. Shared/WebKit2Initialize.cpp
  190. Shared/WebMemorySampler.cpp
  191. Shared/WebMouseEvent.cpp
  192. Shared/WebNetworkInfo.cpp
  193. Shared/WebOpenPanelParameters.cpp
  194. Shared/WebPageCreationParameters.cpp
  195. Shared/WebPageGroupData.cpp
  196. Shared/WebPlatformTouchPoint.cpp
  197. Shared/WebPopupItem.cpp
  198. Shared/WebPreferencesStore.cpp
  199. Shared/WebProcessCreationParameters.cpp
  200. Shared/WebRenderLayer.cpp
  201. Shared/WebRenderObject.cpp
  202. Shared/WebTouchEvent.cpp
  203. Shared/WebURLRequest.cpp
  204. Shared/WebURLResponse.cpp
  205. Shared/WebWheelEvent.cpp
  206. Shared/API/c/WKArray.cpp
  207. Shared/API/c/WKCertificateInfo.cpp
  208. Shared/API/c/WKConnectionRef.cpp
  209. Shared/API/c/WKContextMenuItem.cpp
  210. Shared/API/c/WKData.cpp
  211. Shared/API/c/WKDictionary.cpp
  212. Shared/API/c/WKError.cpp
  213. Shared/API/c/WKGeometry.cpp
  214. Shared/API/c/WKGraphicsContext.cpp
  215. Shared/API/c/WKImage.cpp
  216. Shared/API/c/WKMutableArray.cpp
  217. Shared/API/c/WKMutableDictionary.cpp
  218. Shared/API/c/WKNumber.cpp
  219. Shared/API/c/WKPluginInformation.cpp
  220. Shared/API/c/WKRenderLayer.cpp
  221. Shared/API/c/WKRenderObject.cpp
  222. Shared/API/c/WKSecurityOrigin.cpp
  223. Shared/API/c/WKSerializedScriptValue.cpp
  224. Shared/API/c/WKString.cpp
  225. Shared/API/c/WKType.cpp
  226. Shared/API/c/WKURL.cpp
  227. Shared/API/c/WKURLRequest.cpp
  228. Shared/API/c/WKURLResponse.cpp
  229. Shared/API/c/WKUserContentURLPattern.cpp
  230. Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp
  231. Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp
  232. Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.cpp
  233. Shared/Plugins/NPIdentifierData.cpp
  234. Shared/Plugins/NPObjectMessageReceiver.cpp
  235. Shared/Plugins/NPObjectProxy.cpp
  236. Shared/Plugins/NPRemoteObjectMap.cpp
  237. Shared/Plugins/NPVariantData.cpp
  238. Shared/Plugins/PluginModuleInfo.cpp
  239. Shared/Plugins/PluginProcessCreationParameters.cpp
  240. Shared/Plugins/Netscape/NetscapePluginModule.cpp
  241. Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp
  242. Shared/Plugins/Netscape/PluginInformation.cpp
  243. UIProcess/BackingStore.cpp
  244. UIProcess/DrawingAreaProxy.cpp
  245. UIProcess/DrawingAreaProxyImpl.cpp
  246. UIProcess/FindIndicator.cpp
  247. UIProcess/GeolocationPermissionRequestManagerProxy.cpp
  248. UIProcess/GeolocationPermissionRequestProxy.cpp
  249. UIProcess/ResponsivenessTimer.cpp
  250. UIProcess/StatisticsRequest.cpp
  251. UIProcess/TextCheckerCompletion.cpp
  252. UIProcess/VisitedLinkProvider.cpp
  253. UIProcess/WebApplicationCacheManagerProxy.cpp
  254. UIProcess/WebBackForwardList.cpp
  255. UIProcess/WebBatteryManagerProxy.cpp
  256. UIProcess/WebBatteryProvider.cpp
  257. UIProcess/WebColorChooserProxy.cpp
  258. UIProcess/WebColorPickerResultListenerProxy.cpp
  259. UIProcess/WebConnectionToWebProcess.cpp
  260. UIProcess/WebContext.cpp
  261. UIProcess/WebContextClient.cpp
  262. UIProcess/WebContextConnectionClient.cpp
  263. UIProcess/WebContextInjectedBundleClient.cpp
  264. UIProcess/WebContextMenuProxy.cpp
  265. UIProcess/WebCookieManagerProxy.cpp
  266. UIProcess/WebCookieManagerProxyClient.cpp
  267. UIProcess/WebDatabaseManagerProxy.cpp
  268. UIProcess/WebDatabaseManagerProxyClient.cpp
  269. UIProcess/WebDownloadClient.cpp
  270. UIProcess/WebEditCommandProxy.cpp
  271. UIProcess/WebFindClient.cpp
  272. UIProcess/WebFormClient.cpp
  273. UIProcess/WebFormSubmissionListenerProxy.cpp
  274. UIProcess/WebFrameListenerProxy.cpp
  275. UIProcess/WebFramePolicyListenerProxy.cpp
  276. UIProcess/WebFrameProxy.cpp
  277. UIProcess/WebFullScreenManagerProxy.cpp
  278. UIProcess/WebGeolocationManagerProxy.cpp
  279. UIProcess/WebGeolocationProvider.cpp
  280. UIProcess/WebGrammarDetail.cpp
  281. UIProcess/WebHistoryClient.cpp
  282. UIProcess/WebIconDatabase.cpp
  283. UIProcess/WebIconDatabaseClient.cpp
  284. UIProcess/WebInspectorProxy.cpp
  285. UIProcess/WebKeyValueStorageManager.cpp
  286. UIProcess/WebLoaderClient.cpp
  287. UIProcess/WebMediaCacheManagerProxy.cpp
  288. UIProcess/WebNavigationData.cpp
  289. UIProcess/WebNetworkInfoManagerProxy.cpp
  290. UIProcess/WebNetworkInfoProvider.cpp
  291. UIProcess/WebOpenPanelResultListenerProxy.cpp
  292. UIProcess/WebPageContextMenuClient.cpp
  293. UIProcess/WebPageGroup.cpp
  294. UIProcess/WebPageProxy.cpp
  295. UIProcess/WebPolicyClient.cpp
  296. UIProcess/WebPreferences.cpp
  297. UIProcess/WebProcessProxy.cpp
  298. UIProcess/WebResourceCacheManagerProxy.cpp
  299. UIProcess/WebTextChecker.cpp
  300. UIProcess/WebTextCheckerClient.cpp
  301. UIProcess/WebUIClient.cpp
  302. UIProcess/WebVibrationProvider.cpp
  303. UIProcess/WebVibrationProxy.cpp
  304. UIProcess/WebViewportAttributes.cpp
  305. UIProcess/API/C/WKApplicationCacheManager.cpp
  306. UIProcess/API/C/WKAuthenticationChallenge.cpp
  307. UIProcess/API/C/WKAuthenticationDecisionListener.cpp
  308. UIProcess/API/C/WKBackForwardList.cpp
  309. UIProcess/API/C/WKBackForwardListItem.cpp
  310. UIProcess/API/C/WKBatteryManager.cpp
  311. UIProcess/API/C/WKBatteryStatus.cpp
  312. UIProcess/API/C/WKColorPickerResultListener.cpp
  313. UIProcess/API/C/WKContext.cpp
  314. UIProcess/API/C/WKCookieManager.cpp
  315. UIProcess/API/C/WKCredential.cpp
  316. UIProcess/API/C/WKDatabaseManager.cpp
  317. UIProcess/API/C/WKDownload.cpp
  318. UIProcess/API/C/WKFormSubmissionListener.cpp
  319. UIProcess/API/C/WKFrame.cpp
  320. UIProcess/API/C/WKFramePolicyListener.cpp
  321. UIProcess/API/C/WKGeolocationManager.cpp
  322. UIProcess/API/C/WKGeolocationPermissionRequest.cpp
  323. UIProcess/API/C/WKGeolocationPosition.cpp
  324. UIProcess/API/C/WKGrammarDetail.cpp
  325. UIProcess/API/C/WKHitTestResult.cpp
  326. UIProcess/API/C/WKIconDatabase.cpp
  327. UIProcess/API/C/WKInspector.cpp
  328. UIProcess/API/C/WKKeyValueStorageManager.cpp
  329. UIProcess/API/C/WKMediaCacheManager.cpp
  330. UIProcess/API/C/WKNavigationData.cpp
  331. UIProcess/API/C/WKNetworkInfo.cpp
  332. UIProcess/API/C/WKNetworkInfoManager.cpp
  333. UIProcess/API/C/WKNotification.cpp
  334. UIProcess/API/C/WKNotificationManager.cpp
  335. UIProcess/API/C/WKNotificationPermissionRequest.cpp
  336. UIProcess/API/C/WKOpenPanelParameters.cpp
  337. UIProcess/API/C/WKOpenPanelResultListener.cpp
  338. UIProcess/API/C/WKPage.cpp
  339. UIProcess/API/C/WKPageGroup.cpp
  340. UIProcess/API/C/WKPluginSiteDataManager.cpp
  341. UIProcess/API/C/WKPreferences.cpp
  342. UIProcess/API/C/WKProtectionSpace.cpp
  343. UIProcess/API/C/WKResourceCacheManager.cpp
  344. UIProcess/API/C/WKTextChecker.cpp
  345. UIProcess/API/C/WKVibration.cpp
  346. UIProcess/API/C/WKViewportAttributes.cpp
  347. UIProcess/API/CoordinatedGraphics/WKCoordinatedScene.cpp
  348. UIProcess/Authentication/AuthenticationChallengeProxy.cpp
  349. UIProcess/Authentication/AuthenticationDecisionListener.cpp
  350. UIProcess/Authentication/WebCredential.cpp
  351. UIProcess/Authentication/WebProtectionSpace.cpp
  352. UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp
  353. UIProcess/Downloads/DownloadProxy.cpp
  354. UIProcess/Downloads/DownloadProxyMap.cpp
  355. UIProcess/InspectorServer/HTTPRequest.cpp
  356. UIProcess/InspectorServer/WebInspectorServer.cpp
  357. UIProcess/InspectorServer/WebSocketServer.cpp
  358. UIProcess/InspectorServer/WebSocketServerConnection.cpp
  359. UIProcess/Launcher/ProcessLauncher.cpp
  360. UIProcess/Notifications/NotificationPermissionRequest.cpp
  361. UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp
  362. UIProcess/Notifications/WebNotification.cpp
  363. UIProcess/Notifications/WebNotificationManagerProxy.cpp
  364. UIProcess/Notifications/WebNotificationProvider.cpp
  365. UIProcess/Plugins/PlugInAutoStartProvider.cpp
  366. UIProcess/Plugins/PluginInfoStore.cpp
  367. UIProcess/Plugins/PluginProcessManager.cpp
  368. UIProcess/Plugins/PluginProcessProxy.cpp
  369. UIProcess/Plugins/WebPluginSiteDataManager.cpp
  370. UIProcess/Storage/LocalStorageDatabase.cpp
  371. UIProcess/Storage/LocalStorageDatabaseTracker.cpp
  372. WebProcess/WebConnectionToUIProcess.cpp
  373. WebProcess/WebProcess.cpp
  374. WebProcess/ApplicationCache/WebApplicationCacheManager.cpp
  375. Shared/Authentication/AuthenticationManager.cpp
  376. WebProcess/Battery/WebBatteryManager.cpp
  377. WebProcess/Cookies/WebCookieManager.cpp
  378. Shared/Downloads/Download.cpp
  379. Shared/Downloads/DownloadAuthenticationClient.cpp
  380. Shared/Downloads/DownloadManager.cpp
  381. WebProcess/FullScreen/WebFullScreenManager.cpp
  382. WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp
  383. WebProcess/Geolocation/WebGeolocationManager.cpp
  384. WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
  385. WebProcess/InjectedBundle/InjectedBundle.cpp
  386. WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp
  387. WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp
  388. WebProcess/InjectedBundle/InjectedBundleClient.cpp
  389. WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp
  390. WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
  391. WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp
  392. WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp
  393. WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp
  394. WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp
  395. WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp
  396. WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
  397. WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
  398. WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp
  399. WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp
  400. WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
  401. WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp
  402. WebProcess/InjectedBundle/API/c/WKBundle.cpp
  403. WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp
  404. WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp
  405. WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp
  406. WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
  407. WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp
  408. WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
  409. WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp
  410. WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
  411. WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
  412. WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp
  413. WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp
  414. WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp
  415. WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp
  416. WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
  417. WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp
  418. WebProcess/MediaCache/WebMediaCacheManager.cpp
  419. WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
  420. WebProcess/Notifications/NotificationPermissionRequestManager.cpp
  421. WebProcess/Notifications/WebNotificationManager.cpp
  422. WebProcess/Plugins/Plugin.cpp
  423. WebProcess/Plugins/PluginProcessConnection.cpp
  424. WebProcess/Plugins/PluginProcessConnectionManager.cpp
  425. WebProcess/Plugins/PluginProxy.cpp
  426. WebProcess/Plugins/PluginView.cpp
  427. WebProcess/Plugins/Netscape/JSNPMethod.cpp
  428. WebProcess/Plugins/Netscape/JSNPObject.cpp
  429. WebProcess/Plugins/Netscape/NPJSObject.cpp
  430. WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp
  431. WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
  432. WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
  433. WebProcess/Plugins/Netscape/NetscapePlugin.cpp
  434. WebProcess/Plugins/Netscape/NetscapePluginNone.cpp
  435. WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
  436. WebProcess/ResourceCache/WebResourceCacheManager.cpp
  437. WebProcess/Storage/StorageAreaImpl.cpp
  438. WebProcess/Storage/StorageAreaMap.cpp
  439. WebProcess/Storage/StorageNamespaceImpl.cpp
  440. WebProcess/WebCoreSupport/WebBatteryClient.cpp
  441. WebProcess/WebCoreSupport/WebChromeClient.cpp
  442. WebProcess/WebCoreSupport/WebColorChooser.cpp
  443. WebProcess/WebCoreSupport/WebContextMenuClient.cpp
  444. WebProcess/WebCoreSupport/WebDatabaseManager.cpp
  445. WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp
  446. WebProcess/WebCoreSupport/WebDragClient.cpp
  447. WebProcess/WebCoreSupport/WebEditorClient.cpp
  448. WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
  449. WebProcess/WebCoreSupport/WebGeolocationClient.cpp
  450. WebProcess/WebCoreSupport/WebInspectorClient.cpp
  451. WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp
  452. WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
  453. WebProcess/WebCoreSupport/WebNotificationClient.cpp
  454. WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
  455. WebProcess/WebCoreSupport/WebPlugInClient.cpp
  456. WebProcess/WebCoreSupport/WebPopupMenu.cpp
  457. WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp
  458. WebProcess/WebCoreSupport/WebVibrationClient.cpp
  459. WebProcess/WebPage/DecoderAdapter.cpp
  460. WebProcess/WebPage/DrawingArea.cpp
  461. WebProcess/WebPage/DrawingAreaImpl.cpp
  462. WebProcess/WebPage/EncoderAdapter.cpp
  463. WebProcess/WebPage/EventDispatcher.cpp
  464. WebProcess/WebPage/FindController.cpp
  465. WebProcess/WebPage/LayerTreeHost.cpp
  466. WebProcess/WebPage/PageBanner.cpp
  467. WebProcess/WebPage/PageOverlay.cpp
  468. WebProcess/WebPage/TapHighlightController.cpp
  469. WebProcess/WebPage/WebBackForwardListProxy.cpp
  470. WebProcess/WebPage/WebContextMenu.cpp
  471. WebProcess/WebPage/WebFrame.cpp
  472. WebProcess/WebPage/WebInspector.cpp
  473. WebProcess/WebPage/WebOpenPanelResultListener.cpp
  474. WebProcess/WebPage/WebPage.cpp
  475. WebProcess/WebPage/WebPageGroupProxy.cpp
  476. WebProcess/WebPage/WebUndoStep.cpp
  477. WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp
  478. )
  479. set(WebKit2_MESSAGES_IN_FILES
  480. PluginProcess/PluginControllerProxy.messages.in
  481. PluginProcess/PluginProcess.messages.in
  482. PluginProcess/WebProcessConnection.messages.in
  483. Shared/WebConnection.messages.in
  484. Shared/Plugins/NPObjectMessageReceiver.messages.in
  485. UIProcess/DrawingAreaProxy.messages.in
  486. UIProcess/Storage/StorageManager.messages.in
  487. UIProcess/WebApplicationCacheManagerProxy.messages.in
  488. UIProcess/WebBatteryManagerProxy.messages.in
  489. UIProcess/WebContext.messages.in
  490. UIProcess/WebCookieManagerProxy.messages.in
  491. UIProcess/WebDatabaseManagerProxy.messages.in
  492. UIProcess/WebFullScreenManagerProxy.messages.in
  493. UIProcess/WebGeolocationManagerProxy.messages.in
  494. UIProcess/WebIconDatabase.messages.in
  495. UIProcess/WebInspectorProxy.messages.in
  496. UIProcess/WebMediaCacheManagerProxy.messages.in
  497. UIProcess/WebNetworkInfoManagerProxy.messages.in
  498. UIProcess/WebPageProxy.messages.in
  499. UIProcess/WebProcessProxy.messages.in
  500. UIProcess/WebResourceCacheManagerProxy.messages.in
  501. UIProcess/WebVibrationProxy.messages.in
  502. UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in
  503. UIProcess/Downloads/DownloadProxy.messages.in
  504. UIProcess/Plugins/PluginProcessProxy.messages.in
  505. WebProcess/WebProcess.messages.in
  506. WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in
  507. Shared/Authentication/AuthenticationManager.messages.in
  508. WebProcess/Battery/WebBatteryManager.messages.in
  509. WebProcess/Cookies/WebCookieManager.messages.in
  510. WebProcess/FullScreen/WebFullScreenManager.messages.in
  511. WebProcess/Geolocation/WebGeolocationManager.messages.in
  512. WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in
  513. WebProcess/MediaCache/WebMediaCacheManager.messages.in
  514. WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in
  515. WebProcess/Notifications/WebNotificationManager.messages.in
  516. WebProcess/Plugins/PluginProcessConnection.messages.in
  517. WebProcess/Plugins/PluginProcessConnectionManager.messages.in
  518. WebProcess/Plugins/PluginProxy.messages.in
  519. WebProcess/ResourceCache/WebResourceCacheManager.messages.in
  520. WebProcess/Storage/StorageAreaMap.messages.in
  521. WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
  522. WebProcess/WebPage/DrawingArea.messages.in
  523. WebProcess/WebPage/EventDispatcher.messages.in
  524. WebProcess/WebPage/WebInspector.messages.in
  525. WebProcess/WebPage/WebPage.messages.in
  526. WebProcess/WebPage/WebPageGroupProxy.messages.in
  527. WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.messages.in
  528. )
  529. set(WebProcess_LIBRARIES
  530. JavaScriptCore
  531. WebCore
  532. WebKit2
  533. )
  534. set(WebKit2_LIBRARIES
  535. WTF
  536. WebCore
  537. )
  538. WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
  539. # Create JavaScript C++ code given an IDL input
  540. foreach (_file ${WebKit2_MESSAGES_IN_FILES})
  541. get_filename_component(_name ${_file} NAME_WE)
  542. add_custom_command(
  543. OUTPUT ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
  544. MAIN_DEPENDENCY ${_file}
  545. DEPENDS ${WEBKIT2_DIR}/Scripts/webkit2/__init__.py
  546. ${WEBKIT2_DIR}/Scripts/webkit2/messages.py
  547. ${WEBKIT2_DIR}/Scripts/webkit2/model.py
  548. ${WEBKIT2_DIR}/Scripts/webkit2/parser.py
  549. COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-message-receiver.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp
  550. COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-messages-header.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
  551. WORKING_DIRECTORY ${WEBKIT2_DIR}
  552. VERBATIM)
  553. list(APPEND WebKit2_SOURCES ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp)
  554. endforeach ()
  555. add_definitions(-DBUILDING_WEBKIT)
  556. include_directories(${WebKit2_INCLUDE_DIRECTORIES})
  557. add_library(WebKit2 ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
  558. add_dependencies(WebKit2 WebCore)
  559. add_dependencies(WebKit2 ${WEBKIT2_EXTRA_DEPENDENCIES})
  560. target_link_libraries(WebKit2 ${WebKit2_LIBRARIES})
  561. set_target_properties(WebKit2 PROPERTIES FOLDER "WebKit")
  562. set_target_properties(WebKit2 PROPERTIES LINK_INTERFACE_LIBRARIES "")
  563. if (WebKit2_OUTPUT_NAME)
  564. set_target_properties(WebKit2 PROPERTIES OUTPUT_NAME ${WebKit2_OUTPUT_NAME})
  565. endif ()
  566. add_executable(WebProcess ${WebProcess_SOURCES})
  567. target_link_libraries(WebProcess ${WebProcess_LIBRARIES})
  568. set_target_properties(WebProcess PROPERTIES FOLDER "WebKit")
  569. if (WebKit2_WebProcess_OUTPUT_NAME)
  570. set_target_properties(WebProcess PROPERTIES OUTPUT_NAME ${WebKit2_WebProcess_OUTPUT_NAME})
  571. endif ()
  572. set_target_properties(WebKit2 PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
  573. install(TARGETS WebKit2 DESTINATION "${LIB_INSTALL_DIR}")
  574. install(TARGETS WebProcess DESTINATION "${EXEC_INSTALL_DIR}")