Combine the to and from build actions cachses.

Bug: 358427516
Test: Manually verified genereated ninja and mk files, unit tests.
Change-Id: Ie5c651f54aa8df6830a15f167c168fc54ca096cf
3 files changed