Replace hyphens with underscores in directories to increase
compatibility with other build systems.
Requires: 45700, 45701
Change-Id: I74a88532b8d660ca2e133a6667e70261cf1c9190
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/45640
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Rob Mohr <mohrr@google.com>
For compatibility with Python packaging, each pw_protobuf_library target
must have a unique root directory for its protos. If this is violated,
the setup.py for the Python package is generated multiple times,
resulting in flaky builds.
This change ensures that no two pw_proto_library targets generate the
same Python package and fixes existing conflicts in the Pigweed repo.
Change-Id: Icbc13ceeb2fd329bc4fbf1e14ec039e98dc7e483
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/31740
Reviewed-by: Alexei Frolov <frolv@google.com>
- Update labels so they use consistent naming. Instead of the
copy-and-pasted `chapter` prefix, name labels with a prefix consistent
with what they point to:
- "module-" for module
- "target-" for targets
- "docs-" for general documentation
- Remove the unnecessary highlight and default-domain directives.
Neither is necessary since the Pigweed docs always specify the
language in code snippets and other directives.
Change-Id: I55c34e9ec919f6f4670e5d3d008e0edf5fecf05b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/19328
Commit-Queue: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
This updates the GN build system's documentation to more generally
describe how to configure a Pigweed project using GN, instead of
specifically explaining the upstream build structure.
Change-Id: Ic3d9423a34400ccfd57da8f642ced7721fe835e4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/17402
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Updates pw_target_runner (and other) docs to reflect the name change
from pw_test_server to pw_target_runner.
Change-Id: Iffa81088b81a1b83c285949c73fbf93e23f478a3
This change renames the pw_test_server module to pw_target_runner and
integrates it into the GN build using the new Go templates. The module
is updated to match the GOPATH structure under its go/ directory, and
its protos are moved into the module protos directory. Additionally,
the simple server and client are split into two separate programs
instead of combining them into one.
Change-Id: I44adeca0989dc7e15cb1a169a6ce183139dde2ce