manx.gyp 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. 'includes' : [
  3. '../common_orbis.gypi',
  4. ],
  5. 'variables' : {
  6. },
  7. 'target_defaults' : {
  8. 'msvs_configuration_attributes' : {
  9. 'OutputDirectory' : '$(SolutionDir)\\dist\\$(PlatformName)_$(ConfigurationName)',
  10. 'IntermediateDirectory' : '$(PlatformName)_$(ConfigurationName)\\$(ProjectName)',
  11. },
  12. 'configurations': {
  13. 'Debug' : {
  14. 'defines' : [ '_DEBUG' ] ,
  15. 'msvs_configuration_platform' : 'ORBIS',
  16. },
  17. 'Release' : {
  18. 'defines' : [ 'NDEBUG' ] ,
  19. 'msvs_configuration_platform' : 'ORBIS',
  20. 'msbuild_settings' : {
  21. 'ClCompile' : {
  22. 'OptimizationLevel' : 'Level2',
  23. },
  24. },
  25. },
  26. },
  27. 'product_prefix': 'lib',
  28. 'product_extension': 'a',
  29. 'defines' : [
  30. 'WTF_PLATFORM_MANX=1',
  31. '<@(feature_defines)',
  32. ], # defines
  33. 'include_dirs': [
  34. '../../../Source',
  35. '../../../../ANGLE/include',
  36. '../../../../dist/include',
  37. '../../../../dist/include/webkit-1.0',
  38. '../../../../libJITbridge/dist/include',
  39. '../../../../libmanx/dist/include',
  40. '../../../../libntf/dist/include',
  41. '../../../../orbis/dist/include',
  42. '../../../../orbis/dist/include/cairo',
  43. '../../../../orbis/dist/include/curl',
  44. '../../../../orbis/dist/include/freetype2',
  45. '../../../../orbis/dist/include/harfbuzz',
  46. '../../../../orbis/dist/include/libpng15',
  47. '../../../../orbis/dist/include/libxml2',
  48. '../../../../orbis/dist/include/orbis-compat',
  49. '$(SCE_ORBIS_SDK_DIR)/../orbis_psm/pss_platform_cache/include',
  50. '$(SCE_ORBIS_SDK_DIR)/../internal/include'
  51. ],
  52. 'msbuild_settings' : {
  53. 'ClCompile' : {
  54. 'AdditionalOptions' : ['-Wno-c++11-narrowing',
  55. '-Wno-unused-private-field',
  56. '-Wno-mismatched-tags',
  57. '-Wno-overloaded-virtual',
  58. '-fPIC',
  59. '-fvisibility=hidden',
  60. '-fstack-protector-strong'],
  61. 'GenerateDebugInformation' : 'true',
  62. 'WarningsAsErrors' : 'true',
  63. 'MultiProcessorCompilation' : 'true',
  64. },
  65. },
  66. 'msbuild_props': [
  67. '$(ProjectDir)ManxOrbisCommon.props'
  68. ],
  69. },
  70. }