binding.gyp 782 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "targets" : [
  3. {
  4. 'include_dirs': [
  5. "<!(node -e \"require('nan')\")"
  6. ],
  7. 'cflags': [
  8. '-std=c++0x',
  9. '-Wall',
  10. '-pthread',
  11. '-pedantic',
  12. '-g',
  13. '-zdefs'
  14. '-Werror'
  15. ],
  16. 'ldflags': [
  17. '-g'
  18. ],
  19. 'link_settings': {
  20. 'libraries': [
  21. '-lrt',
  22. '-lpthread',
  23. '-lgrpc',
  24. '-lgpr'
  25. ],
  26. },
  27. "target_name": "grpc",
  28. "sources": [
  29. "ext/byte_buffer.cc",
  30. "ext/call.cc",
  31. "ext/channel.cc",
  32. "ext/completion_queue_async_worker.cc",
  33. "ext/credentials.cc",
  34. "ext/node_grpc.cc",
  35. "ext/server.cc",
  36. "ext/server_credentials.cc",
  37. "ext/timeval.cc"
  38. ]
  39. }
  40. ]
  41. }