third_party.pigweed.src/pw_build/py
Alexei Frolov 917756d925
Add a stamp option to pw_python_script
GN requires all actions to have at least one output file. However, many
Python scripts are run to process data without generating a file. Such
scripts would previously have to specify a dummy output file and touch
it on completion.

This change adds this stamp functionality to the script-runner script.
The pw_python_script template accepts a boolean "stamp" argument. If
set, the runner will touch a dummy file after it runs its sub-command.

Change-Id: Iff0408ea0d93007418a1766f1eb7ed7b30ec6913
2019-11-12 15:07:43 -08:00
..
nop.py Add a stamp option to pw_python_script 2019-11-12 15:07:43 -08:00
python_runner.py Add a stamp option to pw_python_script 2019-11-12 15:07:43 -08:00