Allow setting needsPic crosstool capability using feature

`needsPic` can now be expressed using 'pic' feature (should be enabled for it to take effect).

This cl is a step towards https://github.com/bazelbuild/bazel/issues/5883. Also
see the rollout doc here:
https://docs.google.com/document/d/1uv4c1zag6KvdI31qdx8C6jiTognXPQrxgsUpVefm9fM/edit#.

Flag removing legacy behavior is https://github.com/bazelbuild/bazel/issues/6861

RELNOTES: None.
PiperOrigin-RevId: 227134726
1 file changed
tree: 2b38573c908bf9c8f5735c9a94998347e9be6f38
  1. third_party/
  2. tools/
  3. BUILD
  4. LICENSE