@LinkerOrder(value=PRIMARY) @Shardable public class SingleScriptLinker extends SelectionScriptLinker
COMPUTE_SCRIPT_BASE_JS, FRAGMENT_EXTENSION, FRAGMENT_SUBDIR, permutationsUtil, PROCESS_METAS_JS, USE_SOURCE_MAPS_PROPERTY
Constructor and Description |
---|
SingleScriptLinker() |
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, wrapPrimaryFragment
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
isShardable, relink
public String getDescription()
Linker
getDescription
in class Linker
protected Collection<Artifact<?>> doEmitCompilation(TreeLogger logger, LinkerContext context, CompilationResult result, ArtifactSet artifacts) throws UnableToCompleteException
doEmitCompilation
in class SelectionScriptLinker
UnableToCompleteException
protected EmittedArtifact emitSelectionScript(TreeLogger logger, LinkerContext context, ArtifactSet artifacts) throws UnableToCompleteException
emitSelectionScript
in class SelectionScriptLinker
UnableToCompleteException
protected String getCompilationExtension(TreeLogger logger, LinkerContext context) throws UnableToCompleteException
doEmitCompilation(TreeLogger, LinkerContext, CompilationResult, ArtifactSet)
.getCompilationExtension
in class SelectionScriptLinker
UnableToCompleteException
protected String getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) throws UnableToCompleteException
doEmitCompilation(TreeLogger, LinkerContext, CompilationResult, ArtifactSet)
.getModulePrefix
in class SelectionScriptLinker
UnableToCompleteException
protected String getModuleSuffix(TreeLogger logger, LinkerContext context) throws UnableToCompleteException
doEmitCompilation(TreeLogger, LinkerContext, CompilationResult, ArtifactSet)
.getModuleSuffix
in class SelectionScriptLinker
UnableToCompleteException
protected String getSelectionScriptTemplate(TreeLogger logger, LinkerContext context) throws UnableToCompleteException
getSelectionScriptTemplate
in class SelectionScriptLinker
UnableToCompleteException
Copyright © 2018. All rights reserved.