There is an effort to generate system image with Soong, but there are
some difference in installed files between Soong defined system image
and KATI defined one. This change generates diffs between installed
files from two sources.
Bug: 346873717
Test: USE_SOONG_DEFINED_SYSTEM_IMAGE=true m -j on aosp_cf_x86_64
generated diff file.
Change-Id: I25c71f88d16a4efb873c21abe70ca9c41c6423ca
Merged-In: I25c71f88d16a4efb873c21abe70ca9c41c6423ca
This CL adds DTBO partition to dev option OTA if the product
defined a dtbo image for 16KB kernel(indicated via
BOARD_PREBUILT_DTBOIMAGE_16KB)
Test: build with and w/o BOARD_PREBUILT_DTBOIMAGE_16KB set
Change-Id: I6e02d5bab0fccd193396c54e50ad2a9c3946c51d
Use `release_config_map.textproto` instead of relying on platform/build
to intuit that for us.
Bug: 328495189
Flag: build.RELEASE_BUILD_FLAGS_IN_PROTOBUF
Test: manual, TH
Ignore-AOSP-First: resolving automerger conflict
Merged-In: Ia3ae6787183208a216dc4ea26c2fc3a9e4f56054
Change-Id: I4573cc04c8bf3116e1a8b728b819b09d6b3a87a3
Previous build breakage is fixed by aosp/3147481 , so
attempting to reland
This reverts commit 2ddbfee4ca.
Reason for revert: b/348547795
Change-Id: Ie7e6e54a6c1796acc37b43fe14692068e0ea31ca
Python argparse support for multiple arguments per flag is limited,
so we need to manually do parsing here(split by ",")
Test: generate a boot image OTA with boot and dtbo partition
Bug: 349590107
Change-Id: Ia9f7e0ab0836bddf15591a74b17a667e63080373
Some MCTS modules should not be removed from CTS because they are
dependencies of both MCTS and CTS.
Add a whitelist as a short term solution.
Test: m cts EXCLUDE_MCTS=true
Bug: 349372705
BYPASS_INCLUSIVE_LANGUAGE_REASON=for mcts only
Change-Id: I26ada6da95a8b3547de9e54781b744facb121b05
This reverts commit 1d20ca9f72.
Reason for revert: Droidmonitor created revert due to b/349466627. Will be verifying through ABTD before submission.
Change-Id: Idda57cfc04bad53b324b2149e735263ea55bbeef
When a dependency takes multiple rust_ffi_static dependencies in its
static_libs, their symbols collide. Switch to static_rlibs, which
resolves the collisions. See b/349129702 for context.
Bug: 349129702
Test: m
Change-Id: I6cd2fe92629c7d44e22d113795b340e06175f008
Set `BOARD_USES_RECOVERY_AS_BOOT` to a Boolean type and use the
`select` syntax in Android.bp.
This usage is more concise and easier to understand compared to
`soong_config_module_type`.
Bug: 347605145
Test: m init_vendor
Change-Id: I551b560688c9bd792e3b9cadcdfc01b4e0215823
This sets AB_OTA_UPDATER to true by default. OEMs can still
override this variable in their board config if their device
is still on non-AB.
Since some targets(e.g. art target) do not need updates,
we permit empty AB_OTA_PARTITIONS if AB_OTA_UPDATER is true.
This reverts commit 2a3faafdbf
Test: th
Bug: 324360816
Change-Id: Ia9e30983ddc7981659d042a177e9edc8abac6a47
The change was applied in the file in memory. Without explicitly calling
msync, there is no guarantee that the changes are written back to disk.
Thus the flag value may not be changed.
Bug: b/348693143
Test: atest aconfig_storage_write_api.test.cpp
aconfig_storage_write_api.test.rust
Change-Id: I8b1e0cbbb90bcb3c2e5bbf418a6a1a9cd047c81b
The xml files are defined as prebuilt_etc modules. Use those modules
instead of copying them manually with PRODUCT_COPY_FILES.
Bug: 314933937
Test: m aosp_cf_system_x86_64
Change-Id: I97569381a29ade620584b96b20908c514a07e981
The script was not breaking out of the loop when a handler was found, which could lead to multiple handlers being called for the same option.
This fixes the issue that a single option can be handled in two handlers.
Bug: 345402175
Test: sign_target_files_apks -k ..
Change-Id: I9f4ef801df99a4a0f2ba5be994b3f37fbedc22c0
host_name info is useful in several use cases including
1) to distinguish the concurrent tool invocations from the same user.
2) to understand the potential different performance from different hosts (e.g. local workstation VS cloudtop).
3) required to integrate the tool event log with the EPR system.
Test: atest tool_event_logger_test
Bug: 348482213
Change-Id: I98422b3f8ccec73d57fcdcdedac91780c448dc47
There are marcos support to link prebuilt images and generate AVB images
in "make"/"make dist" flow. Currently defined marcos only cover boot.img
/init_boot.img/vendor.img and so on, missing the vendor_boot.img.
Appending a marco for prebuilt vendor_boot.img to work like other
prebuilt images.
Test: manual
Build pass in "make" and "make dist" flow and boot up with AVB
Change-Id: I7b296f82e57e8f71a0757d872d35ac27a8d2ecbe
Signed-off-by: chunhui dai <chunhuid@amazon.com>