diff options
author | David Newgas <dnewgas@google.com> | 2018-03-05 02:23:11 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-05 02:25:18 -0800 |
commit | dcb3e86fee4f025fb5653e994ba975383e582baf (patch) | |
tree | 71aa1f715f7b2b0cb70fceb0bcb3f6c221dac157 /site/docs/external.md | |
parent | 700bc13e4e63c643d2df715994a7d331e4deefba (diff) |
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
Diffstat (limited to 'site/docs/external.md')
-rw-r--r-- | site/docs/external.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/docs/external.md b/site/docs/external.md index 652e72de32..180011eea2 100644 --- a/site/docs/external.md +++ b/site/docs/external.md @@ -107,7 +107,7 @@ new_local_repository( example: ```python -java_library( +cc_library( name = "some-lib", srcs = glob(["**"]), visibility = ["//visibility:public"], |