aboutsummaryrefslogtreecommitdiff
path: root/Changes.md
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-07-26 14:33:51 -0700
committerCole Faust <colefaust@google.com>2023-09-06 11:51:13 -0700
commit48b81e73861af12d3ba05b7afb65288776834ee8 (patch)
treeb22dbd02ec54280ff25acd7bedec9d665c84a095 /Changes.md
parent145ca3034fc0cd17e8520a10b9da34824917c3ab (diff)
downloadbuild-48b81e73861af12d3ba05b7afb65288776834ee8.tar.gz
Clean staging dirs in build_image.py
build_image.py now accepts a --input-directory-filter-file argument that contains a list of files to consider from the input directory. A new, temporary input directory will be created, and only the considered files will be copied to it. This removes most of the need for `m installclean`, as old files or files built manually will no longer end up on the partition. Bug: 205632228 Test: Presubmits Change-Id: I4c82ac7f1ed49a37271755749c8f72afeeb7f295
Diffstat (limited to 'Changes.md')
-rw-r--r--Changes.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/Changes.md b/Changes.md
index 6836528762..5d8f104e0a 100644
--- a/Changes.md
+++ b/Changes.md
@@ -1,4 +1,15 @@
-# Build System Changes for Android.mk Writers
+# Build System Changes for Android.mk/Android.bp Writers
+
+## Partitions are no longer affected by previous builds
+
+Partition builds used to include everything in their staging directories, and building an
+individual module will install it to the staging directory. Thus, previously, `m mymodule` followed
+by `m` would cause `mymodule` to be presinstalled on the device, even if it wasn't listed in
+`PRODUCT_PACKAGES`.
+
+This behavior has been changed, and now the partition images only include what they'd have if you
+did a clean build. This behavior can be disabled by setting the
+`BUILD_BROKEN_INCORRECT_PARTITION_IMAGES` environment variable.
## Perform validation of Soong plugins
@@ -29,6 +40,7 @@ overridden by setting the `BUILD_BROKEN_USES_SOONG_PYTHON2_MODULES` product conf
variable to `true`.
Python 2 is slated for complete removal in V.
+
## Stop referencing sysprop_library directly from cc modules
For the migration to Bazel, we are no longer mapping sysprop_library targets