manx.gyp 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. 'includes' : [
  3. '../common_win.gypi',
  4. ],
  5. 'variables' : {
  6. },
  7. 'target_defaults' : {
  8. 'configurations': {
  9. 'Debug' : {
  10. 'defines' : [ '_DEBUG' ] ,
  11. 'msvs_settings': {
  12. 'VCCLCompilerTool': {
  13. 'RuntimeLibrary': '3',
  14. },
  15. },
  16. },
  17. 'Release' : {
  18. 'defines' : [ 'NDEBUG' ] ,
  19. 'msvs_settings': {
  20. 'VCCLCompilerTool': {
  21. 'RuntimeLibrary': '2',
  22. },
  23. },
  24. },
  25. },
  26. 'msvs_configuration_attributes' : {
  27. 'OutputDirectory' : '$(SolutionDir)\\dist\\$(PlatformName)_$(ConfigurationName)',
  28. 'IntermediateDirectory' : '$(PlatformName)_$(ConfigurationName)\\$(ProjectName)',
  29. 'CharacterSet': "1",
  30. },
  31. 'msvs_settings': {
  32. 'VCCLCompilerTool': {
  33. 'ExceptionHandling': '0',
  34. 'DebugInformationFormat' : '3',
  35. },
  36. 'VCLinkerTool': {
  37. 'AdditionalLibraryDirectories' : [
  38. '$(OutDir)',
  39. '$(SolutionDir)\\win\\dist\\lib',
  40. '$(SolutionDir)\\libmanx\\dist\\lib\\$(Platform)_$(Configuration)',
  41. ],
  42. 'GenerateDebugInformation' : 'true',
  43. },
  44. },
  45. 'product_dir' : '$(OutDir)',
  46. 'defines' : [
  47. 'JS_NO_EXPORT=1',
  48. 'WIN32',
  49. '_WINDOWS',
  50. 'WTF_PLATFORM_MANX=1',
  51. 'WTF_USE_ICU_UNICODE=1',
  52. 'WTF_USE_JSVALUE32_64=1',
  53. 'CAIRO_HAS_FC_FONT=0',
  54. 'HAVE_INTTYPES_H=1',
  55. 'HAVE_MEMORY_H=1',
  56. 'HAVE_STDBOOL_H=1',
  57. 'HAVE_STDINT_H=1',
  58. 'HAVE_STDLIB_H=1',
  59. 'HAVE_STRING_H=1',
  60. 'HAVE_SYS_STAT_H=1',
  61. 'HAVE_SYS_TYPES_H=1',
  62. 'HAVE__BOOL=1',
  63. 'STDC_HEADERS=1',
  64. '<@(feature_defines)',
  65. ], # defines
  66. 'include_dirs': [
  67. '../../..',
  68. '../../../../win/dist/include/cairo',
  69. '../../../../win/dist/include/curl',
  70. '../../../../win/dist/include/freetype2',
  71. '../../../../win/dist/include/libpng15',
  72. '../../../../win/dist/include/libxml2',
  73. '../../../../win/dist/include/win-compat',
  74. '../../../../dist/include/webkit-1.0',
  75. '../../../../win/dist/include',
  76. '../../../../dist/include',
  77. '../../../../libmanx/dist/include',
  78. '../../../../libJITbridge/dist/include',
  79. '../../../Source/JavaScriptCore/os-win32',
  80. ],
  81. 'msvs_disabled_warnings': [
  82. 4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099,
  83. ],
  84. 'msbuild_settings' : {
  85. 'ClCompile' : {
  86. 'MultiProcessorCompilation' : 'true',
  87. },
  88. },
  89. }, # target_defaults
  90. }