Commit graph

83706 commits

Author SHA1 Message Date
Isaac J. Manjarres
3a7fe9184b Add support for packaging modules.load.recovery into vendor_kernel_boot
Add support for creating a modules.load.recovery file in the
vendor_kernel_boot image when
BOARD_VENDOR_KERNEL_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD is specified.

Bug: 266752750
Change-Id: I430b785c13dca84949da5032e05025385168df07
Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
2023-01-25 17:33:18 -08:00
Dan Albert
0d6d3599a0 Update PYTHONPATH for adb.py restructuring.
Importers of the adb python package like lldbclient.py and gdbrunner
are broken following the restructure that enabled adb to export type
info to importers.

Bug: http://b/266688086
Test: adb.__file__ is no longer None after envsetup.sh/lunch
Change-Id: I7bf27601e800043adee8971c093347ca9b2979a9
2023-01-26 00:09:21 +00:00
Treehugger Robot
b261e8a219 Merge "Fix remote execution of r8 and d8 in make" am: e9c253fe31
Original change: https://android-review.googlesource.com/c/platform/build/+/2393217

Change-Id: Ib6a04b65932db48d34b3079a1b1a2e38aef585fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 23:24:49 +00:00
Treehugger Robot
dd6dc408cd Merge "Use fixed python3 version from prebuilts." am: 4cdadae0c0
Original change: https://android-review.googlesource.com/c/platform/build/+/2401863

Change-Id: I1433285a443aaad805e0dd0484222a3a72419607
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 23:24:17 +00:00
Treehugger Robot
e9c253fe31 Merge "Fix remote execution of r8 and d8 in make" 2023-01-25 23:13:07 +00:00
Treehugger Robot
4cdadae0c0 Merge "Use fixed python3 version from prebuilts." 2023-01-25 21:25:05 +00:00
Treehugger Robot
e3942c7222 Merge "Add GLOBAL_CLANG_CFLAGS_64_NO_OVERRIDE support to Make" am: 13556c40c3
Original change: https://android-review.googlesource.com/c/platform/build/+/2402512

Change-Id: Iba0b314bbe07804be31346a52e23d217b81b918c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 20:29:33 +00:00
Treehugger Robot
13556c40c3 Merge "Add GLOBAL_CLANG_CFLAGS_64_NO_OVERRIDE support to Make" 2023-01-25 19:07:48 +00:00
Sam Delmerico
f2cadbe1c4 Merge "remove unneeded dontwarn settings" am: 738531af25
Original change: https://android-review.googlesource.com/c/platform/build/+/2378047

Change-Id: I8c168de699d75980a6de0763b1dfbf8d26490da4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 16:29:27 +00:00
Alex Buynytskyy
e06771e0fd Use fixed python3 version from prebuilts.
Platform not always provide correct version.

Bug: 260755259
Test: run locally
Change-Id: Idb354b989dcfcfde612f727ef01f47394cc0113e
2023-01-25 08:19:33 -08:00
Sam Delmerico
738531af25 Merge "remove unneeded dontwarn settings" 2023-01-25 16:05:43 +00:00
zijunzhao
deaf24812d Add GLOBAL_CLANG_CFLAGS_64_NO_OVERRIDE support to Make
Bug: b/261642850
Test: Build and check warnings. Add two xfail tests in art and see the
results locally.

Change-Id: I122ee2cbfa37bdb71026781efe6cb7131b873ae0
2023-01-25 04:06:34 +00:00
Treehugger Robot
67fd4674a5 Merge "Script fix." am: 5b00c19558
Original change: https://android-review.googlesource.com/c/platform/build/+/2401852

Change-Id: I710097165c22f1979c21e47d0f6000567ed943f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 01:13:41 +00:00
Treehugger Robot
5b00c19558 Merge "Script fix." 2023-01-24 23:55:47 +00:00
Dennis Shen
c320615931 Set soong config variable TrimmedApex
BUG: b/259381334
TEST: adbd banchan build with setting on and off
Change-Id: I67220735f3a6cb35a8a8676b58e433d97223e428
2023-01-24 20:04:03 +00:00
Alex Buynytskyy
01d9176457 Script fix.
Bug: 260755259
Test: run locally
Change-Id: I69998d69169ceb6d67cd1bb9450251ba8e309b39
2023-01-24 19:32:23 +00:00
Treehugger Robot
6f90294b90 Merge "Disable imgdiff for non-AB OTA" am: 459dcab94e
Original change: https://android-review.googlesource.com/c/platform/build/+/2397413

Change-Id: I53d609c62a976748bad793479c199b6b601ce1f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 18:44:27 +00:00
Treehugger Robot
459dcab94e Merge "Disable imgdiff for non-AB OTA" 2023-01-24 18:14:27 +00:00
Fabián Cañas
95dded3f87 Merge "Add binder transaction recording tool to base system debug packages" am: af79d1dede
Original change: https://android-review.googlesource.com/c/platform/build/+/2393218

Change-Id: I97b63a756be4d3f631b4c578f481863a05ab93c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 16:59:25 +00:00
Sam Delmerico
59570d1e64 remove unneeded dontwarn settings
Some of these -dontwarn settings were added because r8 did not have access to transitive dependencies. Now these dependencies are passed as -libraryjars we can remove some of the -dontwarns.

Test: TARGET_BUILD_VARIANT=userdebug MODULE_BUILD_FROM_SOURCE=true \
  UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true \
  packages/modules/common/build/mainline_modules_arm64.sh -j120
Bug: 242088131
Change-Id: I408a8f3ac9d11c1bd6608f2a18fd2291db8c9275
2023-01-24 11:52:42 -05:00
Prashant Patil
7d9cda1883 AOSP: Added new properties for attestation
Added new properties, which could be set for AOSP/GSI builds.
These properties are going to be used for attestation feature through
Build.java class. Earlier in AOSP builds attestation ids were different
from provisioned ids in Keymint. These properties will be identical to
provisioned ids.

Bug: 110779648
Bug: 259376922
Test: atest VtsAidlKeyMintTargetTest:PerInstance/NewKeyGenerationTest#EcdsaAttestationIdTags/0_android_hardware_security_keymint_IKeyMintDevice_default
Test: atest VtsAidlKeyMintTargetTest:PerInstance/NewKeyGenerationTest#EcdsaAttestationIdTags/1_android_hardware_security_keymint_IKeyMintDevice_strongbox
Test: atest CtsKeystoreTestCases:android.keystore.cts.KeyAttestationTest CtsKeystoreTestCases:DeviceOwnerKeyManagementTest

Change-Id: I9eea5e0f2fabc667b3efedeeefdf12e7b4fc9502
2023-01-24 16:47:54 +00:00
Fabián Cañas
af79d1dede Merge "Add binder transaction recording tool to base system debug packages" 2023-01-24 16:24:54 +00:00
Treehugger Robot
6dd2a42b20 Merge "Update scripts to reflect most recent state." am: 3b120bebce
Original change: https://android-review.googlesource.com/c/platform/build/+/2359360

Change-Id: I439630266fa572e7b47ca04c824b895459341ed9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 08:17:54 +00:00
Treehugger Robot
3b120bebce Merge "Update scripts to reflect most recent state." 2023-01-24 07:53:05 +00:00
Treehugger Robot
1bb2046f95 Merge "Fix non-AB OTA signing issue" am: b62c0fdcaa
Original change: https://android-review.googlesource.com/c/platform/build/+/2397412

Change-Id: I36fa6b6317249cabe73ed9794297ec9466353091
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 05:32:06 +00:00
Treehugger Robot
b62c0fdcaa Merge "Fix non-AB OTA signing issue" 2023-01-24 04:51:44 +00:00
Kelvin Zhang
e8ce38450f Disable imgdiff for non-AB OTA
imgdiff assumes that libz produces identical output across different
platforms, which is sometimes not the case. This causes incremental OTA
on non-AB targets to fail ocassionally. For stability, disable imgdiff.

Test: th
Bug: 265895599
Change-Id: I92d09a50762ec69a79caa37ed4d6e0db1ec8a47a
2023-01-23 20:43:09 -08:00
Alex Buynytskyy
5837cc2efe Update scripts to reflect most recent state.
Bug: 260755259
Test: run locally
Change-Id: I26346f917b78d1c14b2248bae44626d7544b7a58
2023-01-24 03:55:37 +00:00
Android Build Coastguard Worker
e273869df5 Version bump to TQ2A.230305.003 [core/build_id.mk]
Change-Id: I250dd2cde623479cef4cb773ed3e578f18136c99
2023-01-24 01:32:12 +00:00
Treehugger Robot
c7f5895670 Merge "remove health library from VNDK" am: b8470994b4
Original change: https://android-review.googlesource.com/c/platform/build/+/2319371

Change-Id: I245141b6bbb91d2d139071d95db8e076fc2e3330
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 01:20:04 +00:00
Treehugger Robot
b8470994b4 Merge "remove health library from VNDK" 2023-01-24 00:52:34 +00:00
Jack Wu
dbbe29a15f remove health library from VNDK
Bug: 251425963
Test: build
Change-Id: I368f51bf66e117acee791d3a52eda4bb9b7be411
Signed-off-by: Jack Wu <wjack@google.com>
2023-01-24 00:41:13 +00:00
Treehugger Robot
918c4d3947 Merge "Fix dependency issues for vbmeta.img target" am: 84db323873
Original change: https://android-review.googlesource.com/c/platform/build/+/2399154

Change-Id: I19ebf6d410d6aed2db2f64fdcc724a3af7b21630
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 23:56:14 +00:00
Treehugger Robot
84db323873 Merge "Fix dependency issues for vbmeta.img target" 2023-01-23 23:22:45 +00:00
Bo Hu
7624c44f1d Merge "emulator: do not enforce 8G system image partition" am: 7012508bf5
Original change: https://android-review.googlesource.com/c/platform/build/+/2393534

Change-Id: Idc41e5f4118c7e7aa0b082ed4031892e8d05e252
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 19:54:06 +00:00
Fabián Cañas
d8beee09b8 Add binder transaction recording tool to base system debug packages
Test: Make a fresh image. Use and explore with `record_binder`
Change-Id: I4ab24d34c17218b816143864f69819e9ce70e6ae
2023-01-23 14:45:40 -05:00
Kelvin Zhang
0841b9076b Fix dependency issues for vbmeta.img target
Extra space in variable names causes dependencies for
INSTALLED_VBMETAIMAGE_TARGET to be missing. Remove extraneous sspaces.

Bug: 263568805
Test: lunch cuttlefish,  m distclean, m, and check
$OUT/vbmeta_vendor_dlkm.img

Change-Id: If818a8af42c407a7213f58a7142dffb9dee1fd16
2023-01-23 11:12:26 -08:00
Bo Hu
7012508bf5 Merge "emulator: do not enforce 8G system image partition" 2023-01-23 18:54:33 +00:00
Kelvin Zhang
f80e886273 Fix non-AB OTA signing issue
After aosp/2201756 , caller must explicitly pass signing key as a
parameter to FinalizeMetadata . We forgot to update non_ab.py ,
therefore causing non-AB OTAs to be unsigned.

Test: th
Bug: 265895599
Change-Id: Ia54b1105f37b6574742b9b55d715fc9c61c223eb
2023-01-20 10:18:11 -08:00
Baligh Uddin
f5ef99054d Merge "Switch check_targetfiles_vintf to use the correct blkid binary." am: 9f63b29083
Original change: https://android-review.googlesource.com/c/platform/build/+/2395620

Change-Id: I655deb975bed07917009091fa073ff9090f9ce5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 05:32:57 +00:00
Baligh Uddin
9f63b29083 Merge "Switch check_targetfiles_vintf to use the correct blkid binary." 2023-01-20 05:07:18 +00:00
Treehugger Robot
bd2e23ee99 Merge "Add aosp_riscv64 to AndroidProducts for TARGET_BUILD_APPS" am: 96159b063d
Original change: https://android-review.googlesource.com/c/platform/build/+/2393219

Change-Id: Ibade628e5d41b8040e4fdd2f0df53d04ab6c38c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 04:19:08 +00:00
Treehugger Robot
96159b063d Merge "Add aosp_riscv64 to AndroidProducts for TARGET_BUILD_APPS" 2023-01-20 03:54:11 +00:00
Motomu Utsumi
7d212c2027 Merge "Remove cronet from PRODUCT_PACKAGES" am: 95bfc2b8f5
Original change: https://android-review.googlesource.com/c/platform/build/+/2248673

Change-Id: I54728244ad739f1dc804a65b194d73d5fa518808
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 02:40:05 +00:00
Motomu Utsumi
95bfc2b8f5 Merge "Remove cronet from PRODUCT_PACKAGES" 2023-01-20 02:03:26 +00:00
Baligh Uddin
66dbfde748 Switch check_targetfiles_vintf to use the correct blkid binary.
BUG: 264426585
Test: TH
Change-Id: Iefe86e78c3e607ac27a5197d45fa832fa281c09d
2023-01-20 00:56:54 +00:00
Android Build Coastguard Worker
f966be7773 Version bump to TQ2A.230305.002 [core/build_id.mk]
Change-Id: I8ec25a672e24ed7098572fb063b9463a850e8ef3
2023-01-20 00:42:39 +00:00
Colin Cross
4dc7c85153 Add aosp_riscv64 to AndroidProducts for TARGET_BUILD_APPS
Allow building unbundled prebuilts for aosp_riscv64.

Test: TARGET_BUILD_APPS=CtsShim TARGET_PRODUCT=aosp_riscv64 m
Change-Id: If563f2e9b6c0181ad2465367e30bb283bea1fcf9
2023-01-19 14:58:07 -08:00
Ibrahim Kanouche
e46645a3fd Merge "Fixed typos and naming for SPDX validation" am: 451eed2051
Original change: https://android-review.googlesource.com/c/platform/build/+/2394434

Change-Id: I40ea2de97f9822ded5eaa00c8a0480d10dfb62e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-19 22:57:22 +00:00
Treehugger Robot
3740d039e1 Merge "Package blkid_static in otatools" am: de15310cc0
Original change: https://android-review.googlesource.com/c/platform/build/+/2395612

Change-Id: I0364ba75649b2c46f08c0a8d76a34ec1419cc739
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-19 22:56:59 +00:00