Stop using TreeArtifacts
Stop using TreeArtifacts

ctx.actions.declare_directory doesn't create the directory for us, and
the JDK 8 javac won't create the output directory if it doesn't already
exist.

Fixes https://github.com/bazelbuild/bazel/issues/6203

PiperOrigin-RevId: 214229700

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