Fix stray absl string_view dependency.
We're only using std::string_view
diff --git a/.github/bin/check-potential-problems.sh b/.github/bin/check-potential-problems.sh
index cda2352..c7d9f97 100755
--- a/.github/bin/check-potential-problems.sh
+++ b/.github/bin/check-potential-problems.sh
@@ -21,8 +21,15 @@
# absl has a string_view but there is also std::string_view.
# Use the std::string_view throughout.
-find verible -name "*.h" -o -name "*.cc" | \
- xargs grep -n "absl::string_view"
+find verible -name "*.h" -o -name "*.cc" | xargs grep -n "absl::string_view"
+if [ $? -eq 0 ]; then
+ echo "::error:: use std::string_view instead of absl::string_view"
+ echo
+ EXIT_CODE=1
+fi
+
+# ... same for absl string_view dependency.
+find verible -name BUILD | xargs grep -n absl/strings:string_view
if [ $? -eq 0 ]; then
echo "::error:: use std::string_view instead of absl::string_view"
echo
diff --git a/verible/common/util/BUILD b/verible/common/util/BUILD
index d02d94b..37f4ff8 100644
--- a/verible/common/util/BUILD
+++ b/verible/common/util/BUILD
@@ -665,7 +665,6 @@
hdrs = ["simple-zip.h"],
deps = [
"//third_party/portable_endian",
- "@abseil-cpp//absl/strings:string_view",
"@zlib",
],
)