summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2023-11-10 15:05:28 -0800
committer Cole Faust <colefaust@google.com> 2023-11-10 15:05:28 -0800
commit632408fb5dc2ae49f4dbbbb049c210efadc7a898 (patch)
treefa9f79ad2064b40d99e50bbd5936c46369441c7c /java/java.go
parent8c4387e478eebe3b3b9fcf28f5a12cea1510890b (diff)
Sandbox bluetooth genrules
These genrules work with sandboxing already, they just had non-determinism that lead genrule_sandboxing.py to think that they didn't. Non-determinism sources include: - HeadlessBuildTimestamp literally just generates a header file with a timestamp, not much we can do here other than re-architect their code. - Pdlc has a non-determinism issue I sent out a cl to fix: https://github.com/google/pdl/pull/85 - Python tools write the command they were ran with to generated files, and non-embedded-launcher python scripts have non-deterministic paths. Switched to embedded_launcher: true: aosp/2825231 - In addition, the path to the genrule sandbox is not non-deterministic, but it is a hash of the inputs to the sandbox. When running genrule_sandbox.py, it compares a "partial" sandbox (which only sandboxes tools) to a "full" sandbox, and these two runs have different sandbox hashes. Bug: 307824623 Test: Presubmits Change-Id: Ib966262dc1aac99a0798f26d8a03966cc97fe1bf
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions