diff options
author | 2022-05-12 16:43:01 -0400 | |
---|---|---|
committer | 2022-05-13 13:45:56 -0400 | |
commit | 0bfb1c055699fe3b953f5c7ef7a5b829b875c81d (patch) | |
tree | 9e979fd031fa9f6eec580f688da4fe1d64a1b5be /sdk/java_sdk_test.go | |
parent | 1c87db50cab141eb585f09d4a6dd01a9646fcf7e (diff) |
Deterministic aquery details in mixed builds
This change constitutes a number of fixes which cause mixed builds to
have deterministic ninja file output:
1. Depsets are identified based on a hash of their contents instead of
an arbitrary ID integer from Bazel
2. Depset definitions in the ninja file are sorted by the above hashes
3. BuildStatements (action information from Bazel's aquery) are sorted
by their contents
Test: Ran `USE_BAZEL_ANALYSIS=1 m nothing` three times and verified the
md5sum of out/soong/build.ninja was identical all three runs.
Test: mixed_droid
Change-Id: Iffdf6cc62c31d76fbbfa78726827497516171f4f
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions