commit | c516ea295a84468f384e664ce3b870c46230615e | [log] [tgz] |
---|---|---|
author | plf <plf@google.com> | Fri Nov 05 05:32:05 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Nov 05 05:33:21 2021 -0700 |
tree | f12a2d222cd3bd2162e2c79727fff20b4f679037 | |
parent | 77a002cce050e861fcc87c89acf7768aa5c97124 [diff] |
Advertise CcInfo providers for Bazel cc_library rule RELNOTES:none PiperOrigin-RevId: 407799825
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCcLibraryRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCcLibraryRule.java index a7c68e2..a26da04 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCcLibraryRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCcLibraryRule.java
@@ -63,6 +63,7 @@ attr("implementation_deps", LABEL_LIST) .allowedFileTypes(FileTypeSet.NO_FILE) .mandatoryProviders(CcInfo.PROVIDER.id())) + .advertiseStarlarkProvider(CcInfo.PROVIDER.id()) .build(); }