manx.gyp 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. {
  2. 'includes': [
  3. '../WebCore.gypi',
  4. ],
  5. 'variables': {
  6. 'webcore_include_dirs' : [
  7. '../accessibility/manx',
  8. '../Modules/asyncimagedecoder',
  9. '../Modules/htmltile',
  10. '../page/manx',
  11. '../platform/graphics/cairo',
  12. '../platform/graphics/gpu',
  13. '../platform/graphics/opengl',
  14. '../platform/graphics/manx',
  15. '../platform/network/manx',
  16. '../platform/graphics/texmap',
  17. '../platform/graphics/surfaces/egl',
  18. '../platform/graphics/surfaces/manx',
  19. '../platform/manx',
  20. '../..',
  21. ], # webcore_include_dirs
  22. 'webcore_files' : [
  23. '../accessibility/manx/AccessibilityObjectManx.cpp',
  24. '../bindings/js/ScriptControllerManx.cpp',
  25. '../editing/manx/EditorManx.cpp',
  26. '../Modules/asyncimagedecoder/AsyncImageDecoder.h',
  27. '../Modules/asyncimagedecoder/AsyncImageDecoder.cpp',
  28. '../Modules/htmltile/HTMLTile.h',
  29. '../Modules/htmltile/HTMLTile.cpp',
  30. '../Modules/htmltile/HTMLTileClient.h',
  31. '../page/manx/CursorNavigation.cpp',
  32. '../page/manx/CursorNavigation.h',
  33. '../page/manx/DragControllerManx.cpp',
  34. '../page/manx/EventHandlerManx.cpp',
  35. '../page/manx/FocusControllerManx.cpp',
  36. '../platform/graphics/cairo/PlatformContextCairo.cpp',
  37. '../platform/graphics/cairo/PlatformContextCairo.h',
  38. '../platform/graphics/cairo/PlatformPathCairo.cpp',
  39. '../platform/graphics/cairo/PlatformPathCairo.h',
  40. '../platform/graphics/manx/FontCacheManx.cpp',
  41. '../platform/graphics/manx/FontCustomPlatformDataManx.cpp',
  42. '../platform/graphics/manx/FontStreamBufferManx.cpp',
  43. '../platform/graphics/manx/FontStreamBufferManx.h',
  44. '../platform/graphics/manx/FontPlatformData.h',
  45. '../platform/graphics/manx/FontPlatformDataManx.cpp',
  46. '../platform/graphics/manx/FontManx.cpp',
  47. '../platform/graphics/manx/FtStreamManx.cpp',
  48. '../platform/graphics/manx/FtStreamManx.h',
  49. '../platform/graphics/manx/GlyphPageTreeNodeManx.cpp',
  50. '../platform/graphics/manx/IconManx.cpp',
  51. '../platform/graphics/manx/ImageManx.cpp',
  52. '../platform/graphics/manx/MediaPlayerPrivateManx.cpp',
  53. '../platform/graphics/manx/MediaPlayerPrivateManx.h',
  54. '../platform/graphics/manx/SimpleFontDataManx.cpp',
  55. '../platform/graphics/manx/BuiltinShaderCompiler.cpp',
  56. '../platform/graphics/manx/BuiltinShaderCompiler.h',
  57. '../platform/graphics/manx/VideoLayerManx.cpp',
  58. '../platform/graphics/manx/VideoLayerManx.h',
  59. '../platform/network/manx/AuthenticationChallenge.h',
  60. '../platform/network/manx/CookieJarCurl.cpp',
  61. '../platform/network/manx/CookieStorageCurl.cpp',
  62. '../platform/network/manx/CredentialBackingStoreManx.cpp',
  63. '../platform/network/manx/CredentialBackingStoreManx.h',
  64. '../platform/network/manx/CredentialStorageCurl.cpp',
  65. '../platform/network/manx/CredentialTransformDataManx.cpp',
  66. '../platform/network/manx/CredentialTransformDataManx.h',
  67. '../platform/network/manx/DNSCurl.cpp',
  68. '../platform/network/manx/DownloadBundle.h',
  69. '../platform/network/manx/FormDataStreamCurl.cpp',
  70. '../platform/network/manx/FormDataStreamCurl.h',
  71. '../platform/network/manx/NetworkStateNotifierManx.cpp',
  72. '../platform/network/manx/ProxyServerCurl.cpp',
  73. '../platform/network/manx/ResourceError.h',
  74. '../platform/network/manx/ResourceHandleCurl.cpp',
  75. '../platform/network/manx/ResourceHandleManager.cpp',
  76. '../platform/network/manx/ResourceHandleManager.h',
  77. '../platform/network/manx/ResourceRequest.h',
  78. '../platform/network/manx/ResourceRequestManx.cpp',
  79. '../platform/network/manx/ResourceResponse.h',
  80. '../platform/network/manx/SocketStreamError.h',
  81. '../platform/network/manx/SocketStreamHandle.h',
  82. '../platform/network/manx/SocketStreamHandleCurl.cpp',
  83. '../platform/network/ntf/CookieJarNtf.cpp',
  84. '../platform/network/ntf/ResourceHandleManagerNtf.cpp',
  85. '../platform/network/ntf/ResourceHandleManagerNtf.h',
  86. '../platform/network/ntf/ResourceHandleNtf.cpp',
  87. '../platform/network/ntf/URLRequestData.cpp',
  88. '../platform/network/ntf/URLRequestData.h',
  89. '../platform/network/ntf/URLRequestHttp.cpp',
  90. '../platform/network/ntf/URLRequestHttp.h',
  91. '../platform/network/ntf/URLRequestJobFactory.cpp',
  92. '../platform/network/ntf/URLRequestJobFactory.h',
  93. '../platform/network/ntf/URLRequestListenerNtf.cpp',
  94. '../platform/network/ntf/URLRequestListenerNtf.h',
  95. '../platform/manx/ClipboardManx.cpp',
  96. '../platform/manx/ContextMenuItemManx.cpp',
  97. '../platform/manx/ContextMenuManx.cpp',
  98. '../platform/manx/CursorManx.cpp',
  99. '../platform/manx/DragDataManx.cpp',
  100. '../platform/manx/DragImageManx.cpp',
  101. '../platform/manx/EventLoopManx.cpp',
  102. '../platform/manx/FileSystemManx.cpp',
  103. '../platform/manx/GamepadsManx.cpp',
  104. '../platform/manx/KURLManx.cpp',
  105. '../platform/manx/LanguageManx.cpp',
  106. '../platform/manx/LocalizedStringsManx.cpp',
  107. '../platform/manx/LoggingManx.cpp',
  108. '../platform/manx/MIMETypeRegistryManx.cpp',
  109. '../platform/manx/PasteboardManx.cpp',
  110. '../platform/manx/PlatformKeyboardEventManx.cpp',
  111. '../platform/manx/PlatformMouseEventManx.cpp',
  112. '../platform/manx/PlatformScreenManx.cpp',
  113. '../platform/manx/PlatformTouchEventManx.cpp',
  114. '../platform/manx/PlatformTouchPointManx.cpp',
  115. '../platform/manx/RenderThemeManx.cpp',
  116. '../platform/manx/RenderThemeManx.h',
  117. '../platform/manx/RunLoopManx.cpp',
  118. '../platform/manx/ScrollbarThemeManx.cpp',
  119. '../platform/manx/ScrollbarThemeManx.h',
  120. '../platform/manx/SharedBufferManx.cpp',
  121. '../platform/manx/SharedTimerManx.cpp',
  122. '../platform/manx/SoundManx.cpp',
  123. '../platform/manx/TemporaryLinkStubs.cpp',
  124. '../platform/manx/WidgetManx.cpp',
  125. '../platform/text/manx/TextBreakIteratorInternalICUManx.cpp',
  126. ],
  127. }, # variables
  128. 'targets': [
  129. {
  130. 'target_name': 'WebCoreGenerated',
  131. 'type' : 'none',
  132. 'hard_dependency': 1,
  133. 'actions': [
  134. {
  135. 'action_name' : 'Generate WebCore Derived Sources',
  136. 'inputs' : [ 'generate-derived-sources-manx.sh' ],
  137. 'outputs' : [
  138. '<@(webcore_derived_source_files)',
  139. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSEXTTextureFormatBGRA8888.h',
  140. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSEXTTextureFormatBGRA8888.cpp',
  141. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSFloat64Array.cpp',
  142. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSFloat64Array.h',
  143. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSAsyncImageDecoder.h',
  144. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSAsyncImageDecoder.cpp',
  145. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSHTMLTile.h',
  146. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSHTMLTile.cpp',
  147. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSLocationChangeEvent.h',
  148. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSLocationChangeEvent.cpp',
  149. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSHTMLTrackElement.cpp',
  150. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSHTMLTrackElement.h',
  151. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTrackEvent.cpp',
  152. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTrackEvent.h',
  153. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrack.cpp',
  154. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrack.h',
  155. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackCue.cpp',
  156. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackCue.h',
  157. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackCueList.cpp',
  158. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackCueList.h',
  159. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackList.cpp',
  160. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackList.h',
  161. ],
  162. 'action' : [ 'bash', 'generate-derived-sources-manx.sh', '<(PRODUCT_DIR)/DerivedSources' ],
  163. 'parallel_build' : 1,
  164. },
  165. ],
  166. }, # DerivedSources target
  167. {
  168. 'target_name': 'WebCore',
  169. 'type' : 'static_library',
  170. 'msvs_guid' : '4C50E8DB-04A2-4BFF-9170-037AC1EB4715',
  171. 'dependencies' : [
  172. 'WTF',
  173. 'JavaScriptCore',
  174. ],
  175. 'direct_dependent_settings' : {
  176. 'include_dirs' : [ '<@(webcore_include_dirs)' ]
  177. },
  178. 'include_dirs' : [ '<@(webcore_include_dirs)' ],
  179. 'defines' : [
  180. 'BUILDING_WebCore',
  181. ],
  182. 'sources': [
  183. '<@(webcore_files)',
  184. ],
  185. 'sources/': [
  186. [ 'exclude', 'bindings/cpp/' ],
  187. [ 'exclude', 'bridge/[^/]+/' ],
  188. [ 'exclude', 'bridge/testbindings\\.cpp$' ], # Remove from GYPI?
  189. [ 'exclude', 'bridge/testbindings\\.mm$' ], # Remove from GYPI?
  190. [ 'exclude', 'bridge/testqtbindings\\.cpp$' ], # Remove from GYPI?
  191. [ 'include', 'bridge/jsc/' ],
  192. [ 'exclude', 'plugins/PluginDataNone.cpp' ],
  193. [ 'exclude', 'platform/geoclue/' ],
  194. [ 'exclude', 'platform/graphics/opengl/GraphicsContext3DOpenGL.cpp' ],
  195. [ 'exclude', 'platform/graphics/cairo/FontCairo.cpp' ],
  196. [ 'exclude', 'platform/graphics/FontPlatformData.cpp' ],
  197. [ 'exclude', 'platform/graphics/freetype/' ],
  198. [ 'exclude', 'platform/graphics/egl' ],
  199. [ 'exclude', 'platform/image-encoders/' ],
  200. [ 'exclude', 'platform/mock/GeolocationClientMock' ],
  201. [ 'exclude', 'platform/network/curl/' ],
  202. [ 'exclude', 'platform/text/LocaleICU.cpp' ],
  203. [ 'exclude', 'platform/text/LocaleToScriptMappingDefault.cpp' ],
  204. [ 'exclude', 'platform/text/LocalizedDateICU.cpp' ],
  205. [ 'exclude', 'platform/text/LocalizedNumberICU.cpp' ],
  206. [ 'exclude', 'platform/text/TextEncodingDetectorNone.cpp' ],
  207. [ 'exclude', 'AllInOne\\.cpp$' ],
  208. ],
  209. 'conditions' : [
  210. [ 'enable_webgl==1', {
  211. 'sources': [
  212. '../platform/graphics/cairo/DrawingBufferCairo.cpp',
  213. '../platform/graphics/manx/GraphicsContext3DManx.cpp',
  214. '../platform/graphics/manx/GraphicsContext3DPrivate.cpp',
  215. '../platform/graphics/manx/GraphicsContext3DPrivate.h',
  216. '../platform/graphics/surfaces/manx/GLTransportSurface.cpp',
  217. '../platform/graphics/surfaces/manx/GLTransportSurface.h',
  218. '../platform/graphics/surfaces/manx/GraphicsSurfaceOrbis.cpp',
  219. ],
  220. 'sources/': [
  221. # Not used for EGL
  222. [ 'exclude', 'OpenGLShims.h'],
  223. [ 'exclude', 'OpenGLShims.cpp'],
  224. ],
  225. }],
  226. [ 'enable_webgl==0', {
  227. 'sources/': [
  228. [ 'exclude', 'egl/'],
  229. [ 'exclude', 'gpu/'],
  230. [ 'exclude', 'opengl/'],
  231. [ 'exclude', 'GL\\.cpp$'],
  232. [ 'exclude', 'OpenGLShims.cpp'],
  233. ],
  234. }],
  235. [ 'use_accelerated_compositing==1', {
  236. 'sources': [
  237. # For canvas extension
  238. '../platform/graphics/manx/OpenGLManx.cpp',
  239. '../platform/graphics/manx/OpenGLManx.h',
  240. ],
  241. }],
  242. [ 'use_accelerated_compositing==0', {
  243. 'sources/': [
  244. [ 'exclude', 'texmap/'],
  245. ],
  246. }],
  247. [ 'OS=="orbis"' , {
  248. 'sources': [
  249. '../inspector/InspectorManxAgent.cpp',
  250. '../inspector/InspectorManxAgent.h',
  251. '../platform/graphics/DisplayRefreshMonitor.cpp',
  252. '../platform/graphics/DisplayRefreshMonitor.h',
  253. '../platform/graphics/manx/DisplayRefreshMonitorManx.cpp',
  254. '../platform/graphics/harfbuzz/HarfBuzzFace.cpp',
  255. '../platform/graphics/harfbuzz/HarfBuzzFace.h',
  256. '../platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp',
  257. '../platform/graphics/harfbuzz/HarfBuzzShaper.cpp',
  258. '../platform/graphics/harfbuzz/HarfBuzzShaper.h',
  259. ],
  260. 'sources/' : [
  261. [ 'include', 'harfbuzz/' ],
  262. [ 'exclude', 'HarfBuzzFaceCoreText.cpp' ],
  263. ],
  264. },
  265. ],
  266. [ 'OS=="win"' , {
  267. 'sources/' : [
  268. [ 'exclude', 'FileSystemManx.cpp' ],
  269. [ 'include', 'FileSystemWin.cpp' ],
  270. [ 'include', 'PathWalker.cpp' ],
  271. ],
  272. },
  273. ],
  274. [ 'OS=="psp2"' , {
  275. 'sources' : [
  276. '../platform/graphics/cairo/IntRectCairo.cpp',
  277. '../platform/graphics/cairo/TileCairo.cpp',
  278. '../platform/graphics/cairo/TiledBackingStoreBackendCairo.cpp',
  279. ],
  280. 'sources/' : [
  281. [ 'exclude', 'harfbuzz/' ],
  282. ],
  283. },
  284. ],
  285. [ 'OS=="psp2"' , {
  286. 'configurations': {
  287. 'Release' : {
  288. 'msbuild_settings' : {
  289. 'ClCompile' : {
  290. 'AdditionalOptions' : ['-Os'],
  291. },
  292. },
  293. },
  294. },
  295. },
  296. ],
  297. ],
  298. },
  299. {
  300. 'target_name': 'WebCoreDerived',
  301. 'type' : 'static_library',
  302. 'msvs_guid' : 'FEF5A036-F2CE-4C81-B838-B7670AB3BA07',
  303. 'dependencies' : [
  304. 'WTF',
  305. 'JavaScriptCore',
  306. ],
  307. 'direct_dependent_settings' : {
  308. 'include_dirs' : [ '<@(webcore_include_dirs)' ]
  309. },
  310. 'include_dirs' : [ '<@(webcore_include_dirs)' ],
  311. 'defines' : [
  312. 'BUILDING_WebCore',
  313. ],
  314. 'sources': [
  315. '../config.h', # dummy
  316. '<@(webcore_derived_source_files)',
  317. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSEXTTextureFormatBGRA8888.h',
  318. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSEXTTextureFormatBGRA8888.cpp',
  319. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSFloat64Array.cpp',
  320. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSFloat64Array.h',
  321. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSAsyncImageDecoder.h',
  322. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSAsyncImageDecoder.cpp',
  323. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSHTMLTile.h',
  324. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSHTMLTile.cpp',
  325. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSLocationChangeEvent.h',
  326. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSLocationChangeEvent.cpp',
  327. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSHTMLTrackElement.cpp',
  328. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSHTMLTrackElement.h',
  329. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTrackEvent.cpp',
  330. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTrackEvent.h',
  331. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrack.cpp',
  332. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrack.h',
  333. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackCue.cpp',
  334. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackCue.h',
  335. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackCueList.cpp',
  336. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackCueList.h',
  337. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackList.cpp',
  338. '<(PRODUCT_DIR)/DerivedSources/WebCore/JSTextTrackList.h',
  339. ],
  340. 'sources/': [
  341. [ 'exclude', '\\.h$' ],
  342. [ 'exclude', 'CharsetData\\.cpp' ],
  343. [ 'exclude', 'JSAbstractView\\.cpp' ],
  344. [ 'exclude', 'JSElementTimeControl\\.cpp' ],
  345. [ 'exclude', 'JSMediaKeyError.cpp' ],
  346. [ 'exclude', 'JSMediaKeyEvent.cpp' ],
  347. [ 'exclude', 'JSPerformanceEntry.cpp' ],
  348. [ 'exclude', 'JSPerformanceEntryList.cpp' ],
  349. [ 'exclude', 'JSSVGExternalResourcesRequired.cpp' ],
  350. [ 'exclude', 'JSSVGFilterPrimitiveStandardAttributes.cpp' ],
  351. [ 'exclude', 'JSSVGFitToViewBox.cpp' ],
  352. [ 'exclude', 'JSSVGLangSpace.cpp' ],
  353. [ 'exclude', 'JSSVGLocatable.cpp' ],
  354. [ 'exclude', 'JSSVGStylable.cpp' ],
  355. [ 'exclude', 'JSSVGTests.cpp' ],
  356. [ 'exclude', 'JSSVGTransformable.cpp' ],
  357. [ 'exclude', 'JSSVGURIReference.cpp' ],
  358. [ 'exclude', 'JSSpellcheckRange.cpp' ],
  359. [ 'exclude', 'JSSpellcheckRangeList.cpp' ],
  360. [ 'exclude', 'tokenizer.cpp' ],
  361. [ 'exclude', 'DocTypeStrings.cpp' ],
  362. ],
  363. 'conditions' : [
  364. [ 'OS=="psp2"' , {
  365. 'configurations': {
  366. 'Release' : {
  367. 'msbuild_settings' : {
  368. 'ClCompile' : {
  369. 'AdditionalOptions' : ['-Os'],
  370. },
  371. },
  372. },
  373. },
  374. },
  375. ],
  376. ],
  377. },
  378. {
  379. 'target_name': 'WebCoreDom',
  380. 'type' : 'static_library',
  381. 'msvs_guid' : 'E7D745CC-F857-4D06-9947-01602F228413',
  382. 'dependencies' : [
  383. 'WTF',
  384. 'JavaScriptCore',
  385. ],
  386. 'direct_dependent_settings' : {
  387. 'include_dirs' : [ '<@(webcore_include_dirs)' ]
  388. },
  389. 'include_dirs' : [ '<@(webcore_include_dirs)' ],
  390. 'defines' : [
  391. 'BUILDING_WebCore',
  392. ],
  393. 'sources': [
  394. '<@(webcore_dom_files)',
  395. ],
  396. 'sources/': [
  397. [ 'exclude', 'AllInOne\\.cpp$' ],
  398. ],
  399. 'conditions' : [
  400. [ 'OS=="psp2"' , {
  401. 'configurations': {
  402. 'Release' : {
  403. 'msbuild_settings' : {
  404. 'ClCompile' : {
  405. 'AdditionalOptions' : ['-Os'],
  406. },
  407. },
  408. },
  409. },
  410. },
  411. ],
  412. ],
  413. },
  414. {
  415. 'target_name': 'WebCoreHtml',
  416. 'type' : 'static_library',
  417. 'msvs_guid' : 'EC1EB5D7-B5B3-43B0-B36B-E4B79FC1A956',
  418. 'dependencies' : [
  419. 'WTF',
  420. 'JavaScriptCore',
  421. ],
  422. 'direct_dependent_settings' : {
  423. 'include_dirs' : [ '<@(webcore_include_dirs)' ]
  424. },
  425. 'include_dirs' : [ '<@(webcore_include_dirs)' ],
  426. 'defines' : [
  427. 'BUILDING_WebCore',
  428. ],
  429. 'sources': [
  430. '<@(webcore_html_files)',
  431. '../html/canvas/EXTTextureFormatBGRA8888.cpp',
  432. '../html/canvas/EXTTextureFormatBGRA8888.h',
  433. ],
  434. 'sources/': [
  435. [ 'exclude', 'AllInOne\\.cpp$' ],
  436. ],
  437. 'conditions' : [
  438. [ 'OS=="psp2"' , {
  439. 'configurations': {
  440. 'Release' : {
  441. 'msbuild_settings' : {
  442. 'ClCompile' : {
  443. 'AdditionalOptions' : ['-Os'],
  444. },
  445. },
  446. },
  447. },
  448. },
  449. ],
  450. ],
  451. },
  452. {
  453. 'target_name': 'WebCoreSvg',
  454. 'type' : 'static_library',
  455. 'msvs_guid' : '3DDC1DF2-082F-4BB9-BE53-CFE69EBD9A63',
  456. 'dependencies' : [
  457. 'WTF',
  458. 'JavaScriptCore',
  459. ],
  460. 'direct_dependent_settings' : {
  461. 'include_dirs' : [ '<@(webcore_include_dirs)' ]
  462. },
  463. 'include_dirs' : [ '<@(webcore_include_dirs)' ],
  464. 'defines' : [
  465. 'BUILDING_WebCore',
  466. ],
  467. 'sources': [
  468. '<@(webcore_svg_files)',
  469. ],
  470. 'sources/': [
  471. [ 'exclude', 'AllInOne\\.cpp$' ],
  472. ],
  473. 'conditions' : [
  474. [ 'OS=="psp2"' , {
  475. 'configurations': {
  476. 'Release' : {
  477. 'msbuild_settings' : {
  478. 'ClCompile' : {
  479. 'AdditionalOptions' : ['-Os'],
  480. },
  481. },
  482. },
  483. },
  484. },
  485. ],
  486. ],
  487. },
  488. {
  489. 'target_name': 'WebCoreTestSupport',
  490. 'type' : 'static_library',
  491. 'msvs_guid' : 'BD0C6AF9-EED6-405A-BFCE-35526905AE69',
  492. 'dependencies' : [
  493. 'WTF',
  494. 'JavaScriptCore',
  495. ],
  496. 'direct_dependent_settings' : {
  497. 'include_dirs' : [ '<@(webcore_include_dirs)' ]
  498. },
  499. 'include_dirs' : [ '<@(webcore_include_dirs)' ],
  500. 'defines' : [
  501. 'BUILDING_WebCore',
  502. ],
  503. 'sources': [
  504. '<@(webcore_test_support_files)',
  505. '<@(webcore_test_support_derived_source_files)',
  506. ],
  507. },
  508. {
  509. 'target_name': 'WebCore_CoreIPC',
  510. 'type' : 'static_library',
  511. 'msvs_guid' : '7AE3C5AB-352F-4CA2-A385-917D49F3A35F',
  512. 'dependencies' : [
  513. 'WTF',
  514. 'JavaScriptCore',
  515. ],
  516. 'direct_dependent_settings' : {
  517. 'include_dirs' : [ '<@(webcore_include_dirs)' ]
  518. },
  519. 'include_dirs' : [ '<@(webcore_include_dirs)' ],
  520. 'defines' : [
  521. 'BUILDING_WebCore',
  522. ],
  523. 'sources': [
  524. '../platform/RunLoop.cpp',
  525. '../platform/manx/RunLoopManx.cpp',
  526. ],
  527. 'msbuild_settings' : {
  528. 'ClCompile' : {
  529. 'AdditionalOptions' : ['-fvisibility=default'],
  530. },
  531. },
  532. },
  533. ], # targets
  534. }