Skip to content

Commit

Permalink
RPC: Fix RPC console install
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
Rob Oliver committed Aug 11, 2022
1 parent a58afc5 commit b52d11d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,17 @@ 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 +136,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 b52d11d

Please sign in to comment.