diff options
Diffstat (limited to 'build.py')
-rwxr-xr-x | build.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -268,6 +268,10 @@ class HostBuild(): self.custom_env['CXX_ROOT_PATH'] = os.path.join(self.platform_dir, 'bt') self.custom_env['CROS_SYSTEM_API_ROOT'] = os.path.join(self.platform_dir, 'system_api') self.custom_env['CXX_OUTDIR'] = self._gn_default_output() + + # On ChromeOS, this is /usr/bin/grpc_rust_plugin + # In the container, this is /root/.cargo/bin/grpc_rust_plugin + self.custom_env['GRPC_RUST_PLUGIN_PATH'] = shutil.which('grpc_rust_plugin') self.env.update(self.custom_env) def print_env(self): |