+2
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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