JSSourceFile[] multiple = { JSSourceFile.fromCode(fileName1, js1),
JSSourceFile.fromCode(fileName2, js2) };
inputs = multiple;
}
Result result = compiler.compile(EXTERNS, inputs, options);
assertTrue("compilation failed", result.success);
String source = compiler.toSource();
StringBuilder sb = new StringBuilder();