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
Loading
Please register or sign in to comment