diff --git a/packages/grpc-native-core/binding.gyp b/packages/grpc-native-core/binding.gyp index 06fcb76e..6dae2c5b 100644 --- a/packages/grpc-native-core/binding.gyp +++ b/packages/grpc-native-core/binding.gyp @@ -83,11 +83,14 @@ 'include_dirs': [ 'deps/grpc', 'deps/grpc/include', + 'deps/grpc/src/core/ext/upb-generated', + 'deps/grpc/third_party/abseil-cpp', 'deps/grpc/third_party/address_sorting/include', 'deps/grpc/third_party/cares', 'deps/grpc/third_party/cares/cares', - 'deps/grpc/third_party/abseil-cpp', 'deps/grpc/third_party/nanopb', + 'deps/grpc/third_party/upb', + 'deps/grpc/third_party/upb/generated_for_cmake', ], 'defines': [ 'PB_FIELD_32BIT', diff --git a/packages/grpc-native-core/package.json b/packages/grpc-native-core/package.json index 870f4056..ed360a39 100644 --- a/packages/grpc-native-core/package.json +++ b/packages/grpc-native-core/package.json @@ -68,13 +68,14 @@ "deps/grpc/include/grpc/**/*.h", "deps/grpc/src/core/**/*.{c,cc,h}", "deps/grpc/src/boringssl/err_data.c", - "deps/grpc/third_party/nanopb/*.{c,cc,h}", - "deps/grpc/third_party/zlib/**/*.{c,cc,h}", + "deps/grpc/third_party/abseil-cpp/absl/**/*.{h,hh}", "deps/grpc/third_party/boringssl/crypto/**/*.{c,cc,h}", "deps/grpc/third_party/boringssl/include/**/*.{c,cc,h}", "deps/grpc/third_party/boringssl/ssl/**/*.{c,cc,h}", "deps/grpc/third_party/boringssl/third_party/**/*.{c,h}", - "deps/grpc/third_party/abseil-cpp/absl/**/*.{h,hh}", + "deps/grpc/third_party/nanopb/*.{c,cc,h}", + "deps/grpc/third_party/upb/**/*.{c,h}", + "deps/grpc/third_party/zlib/**/*.{c,cc,h}", "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 8c145d4a..cdf1a1a0 100644 --- a/packages/grpc-native-core/templates/binding.gyp.template +++ b/packages/grpc-native-core/templates/binding.gyp.template @@ -75,11 +75,14 @@ 'include_dirs': [ 'deps/grpc', 'deps/grpc/include', + 'deps/grpc/src/core/ext/upb-generated', + 'deps/grpc/third_party/abseil-cpp', 'deps/grpc/third_party/address_sorting/include', 'deps/grpc/third_party/cares', 'deps/grpc/third_party/cares/cares', - 'deps/grpc/third_party/abseil-cpp', 'deps/grpc/third_party/nanopb', + 'deps/grpc/third_party/upb', + 'deps/grpc/third_party/upb/generated_for_cmake', ], 'defines': [ 'PB_FIELD_32BIT', diff --git a/packages/grpc-native-core/templates/package.json.template b/packages/grpc-native-core/templates/package.json.template index 9949797c..2d9bede7 100644 --- a/packages/grpc-native-core/templates/package.json.template +++ b/packages/grpc-native-core/templates/package.json.template @@ -70,13 +70,14 @@ "deps/grpc/include/grpc/**/*.h", "deps/grpc/src/core/**/*.{c,cc,h}", "deps/grpc/src/boringssl/err_data.c", - "deps/grpc/third_party/nanopb/*.{c,cc,h}", - "deps/grpc/third_party/zlib/**/*.{c,cc,h}", + "deps/grpc/third_party/abseil-cpp/absl/**/*.{h,hh}", "deps/grpc/third_party/boringssl/crypto/**/*.{c,cc,h}", "deps/grpc/third_party/boringssl/include/**/*.{c,cc,h}", "deps/grpc/third_party/boringssl/ssl/**/*.{c,cc,h}", "deps/grpc/third_party/boringssl/third_party/**/*.{c,h}", - "deps/grpc/third_party/abseil-cpp/absl/**/*.{h,hh}", + "deps/grpc/third_party/nanopb/*.{c,cc,h}", + "deps/grpc/third_party/upb/**/*.{c,h}", + "deps/grpc/third_party/zlib/**/*.{c,cc,h}", "binding.gyp" ], "main": "index.js",