Commit Graph

98408 Commits

Author SHA1 Message Date
Treehugger Robot
e6370eaecd Merge "release config is now protobuf" into main 2024-06-27 01:21:49 +00:00
Treehugger Robot
6b8d925c91 Merge "Fix bug in ota_from_raw_img when generating multiple images" into main 2024-06-27 01:17:10 +00:00
Kelvin Zhang
a8f0bb8df8 Move COMPRESSION_COMMAND_DEPS before first use
Test: th
Bug: 349524000
Change-Id: I6e9a406a04392ce17ad787c28052ee20f3d162a5
2024-06-26 17:12:20 -07:00
Jared Duke
fca73bcad3 Mark FeatureFlags impl member as final
Marking the member as final for non-test scenarios allows for
optimizations that may otherwise be unavailable, and avoids ambiguity
about mutability.

Bug: 280833463
Test: atest aconfig.test
Change-Id: Ia58a04c9a57ee06d68f4dd022ace5365c65f4cf5
2024-06-26 23:08:16 +00:00
Treehugger Robot
8522c2e8af Merge "Only include this partition's flags in aconfig_flags.pb" into main 2024-06-26 23:07:12 +00:00
LaMont Jones
acbe15ecdf Only include this partition's flags in aconfig_flags.pb
Flags should only be in one of the files.

Bug: 349410287
Test: manual, TH
Change-Id: I85376298538e2537f8f0f717a0a40a8545e99ea6
2024-06-26 14:41:10 -07:00
Vova Sharaienko
742eb98b4e Added trendy team for Telemetry Client Infra (StatsD)
Bug: 340948329
Test: CIs
Change-Id: I229a3f19cc6be8c45b489664374a7d9ccea68d05
2024-06-26 21:19:21 +00:00
Steven Moreland
93e0aad03c Merge "Reland "Consider non-shipping lunch targets to be future."" into main 2024-06-26 19:56:10 +00:00
Reema Bajwa
d5f7cb1698 Merge "Enable Credential Manager for all handheld devices" into main 2024-06-26 19:30:08 +00:00
LaMont Jones
f982547c1b release config is now protobuf
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
2024-06-26 12:15:12 -07:00
Kelvin Zhang
2add34e96e Reland Move all targets away from non-AB
Previous build breakage is fixed by aosp/3147481 , so
attempting to reland

This reverts commit 2ddbfee4ca.

Reason for revert: b/348547795

Change-Id: Ie7e6e54a6c1796acc37b43fe14692068e0ea31ca
2024-06-26 17:38:00 +00:00
Steven Moreland
8907ad66d1 Reland "Consider non-shipping lunch targets to be future."
This reverts commit b5b8777686.

Reason for revert: reverted in b/348090986

Change-Id: I2cc85dc4bdf9ed3dc2fb4ff77d9dffa3c32dda76
2024-06-26 17:18:41 +00:00
Treehugger Robot
b2356a6fb0 Merge "Add whitelist for mcts modules" into main 2024-06-26 17:15:49 +00:00
Kelvin Zhang
9ef8a02782 Fix bug in ota_from_raw_img when generating multiple images
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
2024-06-26 10:15:33 -07:00
Reema Bajwa
cc589fada5 Enable Credential Manager for all handheld devices
Bug: 345373198
Test: Cts

Change-Id: I54ec933aaacef5c313dada751cd68d303a7cb0b7
2024-06-26 16:44:30 +00:00
Yihan Dong
9005bb61f7 Add whitelist for mcts modules
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
2024-06-26 07:09:49 +00:00
Treehugger Robot
8865fcdd10 Merge "Add license metadata declarations which are moved from hardware/libhardware_legacy/Android.mk" into main 2024-06-26 03:05:43 +00:00
Treehugger Robot
d1236812b9 Merge "Fix a bug that BUILD_VERSION_TAGS is ignored" into main 2024-06-26 02:47:00 +00:00
Ivan Lozano
b6288a526e Replace static_rlibs usage.
static_rlibs has been folded into the normal static_libs and
whole_static_libs properties.

Bug: 254469782
Bug: 349129702
Test: m
Change-Id: I89d260f78947c3e0fe65148177c7f98d0d0c504d
2024-06-26 01:36:26 +00:00
Inseob Kim
a12be58687 Clean .intermediates for removing hashed subdir
Bug: 348548855
Test: TH
Change-Id: Ia9f753d085c08d8c553ca0b4aa400beedb2be302
2024-06-26 10:14:26 +09:00
Kelvin Zhang
e3190bfd19 Merge "Revert "Move all targets away from non-AB"" into main 2024-06-25 23:58:34 +00:00
Priyanka Advani
2ddbfee4ca Revert "Move all targets away from non-AB"
This reverts commit 1d20ca9f72.

Reason for revert: Droidmonitor created revert due to b/349466627. Will be verifying through ABTD before submission.

Change-Id: Idda57cfc04bad53b324b2149e735263ea55bbeef
2024-06-25 23:56:32 +00:00
Treehugger Robot
8bbae75626 Merge "Move all targets away from non-AB" into main 2024-06-25 23:33:31 +00:00
Treehugger Robot
f8b7517b02 Merge "Switch to static_rlibs" into main 2024-06-25 21:57:39 +00:00
Ted Bauer
b64fdac839 Switch to static_rlibs
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
2024-06-25 17:21:40 +00:00
Inseob Kim
97b6dc078f Fix a bug that BUILD_VERSION_TAGS is ignored
Bug: 349046347
Test: set BUILD_VERSION_TAGS and build
Change-Id: Ica1c8283ec530147e744613692a3daccf7f94a4a
2024-06-25 19:08:13 +09:00
Treehugger Robot
7f76f09a1b Merge "Change BOARD_USES_RECOVERY_AS_BOOT to a Boolean type" into main 2024-06-25 05:51:55 +00:00
Wei Li
38f80cd5a7 Merge "Change output of Make metadata to directory compliance-metatada." into main 2024-06-25 04:19:46 +00:00
Nelson Li
ab9e6521c2 Change BOARD_USES_RECOVERY_AS_BOOT to a Boolean type
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
2024-06-25 02:49:47 +00:00
Treehugger Robot
c8675fdb19 Merge "Include soong modules instead of using PRODUCT_COPY_FILES" into main 2024-06-25 01:01:14 +00:00
Treehugger Robot
78d6964fa0 Merge "flush mmap file to disk after updating" into main 2024-06-24 22:31:49 +00:00
Kelvin Zhang
1d20ca9f72 Move all targets away from non-AB
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
2024-06-24 15:13:22 -07:00
Zhi Dou
436f1368cd flush mmap file to disk after updating
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
2024-06-24 21:14:52 +00:00
Justin Yun
db07c59d96 Include soong modules instead of using PRODUCT_COPY_FILES
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
2024-06-24 18:18:14 +09:00
Wei Li
63d7bb2fb6 Change output of Make metadata to directory compliance-metatada.
Bug: 324465531
Test: CIs
Test: m make-compliance-metadata
Change-Id: I85e2c3b96a26e7a6b9905858212b041483b41b78
2024-06-21 19:31:02 -07:00
Treehugger Robot
4c47a8925e Merge "Fix a bug in the releasetools common.py script." into main 2024-06-21 23:48:15 +00:00
Jooyung Han
972804b81e Fix a bug in the releasetools common.py script.
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
2024-06-21 22:42:48 +00:00
Treehugger Robot
a95db664df Merge "Add macro to support prebuilt vendor_vboot.img" into main 2024-06-21 22:12:12 +00:00
Zhuoyao Zhang
259215a025 Merge "Support uploading host_name info in the tool event logger" into main 2024-06-21 22:05:58 +00:00
Zhuoyao Zhang
d067588a26 Support uploading host_name info in the tool event logger
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
2024-06-21 21:03:03 +00:00
Wei Li
b036322c61 Merge "Export metadata of make modules and installed files." into main 2024-06-21 20:01:18 +00:00
Almaz Mingaleev
ec8241e212 Merge "Rename icu_tzdata.dat_host target." into main 2024-06-21 19:45:04 +00:00
chunhui dai
97944c71dc Add macro to support prebuilt vendor_vboot.img
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>
2024-06-21 17:01:27 +00:00
Almaz Mingaleev
96bf1f0e18 Rename icu_tzdata.dat_host target.
icu_tzdata.dat was replaced by .res files.

Bug: 347657693
Test: ./art/tools/run-libcore-tests.sh --mode host
Change-Id: I83db07738410b5537134550ab2dce78986853c5c
2024-06-21 13:27:54 +00:00
Cole Faust
79d04e4115 Merge "Add soong_config_set_bool" into main 2024-06-21 01:21:25 +00:00
Wei Li
e2e37cfe7b Merge "Revert "Set widevine apex signed with dev key"" into main 2024-06-21 00:28:44 +00:00
Wei Li
527ba92bea Revert "Set widevine apex signed with dev key"
This reverts commit cc21bf8b29.

Reason for revert: b/348462910

Change-Id: Ia65e4b87bd3d7a0780dedc1cc3118c98ccfe077c
2024-06-20 23:28:07 +00:00
Cole Faust
95ff089b84 Add soong_config_set_bool
To allow typing soong config variables as bools for using in soong
select expressions.

Bug: 323382414
Test: m nothing --no-skip-soong-tests
Change-Id: I39496cd2a3366689e3f232ba10353a7d56d8d1ed
2024-06-20 14:51:39 -07:00
Elliott Hughes
ef81d9c8c0 Merge "libandroid_support was removed years ago." into main 2024-06-20 20:35:40 +00:00
Daniel Zheng
d3bb564316 Merge "Add read_ahead size to configurables" into main 2024-06-20 19:23:11 +00:00