webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
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 | |
def substinfile.exists | ( | env | ) |
Make sure tool exists.
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.
substinfile.action |
substinfile.emitter |
substinfile.subst_action = SCons.Action.Action( subst_in_file, subst_in_file_string ) |
env.Append(TOOLS = 'substinfile') # this should be automaticaly done by Scons ?!?