protobuf/update_file_lists.sh
David L. Jones dc14b4be42
Change update_file_lists.sh to work based on Bazel-generated file lists (#10091)
This commit changes update_file_lists.sh to use Bazel as the source of truth. Currently, only the cmake build is actually affected, but Automake should be fairly straightforward to convert.

The file lists were originally factored out in PR#10027. This commit actually switches over to the Bazel-generated lists.
2022-06-01 18:23:05 -07:00

9 lines
188 B
Bash
Executable File

#!/bin/bash -u
# This script generates file lists from Bazel, e.g., for cmake.
set -e
bazel build //pkg:gen_src_file_lists
cp -v bazel-bin/pkg/src_file_lists.cmake src/file_lists.cmake