Make the Apple Skylark rule be able to fetch environment data from the xcode_config rule in addition to ctx.fragments.apple .
Make the Apple Skylark rule be able to fetch environment data from the
xcode_config rule in addition to ctx.fragments.apple .

Subsequent Bazel versions won't support these methods on ctx.fragments.apple
and thus need to be updated.

Progress towards https://github.com/bazelbuild/bazel/issues/3424 .

RELNOTES: None.
PiperOrigin-RevId: 171021097

bazelbuild/bazel,werkt/bazel,snnn/bazel,aehlig/bazel,damienmg/bazel,damienmg/bazel,davidzchen/bazel,dropbox/bazel,bazelbuild/bazel,ulfjack/bazel,katre/bazel,ulfjack/bazel,cushon/bazel,dropbox/bazel,dslomov/bazel,werkt/bazel,akira-baruah/bazel,dslomov/bazel,ulfjack/bazel,ButterflyNetwork/bazel,dslomov/bazel,aehlig/bazel,bazelbuild/bazel,twitter-forks/bazel,perezd/bazel,perezd/bazel,cushon/bazel,dslomov/bazel-windows,snnn/bazel,damienmg/bazel,katre/bazel,meteorcloudy/bazel,cushon/bazel,aehlig/bazel,snnn/bazel,katre/bazel,cushon/bazel,ButterflyNetwork/bazel,davidzchen/bazel,davidzchen/bazel,spxtr/bazel,safarmer/bazel,safarmer/bazel,dslomov/bazel-windows,meteorcloudy/bazel,dslomov/bazel,meteorcloudy/bazel,damienmg/bazel,dslomov/bazel,dropbox/bazel,damienmg/bazel,davidzchen/bazel,aehlig/bazel,ulfjack/bazel,akira-baruah/bazel,davidzchen/bazel,damienmg/bazel,twitter-forks/bazel,perezd/bazel,aehlig/bazel,spxtr/bazel,snnn/bazel,ButterflyNetwork/bazel,meteorcloudy/bazel,safarmer/bazel,dslomov/bazel,ulfjack/bazel,werkt/bazel,spxtr/bazel,werkt/bazel,spxtr/bazel,aehlig/bazel,akira-baruah/bazel,snnn/bazel,spxtr/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,perezd/bazel,davidzchen/bazel,bazelbuild/bazel,katre/bazel,meteorcloudy/bazel,akira-baruah/bazel,bazelbuild/bazel,cushon/bazel,meteorcloudy/bazel,twitter-forks/bazel,snnn/bazel,akira-baruah/bazel,ulfjack/bazel,dropbox/bazel,ulfjack/bazel,dropbox/bazel,meteorcloudy/bazel,werkt/bazel,twitter-forks/bazel,snnn/bazel,dslomov/bazel,cushon/bazel,safarmer/bazel,dslomov/bazel-windows,spxtr/bazel,katre/bazel,aehlig/bazel,bazelbuild/bazel,damienmg/bazel,werkt/bazel,perezd/bazel,katre/bazel,perezd/bazel,spxtr/bazel,ButterflyNetwork/bazel,ButterflyNetwork/bazel,safarmer/bazel,dslomov/bazel-windows,dropbox/bazel,perezd/bazel,akira-baruah/bazel,safarmer/bazel,twitter-forks/bazel,twitter-forks/bazel,davidzchen/bazel,dslomov/bazel-windows,dslomov/bazel-windows