Files
build_soong/android
Paul Duffin 780a185ede Avoid loss of ninja_deps events
Previously, writeDepFile was passed a copy of the main EventHandler to
which it then added an event. Adding an event requires appending
information to slices in the EventHandler structure. As the slices are
a copy the addition only affects the copy and are not present in the
EventHandler which is written out as part of the metrics.

This change fixes that by passing a pointer to an EventHandler into
writeDepFile. For consistency it also replaces a few other uses of
EventHandler with *EventHandler instead.

Bug: 257590265
Test: m nothing
      # Check generated text metrics to make sure they don't contain ninja_deps.
      # Apply this change.
      m nothing
      # Check generated text metrics to make sure they do contain  ninja_deps.
Change-Id: I0fa0f2b08844cb7c7b4e99b37602703deb43ad20
2022-11-07 14:12:11 +00:00
..
2022-10-03 08:43:13 -07:00
2022-10-27 23:46:22 +00:00
2022-10-13 20:40:27 +00:00
2021-03-17 16:35:13 +01:00
2022-08-01 16:07:30 -04:00
2022-11-02 19:17:30 +00:00
2022-10-25 11:46:01 +02:00
2022-11-07 14:12:11 +00:00
2022-10-24 10:35:12 -07:00
2021-12-13 13:33:15 -05:00
2021-09-23 11:37:57 +01:00
2021-12-01 17:43:00 +00:00
2022-09-26 18:28:56 +01:00
2022-10-06 10:24:47 +01:00
2022-05-18 16:38:19 -07:00