Files
gerrit/lib/nongoogle_test.sh
Marco Miller c2dcef203b Merge branch 'stable-3.0' into stable-3.1
* stable-3.0:
  IntBlob: Add debug log when storing value on ref
  RepoSequence: Add debug log when acquiring new sequence batch
  Bazel: Remove version suffix from servlet-api-3_1 rule
  Update no-new-changes error doc
  Ignore WIP changes in "CCed on" dashboard section
  Sequences: Introduce constants for configuration keys/values
  RepoSequence: Add debug log of batch size
  Move Flogger to nongoogle.bzl
  DefaultRefFilter#canSeeSingleChangeRef: Do not fail for invalid change refs
  Upgrade testcontainers to 1.14.3
  Add missing documentation of notedb.changes.sequenceBatchSize

Change-Id: I9e135202b7f520a6267b9ad94c97ed58c8f67233
2020-06-04 13:53:46 -04:00

43 lines
656 B
Bash
Executable File

#!/bin/sh
# This test ensures that new dependencies in nongoogle.bzl go through LC review.
set -eux
bzl=$(pwd)/tools/nongoogle.bzl
TMP=$(mktemp -d || mktemp -d -t /tmp/tmp.XXXXXX)
grep 'name = "[^"]*"' ${bzl} | sed 's|^[^"]*"||g;s|".*$||g' | sort > $TMP/names
cat << EOF > $TMP/want
cglib-3_2
dropwizard-core
duct-tape
eddsa
elasticsearch-rest-client
flogger
flogger-log4j-backend
flogger-system-backend
httpasyncclient
httpcore-nio
j2objc
jackson-core
jna
jruby
mina-core
nekohtml
objenesis
openid-consumer
sshd
sshd-common
sshd-mina
testcontainers
testcontainers-elasticsearch
tukaani-xz
visible-assertions
xerces
EOF
diff -u $TMP/names $TMP/want