cc_library for ext build rule example to fit '.so' The example for Depending on non-Bazel projects describes depending on a .so file. java_library builds .jar files, so is inconsistent.This PR switches the example to use cc_library, which actually builds a .so file so matches the description. Closes #4745. PiperOrigin-RevId: 187839898
diff --git a/site/docs/external.md b/site/docs/external.md index 652e72d..180011e 100644 --- a/site/docs/external.md +++ b/site/docs/external.md
@@ -107,7 +107,7 @@ example: ```python -java_library( +cc_library( name = "some-lib", srcs = glob(["**"]), visibility = ["//visibility:public"],