Commit graph

37090 commits

Author SHA1 Message Date
Treehugger Robot
83f8fb1643 Merge "Add appcompat system properties flag to soong" into main 2024-04-24 22:35:37 +00:00
Treehugger Robot
b2050366ef Merge "Allow specifying load order for 16K kernel modules" into main 2024-04-24 22:07:34 +00:00
Treehugger Robot
7123699d09 Merge "Drop INDIVIDUALLY_TOGGLEABLE_PREBUILT_MODULES" into main 2024-04-24 01:30:43 +00:00
Spandan Das
8ec0862bdd Drop INDIVIDUALLY_TOGGLEABLE_PREBUILT_MODULES
This list is used to create soong config namespaces per toggle-able
module, and set source_build property. internal and partner branches now
use RELEASE_APEX_CONTRIBUTIONS_* for source vs selection, so remove this
mechanism to prevent confusing behaviors when these two mechanisms have
conflicting values.

`art_module.source_build` is a special-case which uses an additional variable
`ART_MODULE_SOURCE_BUILD`. This will be tracked in
https://r.android.com/3037396

Bug: 308188056
Test: presubmits
Test: downloaded this CL in v-aml branch, m
out/soong/prebuilt_info.json; file is identical

Merged-In: I3f9cbb24d6f3a7a0312683906826708147f469ee
Change-Id: I3f9cbb24d6f3a7a0312683906826708147f469ee
2024-04-24 00:44:59 +00:00
Nikita Ioffe
ed8bd8aaf4 Add PRODUCT_AVF_MICRODROID_GUEST_GKI_VERSION to _product_single_value_vars
Forgot to add it in aosp/3044155.

Bug: 325991735
Test: m
Change-Id: I21d08b85b25426e498fc90c90729f7cb01f1f9d1
2024-04-23 18:34:52 +00:00
Treehugger Robot
96407369b1 Merge "Add soong config variables for selinux" into main 2024-04-23 01:14:44 +00:00
Wei Li
7f2b0fe594 Merge "Add license metadata declarations." into main 2024-04-22 22:52:37 +00:00
William McVicker
adc3664dd2 Merge "Add new product property to detect if PAGE_SIZE is defined" into main 2024-04-22 18:30:04 +00:00
Kelvin Zhang
980aded04f Allow specifying load order for 16K kernel modules
Test: th
Bug: 293313353
Change-Id: Iffd5f064973fc9a2503f2fde32bc1c6d548d9c33
2024-04-19 20:35:34 -07:00
Nate Myren
eed5dcf31e Add appcompat system properties flag to soong
Bug: 331307495
Test: m
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7e5f93f3cccdc38a25e6b9304752f0b2f7f8b0b9)
Merged-In: I554c499f6239e62c33640a81d9da73545fc7631b
Change-Id: I554c499f6239e62c33640a81d9da73545fc7631b
2024-04-19 19:07:40 +00:00
Paul Duffin
56ac6da961 Use new metalava jar-to-diff command
Replaces the use of `--input-jar-file` and `--api-xml` with the newly
added `jar-to-diff` command.

Test: TARGETS=$(for i in api.xml system-api.xml module-lib-api.xml system-server-api.xml test-api.xml; do echo out/target/common/obj/$i; done)
      m $TARGETS
      # Diff $TARGETS with and without this change to make sure that
      # they are identical, which they are.
Change-Id: I6a78febb4b2e4d06a0b3aea29fb4a7f94c9ab9a4
2024-04-19 12:34:47 +01:00
Jim Tang
ccd1f73c5f Merge "Deprecate USE_PREBUILT_SDK_TOOLS_IN_PLACE" into main 2024-04-19 00:47:08 +00:00
Daniel Zheng
b24b46d43f Merge "add build property for compression_factor" into main 2024-04-18 20:59:40 +00:00
Nikita Ioffe
d0d74d2038 Merge "Propagate PRODUCT_AVF_MICRODROID_GUEST_GKI_VERSION to soong" into main 2024-04-18 20:03:53 +00:00
Daniel Zheng
270130a025 add build property for compression_factor
Compression factor, as discussed, should be a configurable build
property. This flag here will control that. From initial analysis, it
looks like 64k is a good default. go/variable-block-vabc-perf

Bug: 313962438
Test: th
Change-Id: I2bddede22655e36446e734ac1917be560b1a3a1b
2024-04-18 11:22:26 -07:00
Daniel Zheng
78986f598f Merge "Revert^2 "Turn on V3 cow"" into main 2024-04-18 16:54:15 +00:00
Jim Tang
b9cc101bca Deprecate USE_PREBUILT_SDK_TOOLS_IN_PLACE
USE_PREBUILT_SDK_TOOLS_IN_PLACE is not set anywhere else after
aosp/3043552 lands.

Bug: 122333025
Bug: 332464939
Test: m
Change-Id: I55490cdc0a7036263876ecbb322cc5b4af8d1959
2024-04-18 14:12:15 +08:00
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
Nikita Ioffe
fff0d2d02f Propagate PRODUCT_AVF_MICRODROID_GUEST_GKI_VERSION to soong
Bug: 329383978
Test: m
Change-Id: Ie955058379c1aa00c90b42e348f8b270a0719c8a
2024-04-16 23:28:40 +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
Daniel Zheng
4023fdfc04 Revert^2 "Turn on V3 cow"
This reverts commit fa5bfb9d79.

Reason for revert: we were running into OTA failures b/333966507. The reason was that OTA compatibility tools on go/absign weren't updated with our v3 compatibility tools (which turns of v3 full OTA for devices launching prior to Android 15). Once we know that go/absign is updated, we can check in this change again

Change-Id: I789c24b57754d6ede794d7f9451ee0ca469c2fb4
2024-04-16 15:46:11 +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
Wei Li
6b5caf0f7f Add license metadata declarations.
They are moved from:
- device/generic/car/Android.mk
- device/generic/trusty/Android.mk
- device/generic/uml/Android.mk
- device/google_car/common/Android.mk
- device/google/atv/Android.mk

With this CL the Android.mk files can be deleted.

Bug: 309884347
Test: CIs
Change-Id: I8c27c1add6c27eb8d651779f39bb4d951acaf613
2024-04-15 22:28:39 +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
Inseob Kim
2d92565fe8 Add soong config variables for selinux
Bug: 329208946
Test: m selinux_policy aosp_cf_system_x86_64 and compare two
Change-Id: I70b316244016b8ad4cefbc71b97eab2010676a3a
2024-04-12 10:29:45 +09: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