From d91b739cb528cfce4d3423a765d8bce14c3c1624 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 2 Nov 2017 22:57:10 +0100 Subject: [PATCH] Adding support for abseil. --- packages/grpc-native-core/binding.gyp | 3 ++- packages/grpc-native-core/package.json | 1 + packages/grpc-native-core/templates/binding.gyp.template | 3 ++- packages/grpc-native-core/templates/package.json.template | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/grpc-native-core/binding.gyp b/packages/grpc-native-core/binding.gyp index 1a7bc1e3..c8609a96 100644 --- a/packages/grpc-native-core/binding.gyp +++ b/packages/grpc-native-core/binding.gyp @@ -77,7 +77,8 @@ ], 'include_dirs': [ 'deps/grpc', - 'deps/grpc/include' + 'deps/grpc/include', + 'deps/grpc/third_party/abseil-cpp' ], 'defines': [ 'GPR_BACKWARDS_COMPATIBILITY_MODE', diff --git a/packages/grpc-native-core/package.json b/packages/grpc-native-core/package.json index 0fb74596..435b6ecd 100644 --- a/packages/grpc-native-core/package.json +++ b/packages/grpc-native-core/package.json @@ -63,6 +63,7 @@ "deps/grpc/third_party/boringssl/crypto/**/*.{c,h}", "deps/grpc/third_party/boringssl/include/**/*.{c,h}", "deps/grpc/third_party/boringssl/ssl/**/*.{c,h}", + "deps/grpc/third_party/abseil-cpp/absl/**/*.{h,hh}", "binding.gyp" ], "main": "index.js", diff --git a/packages/grpc-native-core/templates/binding.gyp.template b/packages/grpc-native-core/templates/binding.gyp.template index 19f88683..6e71f28c 100644 --- a/packages/grpc-native-core/templates/binding.gyp.template +++ b/packages/grpc-native-core/templates/binding.gyp.template @@ -74,7 +74,8 @@ ], 'include_dirs': [ 'deps/grpc', - 'deps/grpc/include' + 'deps/grpc/include', + 'deps/grpc/third_party/abseil-cpp' ], 'defines': [ 'GPR_BACKWARDS_COMPATIBILITY_MODE', diff --git a/packages/grpc-native-core/templates/package.json.template b/packages/grpc-native-core/templates/package.json.template index 4a119737..1be03607 100644 --- a/packages/grpc-native-core/templates/package.json.template +++ b/packages/grpc-native-core/templates/package.json.template @@ -65,6 +65,7 @@ "deps/grpc/third_party/boringssl/crypto/**/*.{c,h}", "deps/grpc/third_party/boringssl/include/**/*.{c,h}", "deps/grpc/third_party/boringssl/ssl/**/*.{c,h}", + "deps/grpc/third_party/abseil-cpp/absl/**/*.{h,hh}", "binding.gyp" ], "main": "index.js",