diff options
author | 2018-03-28 02:40:01 -0700 | |
---|---|---|
committer | 2018-03-28 02:40:59 -0700 | |
commit | 9462b61ce2d87886542aae01fdb7058b9642ac18 (patch) | |
tree | 5957542657dc3e283702a5ce4f5b99fdd68ca53b /src/main/java/com/google/devtools/build | |
parent | 73088a8a010232ae540080eacb78153612c1ce93 (diff) |
Remove stale cc_library nonconfigurables
Specifications of cc_library attribute nonconfigurability for linkstatic
and alwayslink were introduced in d08b27f and have been stale since the
ImplicitOutputsFunction specification was removed in 8a995b4. These
attributes should have no problem interpreting configured specifications
for their values.
Closes #4917.
PiperOrigin-RevId: 190743836
Diffstat (limited to 'src/main/java/com/google/devtools/build')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCcLibraryRule.java | 9 |
1 files changed, 2 insertions, 7 deletions
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 95906c5282..ec372b58b0 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 @@ -42,13 +42,8 @@ public final class BazelCcLibraryRule implements RuleDefinition { the binary, e.g., if your code registers to receive some callback provided by some service. <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ - .add( - attr("alwayslink", BOOLEAN) - .nonconfigurable("value is referenced in an ImplicitOutputsFunction")) - .override( - attr("linkstatic", BOOLEAN) - .value(false) - .nonconfigurable("value is referenced in an ImplicitOutputsFunction")) + .add(attr("alwayslink", BOOLEAN)) + .override(attr("linkstatic", BOOLEAN).value(false)) .build(); } |