webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
substinfile Namespace Reference

Functions

def generate (env)
 
def exists (env)
 

Variables

 subst_action = SCons.Action.Action( subst_in_file, subst_in_file_string )
 env.Append(TOOLS = 'substinfile') # this should be automaticaly done by Scons ?!? More...
 
 action
 
 emitter
 

Function Documentation

◆ exists()

def substinfile.exists (   env)
Make sure tool exists.

◆ generate()

def substinfile.generate (   env)
Add builders and construction variables for the
SubstInFile tool.

Adds SubstInFile builder, which substitutes the keys->values of SUBST_DICT
from the source to the target.
The values of SUBST_DICT first have any construction variables expanded
(its keys are not expanded).
If a value of SUBST_DICT is a python callable function, it is called and
the result is expanded as the value.
If there's more than one source and more than one target, each target gets
substituted from the corresponding source.

Variable Documentation

◆ action

substinfile.action

◆ emitter

substinfile.emitter

◆ subst_action

substinfile.subst_action = SCons.Action.Action( subst_in_file, subst_in_file_string )

env.Append(TOOLS = 'substinfile') # this should be automaticaly done by Scons ?!?