Skip to content

Commit f2ba101

Browse files
authored
build: extract temporal_capi crate directory name into gyp variable
This is a no-op for current builds, but will allow the crate updater in node-core-utils to update the include path with the new crate location, as the crate directory names will include a version string. Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #64482 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 39ed68c commit f2ba101

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

deps/crates/crates.gyp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'variables': {
33
'cargo%': 'cargo',
44
'cargo_vendor_dir': './vendor',
5+
'temporal_capi_dir': 'temporal_capi',
56
'cargo_rust_target%': '',
67
},
78
'conditions': [
@@ -120,7 +121,7 @@
120121
],
121122
'direct_dependent_settings': {
122123
'include_dirs': [
123-
'<(cargo_vendor_dir)/temporal_capi/bindings/cpp',
124+
'<(cargo_vendor_dir)/<(temporal_capi_dir)/bindings/cpp',
124125
],
125126
},
126127
},

0 commit comments

Comments
 (0)