Commit graph

96734 commits

Author SHA1 Message Date
Treehugger Robot
b6602d40de Merge "Revert^3 "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"" into main am: 5fcfa8a3c2
Original change: https://android-review.googlesource.com/c/platform/build/+/3038909

Change-Id: I84de41b27c6f2c2a29df5829d8f3a863e94f5e44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-15 05:57:26 +00:00
Treehugger Robot
5fcfa8a3c2 Merge "Revert^3 "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"" into main 2024-04-15 05:39:12 +00:00
Daniel Zheng
0addd71144 Merge "Revert "Turn on V3 cow"" into main am: 28ca2fc0a0
Original change: https://android-review.googlesource.com/c/platform/build/+/3040935

Change-Id: I69e3d916a8a6b2228e486c7d4da8069b3c7d08a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-13 07:10:13 +00:00
Daniel Zheng
28ca2fc0a0 Merge "Revert "Turn on V3 cow"" into main 2024-04-13 06:50:00 +00:00
Daniel Zheng
fa5bfb9d79 Revert "Turn on V3 cow"
Revert submission 2973761-cow_v3_make

Reason for revert: b/333966507

Reverted changes: /q/submissionid:2973761-cow_v3_make

Change-Id: I4f8c19a1d78b9af882e7df51fb2fc0172c0282c3
2024-04-12 22:24:42 +00:00
Vilas Bhat
15e3467d6d Revert^3 "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"
This reverts commit 35839ec1a3.

Reason for revert: CI breakages for 2 targets. Please refer to bug for more details

Bug: 334152807
Change-Id: I0e38583cd3fa57afef432406374ec8d4ddc57e72
2024-04-12 22:20:40 +00:00
Treehugger Robot
f1bf436fd8 Merge "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_arm64" into main am: 112a57658b
Original change: https://android-review.googlesource.com/c/platform/build/+/3038458

Change-Id: I95ccde1b46c06c2d20671c942aa80902375b3751
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 19:41:34 +00:00
Treehugger Robot
112a57658b Merge "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_arm64" into main 2024-04-12 19:37:04 +00:00
Treehugger Robot
0c2c36d9ba Merge "16k: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO only on Android V targets" into main am: ef19738567
Original change: https://android-review.googlesource.com/c/platform/build/+/3038616

Change-Id: Ie204aa47e7fd5aa8ddd54e1e6e2520e593816910
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 19:36:31 +00:00
Treehugger Robot
ef19738567 Merge "16k: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO only on Android V targets" into main 2024-04-12 19:01:06 +00:00
Dennis Shen
c8203a5992 Merge "aconfig: add write api cpp test to presubmit" into main am: 7d642b10df
Original change: https://android-review.googlesource.com/c/platform/build/+/3038457

Change-Id: Id4537484bd9a29f52871b1fba065596c554d5d9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 18:48:39 +00:00
Dennis Shen
7d642b10df Merge "aconfig: add write api cpp test to presubmit" into main 2024-04-12 18:26:55 +00:00
Dennis Shen
625fd83d28 Merge "aconfig: update flag info query api" into main am: 65610a10d5
Original change: https://android-review.googlesource.com/c/platform/build/+/3038554

Change-Id: I16ee2bb08c5646261616b821cff23566667808bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 18:05:41 +00:00
Vilas Bhat
39dcf40403 16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_arm64
`PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO` overrides
`TARGET_NO_BIONIC_PAGE_SIZE_MACRO` value in the build system. Enabling
TARGET_NO_BIONIC_PAGE_SIZE_MACRO implies those targets no longer rely
on the `PAGE_SIZE` bionic macro. Page size would be queried at runtime
using getpagesize() / sysconf(_SC_PAGE_SIZE).

Bug: 310232825
Test: lunch <target> && get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Change-Id: I37133cb2419566e9616a2cde640372352178980f
2024-04-12 17:50:39 +00:00
Dennis Shen
65610a10d5 Merge "aconfig: update flag info query api" into main 2024-04-12 17:41:36 +00:00
Vilas Bhat
72f23f699d Merge "Revert^2 "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"" into main am: eaf40e1675
Original change: https://android-review.googlesource.com/c/platform/build/+/3039823

Change-Id: I5a51c84d36d7a5e075398e603c6fb1b3dc1d343e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 17:31:21 +00:00
Vilas Bhat
eb94b078ad Merge "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_x86_64" into main am: 54b92dfe9d
Original change: https://android-review.googlesource.com/c/platform/build/+/3037194

Change-Id: I3bbc44b58214751e5c634f56949909b0607b4b51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 17:30:50 +00:00
Vilas Bhat
d3123d4f62 16k: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO only on Android V targets
This updates the VSR_VENDOR_API_LEVEL for which
TARGET_NO_BIONIC_PAGE_SIZE_MACRO is set to false from < 34 to < 35

Bug: 310232825
Test: lunch <target> && get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Change-Id: Ib6b8ba94fe6b2c8b7bbf31fb56e07bd97eb79fc2
2024-04-12 17:23:57 +00:00
Vilas Bhat
eaf40e1675 Merge "Revert^2 "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"" into main 2024-04-12 17:18:48 +00:00
Vilas Bhat
54b92dfe9d Merge "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_x86_64" into main 2024-04-12 17:16:35 +00:00
Dennis Shen
e8fa42f45a aconfig: add write api cpp test to presubmit
Bug: b/321077378
Test atest -c

Change-Id: Ib04280f25eb6c4de6ff1523579e6ac96a868ff1d
2024-04-12 16:57:28 +00:00
Dennis Shen
f17dbcd8b7 aconfig: update flag info query api
Currently flag info query api is called get_boolean_flag_attribute, in
this change, we switched it over to a flag value type generic
implementation get_flag_attribute. So in the future we want to add more flag value types, this api can stay the same.

Bug: b/312444587
Test: atest -c
Change-Id: I2b272f3fa3cb1d0edc8b77a44bf37752ffe95925
2024-04-12 16:28:10 +00:00
Treehugger Robot
e0be9728b7 Merge "Ensure insertion order of Python dict" into main am: ab494001f3
Original change: https://android-review.googlesource.com/c/platform/build/+/3030903

Change-Id: Iffb4f6e7155391ca2222ddd09c9c6abecb22e467
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 13:20:59 +00:00
Treehugger Robot
ab494001f3 Merge "Ensure insertion order of Python dict" into main 2024-04-12 13:05:05 +00:00
Treehugger Robot
45c5a53d71 Merge "Revert "Expose RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES"" into main am: 79acb6516c
Original change: https://android-review.googlesource.com/c/platform/build/+/3040333

Change-Id: I258c0601fad3b8f0d93e589998236f33bbc161a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 08:00:04 +00:00
Nariyasu Heseri
5ffefcc642 Ensure insertion order of Python dict
Add keys to the dict `partitions` in serial to have a deterministic
insertion order.
This guarantees the generated vbmeta.img is always the same on the same
input, fixing image consistency issues.

Reference:
https://android-review.googlesource.com/c/platform/build/+/2585397

Bug: 332550989
Test: Generate vbmeta several times, confirm identical result.
Change-Id: I39da5844045f497fdc89e6477a7e32ddacb70764
2024-04-12 07:57:37 +00:00
Treehugger Robot
79acb6516c Merge "Revert "Expose RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES"" into main 2024-04-12 07:46:26 +00:00
Juyu Chen
5d09b51ba9 Revert "Expose RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES"
This reverts commit 7cefe70a00.

Reason for revert: <
Satish Yalla, 8 min
Hi @Juyu Chen
could you please create a revert for this CL https://android-review.git.corp.google.com/c/platform/build/+/3033593
suspecting culprit for b/333859398
Thanks!
>

Change-Id: I35e3313a5e9bc751430ab0fc39c3c07b0a50cb7b
2024-04-12 05:56:15 +00:00
Vilas Bhat
1c4c94d784 16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_x86_64
`PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO` overrides
`TARGET_NO_BIONIC_PAGE_SIZE_MACRO` value in the build system. Enabling
TARGET_NO_BIONIC_PAGE_SIZE_MACRO implies those targets no longer rely
on the `PAGE_SIZE` bionic macro. Page size would be queried at runtime
using getpagesize() / sysconf(_SC_PAGE_SIZE).

Bug: 310232825
Bug: 333124272
Test: lunch <target> && get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Change-Id: I1786c735eb2ba2ede70e1432f1854694c5831a01
2024-04-12 00:28:48 +00:00
Treehugger Robot
7e03a0fa02 Merge "Configure AILabs team" into main am: 67a789b7ee
Original change: https://android-review.googlesource.com/c/platform/build/+/3038736

Change-Id: I9aa2a07660a57215bf594ea97ce9aff3aaa77d9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 23:41:49 +00:00
Treehugger Robot
67a789b7ee Merge "Configure AILabs team" into main 2024-04-11 23:28:11 +00:00
Vilas Bhat
35839ec1a3 Revert^2 "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"
This reverts commit 5c2956897c.

Reason for revert: Fixed the breaking tests on `aosp_cf_x86_64` target.

Change-Id: I7179b4615985f4f85b26ebe5ce099ee4899bb415
Test: lunch <target> && get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Bug: 310232825
2024-04-11 21:34:08 +00:00
Dennis Shen
c54746ed31 Merge changes from topic "flag_info_write" into main am: 82546539f1
Original change: https://android-review.googlesource.com/c/platform/build/+/3034972

Change-Id: I43faf7ded6758a4c93e5cb9697f8e8810c8e45fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 20:41:35 +00:00
Dennis Shen
82546539f1 Merge changes from topic "flag_info_write" into main
* changes:
  aconfig: create flag info file write c api
  aconfig: create flag info file write rust api
2024-04-11 20:24:51 +00:00
Dennis Shen
d74941b42d aconfig: create flag info file write c api
Bug: b/312444587
Test: atest -c
Change-Id: I310e1ed727ced454bec2016afe48f7a29561fac3
2024-04-11 20:23:22 +00:00
Dennis Shen
4647c0e1f0 aconfig: create flag info file write rust api
Bug: b/312444587
Test: atest aconfig_storage_write_api.test; atest
aconfig_storage_write_api.test.rust

Change-Id: Icbedc78ae78b2c7590539f008521c507c2b3df5b
2024-04-11 20:23:00 +00:00
Yike Zhang
78b2198d6a Merge "Fix is_unit_test in module-info" into main am: 2b92885ea4
Original change: https://android-review.googlesource.com/c/platform/build/+/3028378

Change-Id: I774895a7f180ce549d27957efd08ed253bf7d78e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 18:05:12 +00:00
Yike Zhang
2b92885ea4 Merge "Fix is_unit_test in module-info" into main 2024-04-11 17:45:18 +00:00
Pawan Wagh
cd3c190cfe Merge "Propagate punch holes flag to soong" into main am: a279c80e8d
Original change: https://android-review.googlesource.com/c/platform/build/+/3038377

Change-Id: Ic6a3011e9c9fe696badc555d43a34b592e17d4fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 17:39:33 +00:00
Pawan Wagh
a279c80e8d Merge "Propagate punch holes flag to soong" into main 2024-04-11 17:28:35 +00:00
Treehugger Robot
d929faf41b Merge "Expose RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES" into main am: e2b76e6db6
Original change: https://android-review.googlesource.com/c/platform/build/+/3033593

Change-Id: I7aab7d5786e870d5c721780b83deee895ed85de6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 09:18:56 +00:00
Treehugger Robot
e2b76e6db6 Merge "Expose RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES" into main 2024-04-11 09:04:12 +00:00
Jeongik Cha
7cefe70a00 Expose RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
expose the flag to soong. the flag is to indicate a custom VM can
use para-virtualized devices.

Bug: 333495394
Test: build
Change-Id: I4e1854b5701302ae0ec1bf73862f264642b6e418
2024-04-11 09:03:04 +00:00
Pawan Wagh
583dc7f761 Propagate punch holes flag to soong
Bug: 301631861
Test: m
Change-Id: I47d289baf2558e1e4540852129e2ae5283107ad4
2024-04-11 05:42:57 +00:00
Lucas Dupin
ec975bbd68 Configure AILabs team
Change-Id: I3a2a4db70048093dd1ded8253b4539f811fc0773
Test: presubmit
Fixes: 333736703
2024-04-11 00:22:39 +00:00
Spandan Das
41d2a55284 Merge "Drop PRODUCT_PACKAGES special-case in source vs prebuilt mainline selection" into main am: 13045cd3cd
Original change: https://android-review.googlesource.com/c/platform/build/+/3037776

Change-Id: I1200e2d62cfb7653c44ea82f8596d6b27ab54878
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 19:17:09 +00:00
Spandan Das
13045cd3cd Merge "Drop PRODUCT_PACKAGES special-case in source vs prebuilt mainline selection" into main 2024-04-10 19:14:28 +00:00
Dennis Shen
b59fa6c291 Merge changes from topic "index_instead_of_offset" into main am: d22eee50fa
Original change: https://android-review.googlesource.com/c/platform/build/+/3031653

Change-Id: I3850230971877ff01aeadb72488f16446a1543de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 18:55:27 +00:00
Dennis Shen
d22eee50fa Merge changes from topic "index_instead_of_offset" into main
* changes:
  aconfig: update storage write api
  aconfig: update storage read api
  aconfig: update storage file creation to allow storage files to store flag index instead of byte offset
  aconfig: update storage file to store flag index instead of file byte offset
2024-04-10 18:53:43 +00:00
Daniel Zheng
8552a323a6 Merge "zstd negative compression support" into main am: e836a3a2e4
Original change: https://android-review.googlesource.com/c/platform/build/+/2708515

Change-Id: Iea10fb2e2218c77f16732efdcaee494060a1381e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 18:11:25 +00:00