Skip to content

Commit

Permalink
RPC: Fix RPC console install (project-chip#21837)
Browse files Browse the repository at this point in the history
Was not properly including the proto files, fix to have them
included.
  • Loading branch information
rgoliver authored and isiu-apple committed Sep 16, 2022
1 parent 9c31cca commit 26ee04f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
}
Expand All @@ -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
}
Expand Down
1 change: 1 addition & 0 deletions examples/common/pigweed/rpc_console/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
}
Expand Down

0 comments on commit 26ee04f

Please sign in to comment.