third_party.pigweed.src/pw_build
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
..
py Add a stamp option to pw_python_script 2019-11-12 15:07:43 -08:00
BUILD.gn
pw_executable.gni
python_script.gni Add a stamp option to pw_python_script 2019-11-12 15:07:43 -08:00
README.md

pw_build: Definitions for Pigweed's build system