Commit graph

37068 commits

Author SHA1 Message Date
Vilas Bhat
185a3fc892 Merge "16k: build: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets" into main 2024-04-17 20:27:37 +00:00
Treehugger Robot
9194b690b1 Merge "Add dependencies for module which define LOCAL_SOONG_INSTALL_PAIRS" into main 2024-04-17 09:43:53 +00:00
T.J. Mercier
70533992f4 Merge "Add flags for cgroup v2 and memcg v2 features" into main 2024-04-16 21:40:38 +00:00
Linus Tufvesson
984b069ce2 Use flag for min supported target sdk
Test: Build and flash
Test: adb shell getprop ro.build.version.min_supported_target_sdk
Bug: 297603927
Change-Id: I3a2bcad6b001364a2cf35cad1cac7f69185169d0
2024-04-16 08:08:49 +00:00
yangbill
c3f2c7038c Add dependencies for module which define LOCAL_SOONG_INSTALL_PAIRS
The original behvaior will not install related files define in
LOCAL_SOONG_INSTALL_PAIRS due to there's no dependency information in
make, this CL parse the string from each LOCAL_SOONG_INSTALL_PAIRS after
':' as dependencies.

Bug: 333974089
Test: apply aosp/3041672 ; m hyph-lic

Change-Id: I79050e99c3e63f58cfd32db270c909a76bd96801
2024-04-16 04:50:50 +00:00
Vilas Bhat
f44951d3af 16k: build: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets
This relands commit 35839ec1a3 and also
includes `PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO` override for several
targets. The latter is required in order to fix failing tests due to
mismatch in the `VSR_VENDOR_API_LEVEL` value between test and device
targets.

Bug: 333124272
Bug: 310232825
Change-Id: I12db4b78b02aa4a58c7355852dc2ff5ae395592c
2024-04-15 21:45:08 +00:00
Treehugger Robot
a40c6380a1 Merge "Revert^2 "Expose RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES"" into main 2024-04-15 12:06:31 +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
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
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
Jeongik Cha
84b485a456 Revert^2 "Expose RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES"
This reverts commit 5d09b51ba9.

Reason for revert: relanding

Change-Id: I537ec04c5c89c8d0d8abeb17f0c2c9cb13a3cfae
2024-04-12 09:00: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
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
Yike Zhang
2b92885ea4 Merge "Fix is_unit_test in module-info" into main 2024-04-11 17:45:18 +00:00
Pawan Wagh
a279c80e8d Merge "Propagate punch holes flag to soong" into main 2024-04-11 17:28:35 +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
Spandan Das
8f30661b2d Drop PRODUCT_PACKAGES special-case in source vs prebuilt mainline selection
google products that include mainline apexes use
RELEASE_APEX_CONTRIBUTIONS_* for source vs prebuilt selection.
RELEASE_APEX_CONTRIBUTIONS is aware of aosp products via a parallel
special-case in core/product_config.mk, so we do not need this duplicate
special case here.

Bug: 308188056
Test: presubmits
Change-Id: I2fc904d3f661c105ec9a48a313723bc881a623f8
2024-04-10 17:55:08 +00:00
Treehugger Robot
f45c19001f Merge "Drop HOST_CROSS_ARCH special-case in source vs prebuilt mainline selection" into main 2024-04-09 23:37:28 +00:00
Treehugger Robot
85c79a3a3a Merge "Add an option to move 16K ota to vendor partition" into main 2024-04-09 19:26:19 +00:00
Spandan Das
a43378be19 Drop HOST_CROSS_ARCH special-case in source vs prebuilt mainline selection
`PRODUCT_MODULE_BUILD_FROM_SOURCE` has been added explicitly to the
products that have `HOST_CROSS_ARCH=arm64`, so we do not need this
special case here anymore.

Bug: 308188056
Test: presubmits
Change-Id: Ide3dbf9c3674683f2e0546403622cf6b8fe78739
2024-04-09 18:27:11 +00:00
Kelvin Zhang
19805cb372 Add an option to move 16K ota to vendor partition
For GRF devices, the system partition might be shared between different
products using different kernels. Hence putting the 16K boot option OTA
on system partition would not work for such project.

Test: th
Bug: 293313353
Bug: 328166454
Bug: 329808458

Change-Id: I2ba3ad4f28f3569c6b8e275849988328f9d73552
2024-04-09 09:52:04 -07:00
Spandan Das
f52543b2e1 Merge "Drop HOST_CROSS_OS special-case in source vs prebuilt mainline selection" into main 2024-04-09 16:47:33 +00:00
Kiyoung Kim
665827ea7b Merge "Remove BOARD_VNDK_VERSION usage from Kati" into main 2024-04-09 07:31:00 +00:00
Kiyoung Kim
66481ae8e1 Remove BOARD_VNDK_VERSION usage from Kati
As of VNDK deprecation, BOARD_VNDK_VERSION should not be referenced
anymore. This change removes BOARD_VNDK_VERSION references and related
logics from Kati, so VNDK deprecation can be fully set without flag.

Bug: 330100430
Test: AOSP CF build succeeded
Change-Id: I9ea5f1236268b99eb731ebf48afd9e595d06ab1a
2024-04-09 14:47:29 +09:00
Spandan Das
1b58833906 Drop HOST_CROSS_OS special-case in source vs prebuilt mainline selection
We currently do not have many products that cross compile to
linux_bionic, and none of them use google apexes.

One exception is `mainline_sdk` product, but this product exclusively
builds using the `mainline` release config. This release config contains
the necessary RELEASE_APEX_CONTRIBUTIONS_* to provide sources during the
build, so we do not need this additional special-case here

Bug: 308188056
Test: lunch trout_arm64-next-userdebug && get_build_var
PRODUCT_PACKAGES; verified that google apexes do not appear there before
this CL, effectively making this CL a no-op for that product

Change-Id: Ibfdc742b6ae01242be22a3d3f6bb3c0cf551705f
2024-04-09 00:20:22 +00:00
Devin Moore
8f608682e4 Merge "Define PRODUCT_HIDL_ENABLED" into main 2024-04-08 20:08:16 +00:00
Daniel Zheng
5f4028b318 Merge "Revert^2 "Turn on V3 cow"" into main 2024-04-08 19:42:29 +00:00
Treehugger Robot
bd7435ad88 Merge "Drop some special casing of source vs prebuilt mainline selection" into main 2024-04-08 19:39:55 +00:00
Joe Onorato
5be7d6abaf Remove extra owners from the core build system
Change-Id: I8c06889c793a0db3e8359d0b33e735404d55ae4e
2024-04-08 11:59:05 -07:00
Hugo Drumond Jacob
a5a59126c8 Merge "Added automotive-sdv-tests" into main 2024-04-08 18:21:43 +00:00
Spandan Das
307224c7d4 Drop some special casing of source vs prebuilt mainline selection
soong config vars are no longer needed to support the following two
special cases
1. Santized builds. google hwasan products have been updated to explicitly list
   PRODUCT_MODULE_BUILD_FROM_SOURCE ag/26576335
2. Coverage builds. product specific overrides of build flags are not
   possible, so apex_contributions.go has been special cased to ignore
   prebuilts. Since RELEASE_APEX_CONTRIBUTIONS_* are now used to select
   prebuilts of mainline modules, we can drop the special-case of
   coverage builds in this .mk file

Bug: 308188056
Bug: 325666427
Test: lunch cf_x86_64_phone-next-userdebug && EMMA_INSTRUMENT=true m
nothing; # verified that no path exists between droid and the prebuilt
bt apex

Change-Id: Ide50e4463615fef5f540130f6a6bce50c00eddb8
2024-04-08 18:02:01 +00:00
Daniel Zheng
a69a26c5b3 Revert^2 "Turn on V3 cow"
e59e31cb9d

Change-Id: Ia31a34856c89348c5efb7f9ff5498e1b0ff45134
2024-04-08 17:39:50 +00:00
Thiago Amanajás
fdf6d4a744 Merge "Added SDV OWNERS" into main 2024-04-08 10:11:18 +00:00
Thiago Amanajas
1fc56abf5e Added SDV OWNERS
BUG: 333039457

Test: Locally
Change-Id: I6c183fb9b77c47ea45351fc286c58fdd661826e5
2024-04-08 09:37:27 +00:00
Thiago Amanajas
7e8a80d857 Added automotive-sdv-tests
BUG: 333039457

Test: Locally
Change-Id: I9e80d2336c54130509730fd388d0bccce8cf22ef
2024-04-08 11:16:46 +02:00
Stephen Ho
6cc2ee7a6d Merge "Revert "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"" into main 2024-04-08 04:06:44 +00:00
Kennet Belenky
31971fb99e Revert "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"
This reverts commit 21a09420c7.

Reason for revert: Identified as a culprit in a test break. https://buganizer.corp.google.com/issues/333124272

Change-Id: Ia5f906077ce40a0dffe09619a89ab2e2fdeb7e69
2024-04-05 23:09:08 +00:00
Devin Moore
6c5aedfbef Define PRODUCT_HIDL_ENABLED
This is used to force HIDL to be enabled for device bring-up when
partners have converted all of their AOSP HAL implementations to AIDL,
but still have some partner-owned interfaces that they are working on
converting from HIDL TO AIDL.

Test: PRODUCT_HIDL_ENABLED = true && adb shell lshal
Test: PRODUCT_HIDL_ENABLED = false && adb shell lshal
Bug: 332548148

Change-Id: I6e6dc6c9e22d31c270e3c3520fc074bbeb349808
2024-04-05 23:06:37 +00:00
Vilas Bhat
667f4ac528 Merge "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets" into main 2024-04-05 20:07:45 +00:00
Spandan Das
9448b6fb73 Drop special-casing of tv in source/prebuilt selection
Removal of this additional special-casing was missed in aosp/3028110

Test: presbumits
Test: used go/abtd to test a handful of targets in tv's release branch
Bug: 308188056
Change-Id: I6af3821f53e0ceeb0c48c921a0c851b9e6d2d5b6
2024-04-05 17:04:35 +00:00
yike
9ec7a00364 Fix is_unit_test in module-info
`is_unit_test` is removed from module-info.json by mistake.

Bug: 309006256
Test: m out/target/product/vsoc_x86_64/module-info.json
Change-Id: I03ccc0efec83fbf5a0c6e548941bba6467ce8cd1
2024-04-05 04:40:57 +00:00
Spandan Das
f01a7d82ee Drop special-casing of atv in source/prebuilt selection
All tv devices on internal CI branches currently build in trunk_staging
config. Since trunk_staging provides sources of mainline modules via
RELEASE_APEX_CONTRIBUTIONS_*, we do not need this special-casing
anymore.

(cs query
https://source.corp.google.com/search?q=ATV.*TARGET_RELEASE.*next%20f:%5C.gcl&sq=)

Test: presbumits
Test: used go/abtd to test a handful of targets in tv's release branch
Bug: 308188056
Change-Id: Iaadd5b9151c8cce3fe0a193f2e5c37d63e6095d4
2024-04-04 23:44:38 +00:00
Spandan Das
8d8f816a0f Merge "Convert BuildIgnoreApexContritbutions variable to a boolean" into main 2024-04-04 17:50:48 +00:00
Daniel Zheng
b80e6a656e Merge "Revert "Turn on V3 cow"" into main 2024-04-03 22:32:14 +00:00