blob: 3d79b631856be3d881927f8d1832388d228dabb4 [file] [log] [blame]
#!/bin/bash -e
#
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# proto_path is set to the project root, so all protos must be specified as
# src/third_party/chromiumos-overlay/...
protos=(
audio_config.proto
brand_config.proto
build_payload.proto
build_target.proto
build_target_id.proto
design_config_build_payload.proto
firmware_config.proto
)
for proto in "${protos[@]}"; do
protoc -I../../../.. "src/third_party/chromiumos-overlay/proto/${proto}" \
--python_out=proto_bindings
done