EmscriptenPrepareCacheTask

@CacheableTask
open class EmscriptenPrepareCacheTask @Inject constructor(execOperations: ExecOperations, projectLayout: ProjectLayout, objects: ObjectFactory) : DefaultTask(source)

Compiles system libraries and prepares the Emscripten cache for future use with embuilder. It helps achieve more reproducible builds, as this compilation uses the debug-prefix-map parameter to get deterministic paths in the DWARF debug info.

See embuilder.py

Constructors

Link copied to clipboard
@Inject
constructor(execOperations: ExecOperations, projectLayout: ProjectLayout, objects: ObjectFactory)

Properties

Link copied to clipboard
@get:OutputDirectory
val cacheDirectory: DirectoryProperty
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Input
val pic: Property<Boolean>
Link copied to clipboard
@get:Input
val targets: ListProperty<String>
Link copied to clipboard
@get:Input
val wasm64: Property<Boolean>

Functions

Link copied to clipboard
fun build()