From 26ee04fefb7b98b1f262370705bf6382fb07807f Mon Sep 17 00:00:00 2001 From: rgoliver Date: Mon, 15 Aug 2022 09:16:15 -0400 Subject: [PATCH] RPC: Fix RPC console install (#21837) Was not properly including the proto files, fix to have them included. --- BUILD.gn | 6 +++++- examples/common/pigweed/rpc_console/BUILD.gn | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 30e24a76cc01cf..a233ab272621c7 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -116,10 +116,15 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") { source_packages = _matter_python_packages + _pigweed_python_packages } + pw_internal_pip_install("pip_install_matter_packages") { + packages = [ "//examples/common/pigweed/rpc_console:chip_rpc_distribution" ] + } + # Python packages installed during bootstrap. pw_python_group("python_packages") { python_deps = [ ":pip_install_editable_matter_packages", + ":pip_install_matter_packages", "$dir_pw_env_setup:pip_install_pigweed_package", ] } @@ -129,7 +134,6 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") { packages = [ "//integrations/mobly:chip_mobly", "//examples/chef", - "//examples/common/pigweed/rpc_console/py:chip_rpc", ] editable = true } diff --git a/examples/common/pigweed/rpc_console/BUILD.gn b/examples/common/pigweed/rpc_console/BUILD.gn index fd62a9d131ca19..3a609b75e4484a 100644 --- a/examples/common/pigweed/rpc_console/BUILD.gn +++ b/examples/common/pigweed/rpc_console/BUILD.gn @@ -33,6 +33,7 @@ pw_create_python_source_tree("chip_rpc_distribution") { packages = [ "py:chip_rpc" ] generate_setup_cfg = { common_config_file = "common_setup.cfg" + append_date_to_version = true } extra_files = [ "py/pyproject.toml > pyproject.toml" ] }