blob: bbe32f499dee1e4f3cf3635a796d25ec9c8d32de [file] [log] [blame]
Nicolas "Pixel" Noble9f728642015-03-24 18:50:30 +01001#!/bin/sh
2
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003# Copyright 2015 gRPC authors.
Nicolas "Pixel" Noble9f728642015-03-24 18:50:30 +01004#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005# 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
Nicolas "Pixel" Noble9f728642015-03-24 18:50:30 +01008#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009# http://www.apache.org/licenses/LICENSE-2.0
Nicolas "Pixel" Noble9f728642015-03-24 18:50:30 +010010#
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011# 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.
Nicolas "Pixel" Noble9f728642015-03-24 18:50:30 +010016
17
18set -e
19
20export TEST=true
21
Mehrdad Afsharife3ca482017-12-19 09:16:26 -080022cd "$(dirname "$0")/../../.."
Nicolas "Pixel" Noble9f728642015-03-24 18:50:30 +010023
Mehrdad Afsharife3ca482017-12-19 09:16:26 -080024submodules=$(mktemp /tmp/submXXXXXX)
25want_submodules=$(mktemp /tmp/submXXXXXX)
Nicolas "Pixel" Noble261e5152015-05-04 08:10:12 +020026
Mehrdad Afsharife3ca482017-12-19 09:16:26 -080027git submodule | awk '{ print $1 }' | sort > "$submodules"
28cat << EOF | awk '{ print $1 }' | sort > "$want_submodules"
Ken Payson667aa2b2017-10-27 14:33:17 -070029 5b7683f49e1e9223cf9927b24f6fd3d6bd82e3f8 third_party/benchmark (v1.2.0)
Matt Kwonga110c742017-09-22 14:31:22 -070030 4d7ba4e4e57195fcebdabe01489534b446ad02cb third_party/boringssl (heads/chromium-stable)
Nicolas "Pixel" Noble17dfaf12017-01-05 01:05:30 +010031 886e7d75368e3f4fab3f4d0d3584e4abfc557755 third_party/boringssl-with-bazel (version_for_cocoapods_7.0-857-g886e7d7)
David Garcia Quintase9932d42017-02-17 16:44:30 -080032 30dbc81fb5ffdc98ea9b14b1918bfe4e8779b26e third_party/gflags (v2.2.0)
Ken Payson975b5102017-03-30 17:38:40 -070033 ec44c6c1675c25b9827aacd08c02433cccde7780 third_party/googletest (release-1.8.0)
Mehrdad Afshari28661ea2017-11-22 13:28:38 -080034 2761122b810fe8861004ae785cc3ab39f384d342 third_party/protobuf (v3.5.0)
Craig Tiller989aa7f2017-04-19 15:46:43 -070035 cacf7f1d4e3d44d871b605da3b647f07d718623f third_party/zlib (v1.2.11)
Jan Tattermuschb0f180a2017-08-25 08:56:35 +020036 3be1924221e1326df520f8498d704a5c4c8d0cce third_party/cares/cares (cares-1_13_0)
Craig Tiller92a38052017-10-04 10:49:20 -070037 73594cde8c9a52a102c4341c244c833aa61b9c06 third_party/bloaty
Craig Tillerf4db2ea2017-10-11 09:38:08 -070038 cc4bed2d74f7c8717e31f9579214ab52a9c9c610 third_party/abseil-cpp
Nicolas "Pixel" Noble261e5152015-05-04 08:10:12 +020039EOF
Nicolas "Pixel" Noble70787572015-08-04 00:24:19 +020040
Mehrdad Afsharife3ca482017-12-19 09:16:26 -080041diff -u "$submodules" "$want_submodules"
Craig Tiller62775692015-09-01 07:08:01 -070042
Mehrdad Afsharife3ca482017-12-19 09:16:26 -080043rm "$submodules" "$want_submodules"