Commit Graph

98286 Commits

Author SHA1 Message Date
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
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
Elliott Hughes
f08f9b2cf8 libandroid_support was removed years ago.
Change-Id: I5279b398d112920d707b98ad985f5ab5079984a7
2024-06-20 16:25:47 +00:00
Treehugger Robot
b2302013ec Merge "Add cts-api-map report targets" into main 2024-06-20 16:17:17 +00:00
Hung-ying Tyan
60713e6a7d Merge "Add a GSI overlay for the framework package" into main 2024-06-20 09:53:31 +00:00
Treehugger Robot
25efbf1cb4 Merge "Add trace redactor to system" into main 2024-06-20 09:06:35 +00:00
Yihan Dong
7c1c245214 Add cts-api-map report targets
Test: m cts-api-html-api-map cts-api-xml-api-map
cts-system-api-xml-api-map cts-system-api-html-api-map
Bug: 328699028

Change-Id: Idadeb9a9819148071761a75d97d814610c35fd30
2024-06-20 06:43:25 +00:00
Hung-ying Tyan
73e0442fec Add a GSI overlay for the framework package
This overlay is used to override the default value of the config_multiuserMaximumUsers resource in the framework package. This is necessary because the default value of this resource is 1, which is too low for CTS (like ProxyMediaRouter2HostSideTest) to add test users.

Bug: 347122747
Change-Id: I351a96c49b698570f67742b176274124c41018c9
Test: TH
2024-06-20 04:55:43 +00:00
Steven Terrell
b66aa7edc2 Add trace redactor to system
This change adds the trace_redactor binary to system so that it can be
called from the Profiling module.

Bug: 327423523
Test: build and flash phone, verify binary is avalable at /system/bin.

Merged-In: I661fca73c02e2904b988b4bddce62f09c7e3a5d7
Change-Id: I661fca73c02e2904b988b4bddce62f09c7e3a5d7
2024-06-20 10:00:16 +09:00
Pechetty Sravani
874da86de2 Merge "Revert "Consider non-shipping lunch targets to be future."" into main 2024-06-19 08:31:25 +00:00
Pechetty Sravani
b5b8777686 Revert "Consider non-shipping lunch targets to be future."
This reverts commit 27f601f5d9.

Reason for revert: Droidmonitor triggered revert due to build breakage in b/348090986. Will be verifying through ABTD before submission.

Change-Id: I55e0880741e543309a7b991d49e59e4fa1f62e53
2024-06-19 07:47:32 +00:00
Jakub Czapiga
9de3473305 Merge "Drop legacy vboot support." into main 2024-06-19 07:32:35 +00:00
Inseob Kim
44ae5fc281 Merge "Add build_prop soong module" into main 2024-06-19 03:26:37 +00:00
Treehugger Robot
0159e92532 Merge "Add license metadata declaration in packages/services/Car" into main 2024-06-19 00:13:56 +00:00
Wei Li
a5b70ba64a Export metadata of make modules and installed files.
Bug: 324465531
Test: CIs
Test: m make-metadata
Change-Id: Ie4971477db7e6c395c4721c7978c0ff9cbc655f2
2024-06-18 14:45:18 -07:00
Treehugger Robot
8715d314e6 Merge "Support license information in SBOM writers library." into main 2024-06-18 20:41:52 +00:00
Wei Li
c6b4046787 Support license information in SBOM writers library.
Bug: 324465531
Test: CIs
Test: atest --host sbom_data_test sbom_writers_test
Test: build/soong/tests/sbom_test.sh
Change-Id: Iac2be2e65f308caabb11237e72dbdc6b047cfd55
2024-06-18 12:34:30 -07:00
Cole Faust
318fc99a13 Merge "Add PLATFORM_SEPOLICY_VERSION as a soong config variable" into main 2024-06-18 18:05:42 +00:00
Steven Moreland
ca5e5d6fd6 Merge "Consider non-shipping lunch targets to be future." into main 2024-06-18 17:40:24 +00:00
Treehugger Robot
5f3c693d6d Merge "Add trendy team for Android Media Solutions Editing" into main 2024-06-18 16:31:37 +00:00
Jakub Czapiga
31f6e08fc9 Drop legacy vboot support.
Bug: 291329969
Bug: 347885843
Bug: 347899892
Test: m
Test: CIs
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5071b95a067c9392b7bfa4d95957307ff0ccdcc3)
Merged-In: I5f30f63553cc2670650897e259ba51baf8ced05d
Change-Id: I5f30f63553cc2670650897e259ba51baf8ced05d
2024-06-18 15:40:14 +00:00
Treehugger Robot
bb4e87008f Merge "aflags: Ensure <partition>/aconfig_flags.pb exists before reading" into main 2024-06-18 15:27:36 +00:00