
@LinkerOrder(value=PRIMARY) @Shardable public class D8ScriptLinker extends SelectionScriptLinker
Note: This linker is considered experimental and is likely going to have breaking changes in future.
COMPUTE_SCRIPT_BASE_JS, FRAGMENT_EXTENSION, FRAGMENT_SUBDIR, permutationsUtil, PROCESS_METAS_JS, USE_SOURCE_MAPS_PROPERTY| Constructor and Description |
|---|
D8ScriptLinker() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Artifact<?>> |
doEmitCompilation(TreeLogger logger,
LinkerContext context,
CompilationResult result,
ArtifactSet artifacts) |
protected EmittedArtifact |
emitSelectionScript(TreeLogger logger,
LinkerContext context,
ArtifactSet artifacts) |
protected String |
getCompilationExtension(TreeLogger logger,
LinkerContext context)
Unimplemented.
|
String |
getDescription()
Returns a human-readable String describing the Linker.
|
protected String |
getModulePrefix(TreeLogger logger,
LinkerContext context,
String strongName)
Unimplemented.
|
protected String |
getModuleSuffix(TreeLogger logger,
LinkerContext context)
Unimplemented.
|
protected String |
getSelectionScriptTemplate(TreeLogger logger,
LinkerContext context) |
charsPerChunk, emitSelectionInformation, fillSelectionScriptTemplate, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getDeferredFragmentPrefix, getDeferredFragmentSuffix, getDeferredFragmentSuffix2, getFragmentSubdir, getHostedFilename, getModulePrefix, getModuleSuffix2, getScriptChunkSeparator, link, link, maybeAddHostedModeFile, maybeOutputPropertyMap, readFileToStringBuffer, replaceAll, splitPrimaryJavaScript, supportsDevModeInJunit, wrapDeferredFragment, wrapPrimaryFragmentemitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongNameisShardable, relinkpublic String getDescription()
LinkergetDescription in class Linkerprotected Collection<Artifact<?>> doEmitCompilation(TreeLogger logger, LinkerContext context, CompilationResult result, ArtifactSet artifacts) throws UnableToCompleteException
doEmitCompilation in class SelectionScriptLinkerUnableToCompleteExceptionprotected EmittedArtifact emitSelectionScript(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) throws UnableToCompleteException
emitSelectionScript in class SelectionScriptLinkerUnableToCompleteExceptionprotected String getCompilationExtension(TreeLogger logger, LinkerContext context) throws UnableToCompleteException
doEmitCompilation(TreeLogger, LinkerContext, CompilationResult, ArtifactSet).getCompilationExtension in class SelectionScriptLinkerUnableToCompleteExceptionprotected String getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) throws UnableToCompleteException
doEmitCompilation(TreeLogger, LinkerContext, CompilationResult, ArtifactSet).getModulePrefix in class SelectionScriptLinkerUnableToCompleteExceptionprotected String getModuleSuffix(TreeLogger logger, LinkerContext context) throws UnableToCompleteException
doEmitCompilation(TreeLogger, LinkerContext, CompilationResult, ArtifactSet).getModuleSuffix in class SelectionScriptLinkerUnableToCompleteExceptionprotected String getSelectionScriptTemplate(TreeLogger logger, LinkerContext context) throws UnableToCompleteException
getSelectionScriptTemplate in class SelectionScriptLinkerUnableToCompleteExceptionCopyright © 2018. All rights reserved.