manx.gyp 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. 'includes' : [
  3. '../common_psp2.gypi',
  4. ],
  5. 'variables' : {
  6. },
  7. 'target_defaults' : {
  8. 'msvs_configuration_attributes' : {
  9. 'OutputDirectory' : '$(SolutionDir)dist\\lib\\$(PlatformName)_$(ConfigurationName)',
  10. 'IntermediateDirectory' : '$(PlatformName)_$(ConfigurationName)\\$(ProjectName)',
  11. },
  12. 'msvs_configuration_platform' : 'PSVita',
  13. 'configurations': {
  14. 'Debug' : {
  15. 'defines' : [ '_DEBUG' ] ,
  16. },
  17. 'Release' : {
  18. 'defines' : [ 'NDEBUG' ] ,
  19. 'msbuild_settings' : {
  20. 'ClCompile' : {
  21. 'OptimizationLevel' : 'Level2',
  22. },
  23. },
  24. },
  25. },
  26. 'product_prefix': 'lib',
  27. 'product_extension': 'a',
  28. 'product_dir' : '$(OutDir)',
  29. 'defines' : [
  30. 'SN_TARGET_PSP2',
  31. '__SNC__',
  32. '__PSP2__',
  33. 'WTF_PLATFORM_MANX=1',
  34. 'WTF_USE_ICU_UNICODE=1',
  35. 'WTF_USE_JSVALUE32_64=1',
  36. 'USE_SYSTEM_MALLOC',
  37. 'HAVE_INTTYPES_H=1',
  38. 'HAVE_MEMORY_H=1',
  39. 'HAVE_PTHREAD_H=1',
  40. 'HAVE_STDBOOL_H=1',
  41. 'HAVE_STDINT_H=1',
  42. 'HAVE_STDLIB_H=1',
  43. 'HAVE_STRINGS_H=1',
  44. 'HAVE_STRING_H=1',
  45. 'HAVE_SYS_STAT_H=1',
  46. 'HAVE_SYS_TYPES_H=1',
  47. 'HAVE_UNISTD_H=1',
  48. 'HAVE_VASPRINTF=0',
  49. 'HAVE__BOOL=1',
  50. 'STDC_HEADERS=1',
  51. '<@(feature_defines)',
  52. ], # defines
  53. 'include_dirs': [
  54. '../../..',
  55. '../../../../dist/include',
  56. '../../../../dist/include/webkit-1.0',
  57. '../../../../psp2/dist/include/psp2-compat',
  58. '../../../../psp2/dist/include/webipc',
  59. '../../../../psp2/dist/include',
  60. '../../../../psp2/dist/include/cairo',
  61. '../../../../psp2/dist/include/curl',
  62. '../../../../psp2/dist/include/freetype2',
  63. '../../../../psp2/dist/include/libpng15',
  64. '../../../../psp2/dist/include/libxml2',
  65. '../../../../psp2/dist/include/pixman-1',
  66. '../../../../libmanx/dist/include',
  67. '../../../../libJITbridge/dist/include',
  68. '$(SCE_PSP2_SDK_DIR)/target',
  69. '$(SCE_PSP2_SDK_DIR)/target/include_common',
  70. ],
  71. 'msbuild_settings' : {
  72. 'ClCompile' : {
  73. 'AdditionalOptions' : ['-Xssp=strong', '-Xstd=cpp11', '--multibyte_chars', '--diag_error=118,121,942'],
  74. 'GenerateDebugInformation' : 'true',
  75. 'CppExceptions' : 'false',
  76. 'DisableSpecificWarnings' : '68,112,129,186,369,613,1614,1773,1778,1786',
  77. 'MultiProcessorCompilation' : 'true',
  78. 'ProcessorNumber' : '$(NUMBER_OF_PROCESSORS)',
  79. },
  80. },
  81. }, # target_defaults
  82. }