anchor.diff:        printComponentText(outline, libraryFilter: kernelTarget.isSourceLibrary);
       }
       if (output != null) {
  +      if (omitPlatform) {
  +        outline.computeCanonicalNames();
  +        Component userCode = new Component(
  +            nameRoot: outline.root,
  +            uriToSource: new Map<Uri, Source>.from(outline.uriToSource));
  +        userCode.setMainMethodAndMode(
  +            outline.mainMethodName, true, outline.mode);
  +        for (Library library in outline.libraries) {
  +          if (library.importUri.scheme != "dart") {
  +            userCode.libraries.add(library);
  +          }
  +        }
  +        outline = userCode;
  +      }
  +
         await writeComponentToFile(outline, output);
         ticker.logMs("Wrote outline to ${output.toFilePath()}");
       }
  
positive.code:       }
        CompileTask task =
            new CompileTask(c, new Ticker(isVerbose: c.options.verbose));
        return await task.buildOutline(output: c.options.output);
      });
    });
  }
  
negative.code:   }
  
    Future<KernelTarget> buildOutline(
        {Uri output,
        bool omitPlatform: false,
        bool supportAdditionalDills: true}) async {
      UriTranslator uriTranslator = await c.options.getUriTranslator();
      ticker.logMs("Read packages file");
      DillTarget dillTarget = createDillTarget(uriTranslator);
  