1#!/bin/sh 2 3# Copyright 2015 gRPC authors. 4# 5# Licensed under the Apache License, Version 2.0 (the "License"); 6# you may not use this file except in compliance with the License. 7# You may obtain a copy of the License at 8# 9# http://www.apache.org/licenses/LICENSE-2.0 10# 11# Unless required by applicable law or agreed to in writing, software 12# distributed under the License is distributed on an "AS IS" BASIS, 13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14# See the License for the specific language governing permissions and 15# limitations under the License. 16 17set -e 18 19export TEST=true 20 21cd "$(dirname "$0")/../../.." 22 23submodules=$(mktemp /tmp/submXXXXXX) 24want_submodules=$(mktemp /tmp/submXXXXXX) 25 26git submodule | awk '{ print $2 " " $1 }' | sort >"$submodules" 27cat <<EOF | sort >"$want_submodules" 28third_party/abseil-cpp c2435f8342c2d0ed8101cb43adfd605fdc52dca2 29third_party/benchmark 361e8d1cfe0c6c36d30b39f1b61302ece5507320 30third_party/bloaty 60209eb1ccc34d5deefb002d1b7f37545204f7f2 31third_party/boringssl-with-bazel e46383fc18d08def901b2ed5a194295693e905c7 32third_party/cares/cares 6360e96b5cf8e5980c887ce58ef727e53d77243a 33third_party/envoy-api 68d4315167352ffac71f149a43b8088397d3f33d 34third_party/googleapis 2f9af297c84c55c8b871ba4495e01ade42476c92 35third_party/googletest 0e402173c97aea7a00749e825b194bfede4f2e45 36third_party/libuv 02a9e1be252b623ee032a3137c0b0c94afbe6809 37third_party/opencensus-proto 4aa53e15cbf1a47bc9087e6cfdca214c1eea4e89 38third_party/opentelemetry 60fa8754d890b5c55949a8c68dcfd7ab5c2395df 39third_party/protobuf 2dca62f7296e5b49d729f7384f975cecb38382a0 40third_party/re2 0c5616df9c0aaa44c9440d87422012423d91c7d1 41third_party/xds e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7 42third_party/zlib 04f42ceca40f73e2978b50e93806c2a18c1281fc 43EOF 44 45diff -u "$submodules" "$want_submodules" 46 47rm "$submodules" "$want_submodules" 48