Skip to content

Commit 07d6fd7

Browse files
authored
doc: use correct path in codegen command (#14487)
* doc: use correct path in codegen command * one more correction
1 parent 695f254 commit 07d6fd7

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

doc/contributor/howto-guide-adding-generated-libraries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ and add the new service.
9191
Find the list of `.proto` files that will need to be included:
9292

9393
```shell
94-
find "${bazel_output_base}/external/com_google_googleapis/${subdir}" -name '*.proto' -print0 |
94+
find "${bazel_output_base}/external/googleapis~/${subdir}" -name '*.proto' -print0 |
9595
xargs -0 grep -l '^service'
9696
```
9797

@@ -145,8 +145,8 @@ Then run the micro-generator to create the scaffold and the C++ sources:
145145
```shell
146146
bazel run \
147147
//generator:google-cloud-cpp-codegen -- \
148-
--protobuf_proto_path="${bazel_output_base}"/external/com_google_protobuf/src \
149-
--googleapis_proto_path="${bazel_output_base}"/external/com_google_googleapis \
148+
--protobuf_proto_path="${bazel_output_base}"/external/protobuf~/src \
149+
--googleapis_proto_path="${bazel_output_base}"/external/googleapis~ \
150150
--discovery_proto_path="${PWD}/protos" \
151151
--output_path="${PWD}" \
152152
--config_file="${PWD}/generator/generator_config.textproto" \

generator/integration_tests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ output in unexpected ways. If you need to update these files, use this command:
77
bazel_output_base="$(bazel info output_base)"
88
bazel run \
99
//generator:google-cloud-cpp-codegen -- \
10-
--protobuf_proto_path="${bazel_output_base}/external/com_google_protobuf/src" \
11-
--googleapis_proto_path="${bazel_output_base}/external/com_google_googleapis" \
10+
--protobuf_proto_path="${bazel_output_base}/external/protobuf~/src" \
11+
--googleapis_proto_path="${bazel_output_base}/external/googleapis~" \
1212
--golden_proto_path="${PWD}" \
1313
--output_path="${PWD}" \
1414
--update_ci=false \

0 commit comments

Comments
 (0)