rules/c/cmake/ninja_graph.js

Developer reference: this page includes exported implementation details. BUILD authors should prefer the User API reference.

parseNinja()

parseNinja(mainText, readInclude)

Undocumented.

expandVar()

expandVar(template, edge, topVars, ruleDefaults)

Undocumented.

reachableEdges()

reachableEdges(edges, targetNames)

Undocumented.

rewriteToolInvocations()

rewriteToolInvocations(command)

Undocumented.

sandboxRootFromWorkdir()

sandboxRootFromWorkdir(cmakeNinjaWorkdir, buildDirPath)

Undocumented.

rebaseAbsolutePaths()

rebaseAbsolutePaths(text, sandboxRoot, replacement = "")

Undocumented.

rebasePath()

rebasePath(path, sandboxRoot)

Undocumented.

joinAndNormalize()

joinAndNormalize(baseDir, relativePath)

Undocumented.

listNamedCmakeTargets()

listNamedCmakeTargets(graph)

Undocumented.

extractCopyDestinations()

extractCopyDestinations(command, buildDirPath)

Undocumented.