Revert^2 "Enable genrule sandboxing by default"

50cd6b2a18

Change-Id: Ie0be9331481eb1e9b96034b155efb76a8be9596a
This commit is contained in:
Cole Faust
2023-10-18 22:50:26 +00:00
committed by Gerrit Code Review
parent 50cd6b2a18
commit b0990300e9
3 changed files with 16 additions and 1 deletions

View File

@@ -1,5 +1,14 @@
# Build System Changes for Android.mk/Android.bp Writers
## Soong genrules are now sandboxed
Previously, soong genrules could access any files in the source tree, without specifying them as
inputs. This makes them incorrect in incremental builds, and incompatible with RBE and Bazel.
Now, genrules are sandboxed so they can only access their listed srcs. Modules denylisted in
genrule/allowlists.go are exempt from this. You can also set `BUILD_BROKEN_GENRULE_SANDBOXING`
in board config to disable this behavior.
## Partitions are no longer affected by previous builds
Partition builds used to include everything in their staging directories, and building an