aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/binding.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/binding.gyp')
-rw-r--r--src/node/binding.gyp46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/node/binding.gyp b/src/node/binding.gyp
new file mode 100644
index 0000000000..4a1fd7aaf0
--- /dev/null
+++ b/src/node/binding.gyp
@@ -0,0 +1,46 @@
+{
+ "targets" : [
+ {
+ 'include_dirs': [
+ "<!(node -e \"require('nan')\")"
+ ],
+ 'cxxflags': [
+ '-Wall',
+ '-pthread',
+ '-pedantic',
+ '-g',
+ '-zdefs'
+ '-Werror',
+ ],
+ 'ldflags': [
+ '-g',
+ '-L/usr/local/google/home/mlumish/grpc_dev/lib'
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-lgrpc',
+ '-levent',
+ '-levent_pthreads',
+ '-levent_core',
+ '-lrt',
+ '-lgpr',
+ '-lpthread'
+ ],
+ },
+ "target_name": "grpc",
+ "sources": [
+ "byte_buffer.cc",
+ "call.cc",
+ "channel.cc",
+ "completion_queue_async_worker.cc",
+ "credentials.cc",
+ "event.cc",
+ "node_grpc.cc",
+ "server.cc",
+ "server_credentials.cc",
+ "tag.cc",
+ "timeval.cc"
+ ]
+ }
+ ]
+}