Commit graph

93250 commits

Author SHA1 Message Date
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
Daniel Zheng
7102baaf65 Turn on V3 cow
On all api levels shipping higher than 34 (pixel 8), we want to enable
v3 cow version of the cow format

We need to make this change in product_config.mk since PRODUCT variables
have special interactions with inherit-product. PRODUCT_SHIPPING_API_LEVEL
is defined in device.mk and is unavailable to the parent makefile
(PRODUCT vars are cleared at the beginning of makefiles?).
Having the fallback vabc_cow_version in this file allows us to avoid the
hack below (we would have to modify each device.mk to add a temporary variable)

alternate solution:

We have to create a new variable SHIPPING_API_LEVEL that is a duplicate
of PRODUCT_SHIPPING_API_LEVEL. This is a hack to workaround the
inheritance flow (since vabc_features.mk -> android_t_baseline.mk ->
device.mk).This hack allows this variable to be seen by the parent
.mk file

Bug: 313962438
Test: u->v upgrade path for pixel 8.  v->u dowgrade path for pixel 8
Change-Id: I6e1480e461c20a2fb07c5339828df0e6f6c0f9ec
2024-03-05 12:01:05 -08:00
Daniel Zheng
474afa8f06 fallback on older cow version
If a device's source or target cow version is specified at 2 (or
undefined) we should fallback on using the v2 writer.

e.g.
1. v3 -> v2 downgrade OTA
2. v2 -> v3

Bug: 322279333
Test: ota_from_target_files
Change-Id: I8c5139eceeb64ee255ddea66017b3e17bbdc44c0
2024-02-28 20:47:20 -08:00
Steven Moreland
e6045f8b74 Merge "system += misctrl" into main 2024-02-22 18:57:01 +00:00
Luca Farsi
d84d2b056c Merge "Build the general tests host shared libs." into main 2024-02-22 18:29:13 +00:00
Nishant Panwar
4070731507 Merge "Add SDK library framework-pdf-v in MediaProvider" into main 2024-02-22 06:32:14 +00:00
Daniel Zheng
7bc57fedfc Merge "add 256k support" into main 2024-02-22 01:09:50 +00:00
Treehugger Robot
7f081d9262 Merge "Add crashrecovery build flag to move files" into main 2024-02-21 22:05:18 +00:00
Ted Bauer
30512e43be Merge "aconfig: introduce new aflags CLI" into main 2024-02-21 22:04:01 +00:00
Daniel Zheng
cedc765ca2 add 256k support
Adding 256k support for ota_from_target_files since this is the max
comperssion_factor allowed in v3 cow

Test: ota_from_target_files
Change-Id: Ic7826c82e53ec3fdbd04fdff9dfb7a76038f6a42
2024-02-21 13:33:02 -08:00
Treehugger Robot
97d0ec9b05 Merge "Move RELEASE_PLATFORM_VERSION_KNOWN_CODENAMES out to release configs." into main 2024-02-21 21:23:57 +00:00
Luca Farsi
5722c941ca Build the general tests host shared libs.
Build general-tests-shared-libs as it's an expected output of building
general-tests.

Test: BUILD_NUMBER="P0" ./build/make/ci/build_test_suites --target_product aosp_x86_64
--target_release trunk_staging --with_dexpreopt_boot_img_and_system_server_only --dist_dir <dist_dir> --change_info <change_info_file> <extra_targets>
Bug: 314171817

Change-Id: I2c18f41079d6db8621299734398b7a9df64930db
2024-02-21 12:18:49 -08:00
Luca Farsi
9d24ed057f Merge "Build config file zips" into main 2024-02-21 20:06:15 +00:00
Luca Farsi
ba6f6806c6 Merge "Split out host shared libs target from general-tests" into main 2024-02-21 20:05:54 +00:00
Ted Bauer
4dbf58a187 aconfig: introduce new aflags CLI
Add a new CLI binary that we can use as the officially recommended CLI
for reading and writing flags. For now, the CLI invokes commands to
interact with DeviceConfig and aconfig protos, but we will switch it to
interact with the forthcoming mmap-file-based aconfig storage. In the
meantime, we can add improved formatting and error reporting in a
separate layer.

This CL starts with the list command, which outputs a table of the
flags when you type `adb shell aflags list`.

Bug: 324436145
Test: atest aflags.test
Change-Id: Idd8aa78ccaace22a7e490014d410ad741f8f6fc6
2024-02-21 13:23:49 -05:00
Dennis Shen
b954de7d0c Merge "aconfig: add storage flag read api integration tests to test mapping" into main 2024-02-21 18:18:11 +00:00
Dennis Shen
9c080e7544 aconfig: add storage flag read api integration tests to test mapping
Bug: b/321077378
Test: atest aconfig_storage.test.rust; atest aconfig_storage.test.cpp
Change-Id: I6920b45e4f968efedcdd6afb8c68314baa02327f
2024-02-21 18:18:04 +00:00
Harshit Mahajan
9edbf981f2 Add crashrecovery build flag to move files
Files need to be moved from platform to the new apex.
Adding a flag to control this movement.
More Details: go/conditionally-move-android-files

Bug: b/289203818
Test: m
Change-Id: Id3674bd6a8a32f64d189b8ac17b222b9d7966f69
Merged-In: Id3674bd6a8a32f64d189b8ac17b222b9d7966f69
2024-02-21 18:16:51 +00:00
Ian Kasprzak
1b2eea56e6 Move RELEASE_PLATFORM_VERSION_KNOWN_CODENAMES out to release configs.
We have more known codenames then we are releasing, and need a way to
override this in release configs.

Bug: 307733231
Test: m nothing
Change-Id: I2215dc449ca28cae253f514183507550b58f267b
Merged-In: I2215dc449ca28cae253f514183507550b58f267b
(cherry picked from commit 569b9e08fa)
2024-02-21 17:12:16 +00:00
Hsin-Yi Chen
bc5a4271ee Merge "Define a make target for all LLNDK dumps" into main 2024-02-21 07:42:50 +00:00
Hsin-Yi Chen
23d855680c Define a make target for all LLNDK dumps
- Define findlsdumps_LLNDK that vFRC process will build.
- Move LSDUMP_PATHS_FILE to target/product/gsi/Android.mk.
- Allow LLNDK dumps in prebuilts/abi-dumps/vndk.

Test: m findlsdumps_LLNDK check-vndk-list
Bug: 314010764
Change-Id: I6329cd4b1b919069291a13bd03720ceea46b95ff
2024-02-21 03:46:57 +00:00
Luca Farsi
88feffcb1a Build config file zips
Build general-tests_configs.zip and general-testlist.zip as part of the
build_test_suites step, which general-tests also outputs.

Test: BUILD_NUMBER="P0" ./build/make/ci/build_test_suites --target_product aosp_x86_64
--target_release trunk_staging --with_dexpreopt_boot_img_and_system_server_only --dist_dir <dist_dir> --change_info <change_info_file> <extra_targets>
Bug: 314171817

Change-Id: Ic324ed4e5a05e1308dee3af7f15c067f88018b2d
2024-02-20 17:33:32 -08:00
Luca Farsi
a677887047 Split out host shared libs target from general-tests
Split out the building of the host shared libs zip from the
general-tests target so it can be built separately. building
general-tests will still build both.

Test: m general-tests, m general-tests-shared-libs
Bug: 314171817
Change-Id: I99f6d7ae5578d8bc97ddc0c047398defbf9b8cc9
2024-02-20 14:06:02 -08:00
Spandan Das
9001b9afbf Merge "Revert "Revert "Create a product variable for skipping apex cont..."" into main 2024-02-20 07:53:04 +00:00
Nikita Ioffe
68e2e5375c Merge "Remove unused PRODUCT_AVF_KERNEL_MODULES_ENABLED" into main 2024-02-19 17:29:09 +00:00
Treehugger Robot
7298b076e1 Merge "Disable reboot to ram dump on zygote crash loop for -eng builds" into main 2024-02-18 13:45:25 +00:00
Nishant Panwar
6d0576122a Add SDK library framework-pdf-v in MediaProvider
SDK library for pdf related bootclasspath classes that were part of the non-updatable API before V, and were moved to the module in V. Other pdf related bootclasspath classes in mediaprovider should go to framework-pdf.

Bug: b/324667310
Test: presubmit and m
Change-Id: I92aabf297508f2c885a721d11d40b5262b6847fe
2024-02-17 05:09:00 +00:00
Spandan Das
7416360cb3 Revert "Revert "Create a product variable for skipping apex cont..."
Revert submission 2966055-revert-2964509-skip-apex-contributions-EOKWOFHENC

Reason for revert: The root cause CL has been reverted https://googleplex-android-review.git.corp.google.com/c/platform/vendor/google/build/+/26268799

Reverted changes: /q/submissionid:2966055-revert-2964509-skip-apex-contributions-EOKWOFHENC

Change-Id: I9a40b652d38f1a4a4693e0cdb66cbe48632bafff
2024-02-17 03:31:51 +00:00
Treehugger Robot
cdf6054f03 Merge "Revert "Create a product variable for skipping apex contribution..."" into main 2024-02-17 02:24:02 +00:00
Jihoon Kang
8804a8e2bd Revert "Create a product variable for skipping apex contribution..."
Revert submission 2964509-skip-apex-contributions

Reason for revert: 325666427

Reverted changes: /q/submissionid:2964509-skip-apex-contributions

Change-Id: I0172bdf99adce7b0eef42161c79cc7c1fdf977eb
2024-02-16 23:25:08 +00:00
Steven Moreland
7da596feca system += misctrl
Generic utility for managing the misc partition.

Bug: 317262681
Test: boot, check logs + bugreport
Change-Id: I249efeed4c8757ad0b849ecee0bfcab86d0cdcd6
2024-02-16 22:31:15 +00:00
Devin Moore
18a2ebc4ab Merge "consolidate filter commands for check_vintf_vendor_deps" into main 2024-02-16 18:36:55 +00:00
Devin Moore
6795ca7804 consolidate filter commands for check_vintf_vendor_deps
It's faster to make one filter call.

Test: m
Bug: none
Change-Id: I629d30d8e63c8ac6d75334acc2b21acce352c43e
2024-02-16 18:00:08 +00:00
Mitch Phillips
0b29218f80 Merge "Re-enable MTE stack on fullmte builds." into main 2024-02-16 09:01:34 +00:00
Inseob Kim
1bcaa80f76 Merge "Fix characteristic rro for overridden packages" into main 2024-02-16 01:41:48 +00:00
Devin Moore
806e5c5874 Merge "Add system_ext deps to check-vintf-all" into main 2024-02-16 01:24:34 +00:00
Devin Moore
b1a331683b Add system_ext deps to check-vintf-all
The GSIs provide some framework HALs through system_ext so
check-vintf-all needs to depend on them in order to have them available
when checking with vitffm.

Test: lunch aosp_arm64-trunk_staging-userdebug && m check-vintf-all
Bug: 266741352
Change-Id: Id3eaad3a839c72a25aa8921a93de82bb119b0d8f
2024-02-15 22:39:20 +00:00
Nikita Ioffe
01767ec382 Merge "Propagate RELEASE_AVF_MICRODROID_KERNEL_VERSION to Soong" into main 2024-02-15 19:19:47 +00:00
Treehugger Robot
c5d860613b Merge "Add new team rules" into main 2024-02-15 13:37:23 +00:00
Jiyong Park
de8af59856 Disable reboot to ram dump on zygote crash loop for -eng builds
Bug: 323566535
Test: check sysprop
Change-Id: I4ee3b119bf4a0ff21c8e6d92e74eee084a54867e
2024-02-15 18:18:06 +09:00
Spandan Das
6d7a094dd0 Merge "Create a product variable for skipping apex contribution contents" into main 2024-02-15 08:10:57 +00:00
Spandan Das
debf166cad Create a product variable for skipping apex contribution contents
This denylist will be used to ignore the prebuilt google apexes listed
in apex_contributions of vendor/google/build when building aosp products
in next.

Test: in main, lunch aosp_cf_x86_64_phone-next-userdebug && m nothing
(with ag/25842580)
Bug: 308187268

Change-Id: I5330b44caf15193a00f1e255cef24b67c794382b
Merged-In: I5330b44caf15193a00f1e255cef24b67c794382b
2024-02-15 01:38:50 +00:00
Dennis Shen
c670bae629 Merge "aconfig: aconfig storage cpp api on device integration test" into main 2024-02-14 22:36:22 +00:00
Yu Liu
38544a3fec Merge "Fix the changing public api CUJ failure." into main 2024-02-14 18:01:46 +00:00
Ronish Kalia
8f39d93c3a Add new team rules
Bug: 304529413
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bb7f3f628cbfc4c7bc22212b95bac3dc28f84405)
Merged-In: Ia9e97d1a2df50a100984aa6c99f25bedbb8319f4
Change-Id: Ia9e97d1a2df50a100984aa6c99f25bedbb8319f4
2024-02-14 17:59:41 +00:00
Jihoon Kang
c7521afdc5 Merge "Modify dependencies of fake_device_config" into main 2024-02-14 17:38:15 +00:00
Ivan Lozano
6a04d1e5de Merge "Revert "aconfig: remove libcxx dependency for now"" into main 2024-02-14 14:17:13 +00:00
Inseob Kim
620a234d3f Fix characteristic rro for overridden packages
Overridden packages can have different package names. This change reads
output APKs to parse package name, instead of manifest xml.

Bug: 325011777
Test: boot and idmap2 dump
Change-Id: Iafd792b6fb9c8548441c8ca5c9216be160028088
2024-02-14 16:57:34 +09:00
Yu Liu
473bb051c1 Fix the changing public api CUJ failure.
Bug: 318706915
Test: ABTD
Change-Id: I7de7ed5a0d1e805fa32d2c9bb1f632e107c6c31e
2024-02-13 23:46:06 +00:00
Treehugger Robot
ae025131ba Merge "Test modules should always be last" into main 2024-02-13 22:04:05 +00:00