     /// Parsing an aspect's output failed with the given debug info.
     case ParsingFailed(String)
   }
+
+  /// Prefix to be used by Bazel for the output of the Tulsi aspect.
+  private static let SymlinkPrefix = "tulsigen-"
+  /// Suffixes used by Bazel when creating output symlinks.
+  private static let BazelOutputSymlinks = [
+      "bin", "genfiles", "out", "testlogs"].map({ SymlinkPrefix + $0 })
 
   /// The location of the bazel binary.
   var bazelURL: NSURL

                               stderr)

        let artifacts = BazelAspectInfoExtractor.extractBuildArtifactsFromOutput(stderr)
        terminationHandler(bazelTask: completionInfo.task,
                           generatedArtifacts: artifacts,
                           debugInfo: debugInfo)

    arguments.appendContentsOf([
        "build",
        "--symlink_prefix",  // Generate artifacts without overwriting the normal build symlinks.
        BazelAspectInfoExtractor.SymlinkPrefix,
        "--announce_rc",  // Print the RC files used by this operation.
        "--nocheck_visibility",  // Don't do package visibility enforcement during aspect runs.
        "--show_result=0",  // Don't bother printing the build results.
