summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
authorUlf Adams <ulf@engflow.com>2020-11-25 22:37:22 +0100
committerUlf Adams <ulf@engflow.com>2020-11-25 22:52:12 +0100
commit82fd89b8ab0bd86b79e3d9dd7dce7ff121f70875 (patch)
treec6eaae0ac893de59034c41d4764fd2da46ae993a /python/python.go
parent0066864a0235c7ce2bd57de775a39db2bc806cfa (diff)
Soong: add -T to nanopb call to suppress timestamp
By default, nanopb outputs a timestamp into the .c and .h files it generates. This is usually considered bening. However, when using remote execution or remote caching, this poisons all actions that have these files as inputs, and also appears to affect transitive actions (actions depending on actions that have these files as inputs). This change adds the -T flag to suppress the timestamp, which in turn makes the output files deterministic, which in turn allows the remote cache to return previous results rather than requiring a re-execution of the corresponding actions. Test: ran the build a few times to check that the output is deterministic Change-Id: Iecfa143dbf12a9bb7703dd0bc3f1b3e3fd56317c
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions