commit | c5c709dfe4ea6b80b7b957bbaa32d6cc8c352b07 | [log] [tgz] |
---|---|---|
author | Emma Vukelj <emmavukelj@google.com> | Wed Jun 05 19:04:03 2019 |
committer | Emma Vukelj <emmavukelj@google.com> | Wed Jun 05 23:40:37 2019 |
tree | 149673e56741132bb3411b4c73c42d026b9be54e | |
parent | 33b509f45582971c9712a1c33e2c1748d1d99589 [diff] |
Clang-Tidy: Fix nits to generating protobuf CL This CL fixes a few nits of the original CL. Mainly: - generate_protobufs() produces a generator rather than a list since we are only concerned with writing one protobuf at a time - writes serialized protobuffer length as binary data - raises an error if compiler output does not match expected format specified in code - adds a bash script to compile the protobuffer file Change-Id: I4ea580f3639b950b4b27f0343ab14e7a4aac5100 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1646193 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Emma Vukelj <emmavukelj@google.com>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.