Commit graph

82927 commits

Author SHA1 Message Date
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
84db323873 Merge "Fix dependency issues for vbmeta.img target" 2023-01-23 23:22:45 +00: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
Baligh Uddin
9f63b29083 Merge "Switch check_targetfiles_vintf to use the correct blkid binary." 2023-01-20 05:07:18 +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
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
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
451eed2051 Merge "Fixed typos and naming for SPDX validation" 2023-01-19 22:29:08 +00:00
Treehugger Robot
de15310cc0 Merge "Package blkid_static in otatools" 2023-01-19 22:26:04 +00:00
Treehugger Robot
639fa7fbf6 Merge "envsetup: add tomlgrep and jsongrep" 2023-01-19 21:06:46 +00:00
Baligh Uddin
9170e897d0 Package blkid_static in otatools
BUG: 264426585
Test: TH
Change-Id: Ie34719e98619d18dc35add80595eddd867eaf38f
2023-01-19 18:20:55 +00:00
Akilesh Kailash
529aa12817 Merge "Enable Batch writes for OTA installation." 2023-01-18 23:15:34 +00:00
Ibrahim Kanouche
aef5110fbe Fixed typos and naming for SPDX validation
Test: m compliance_sbom
Change-Id: I39edb73e11afc9050a2481a899b19f8f10eb7e72
2023-01-18 22:49:17 +00:00
Treehugger Robot
2797146c86 Merge "Fix generic ramdisk build failures on dedicated recovery partitions" 2023-01-18 19:25:57 +00:00
Bo Hu
7fb8a697aa emulator: do not enforce 8G system image partition
Only use 8G as default size, when product does not specify
the system image sizes.

Bug: 265440010
Test: build and check sizes

Change-Id: I8da862482600d06eda9b84d0cc5db65f713067b5
2023-01-18 11:09:03 -08:00
Treehugger Robot
854afb6673 Merge "Remove usages of SOONG_MODULES_CFLAG_ARTIFACTS" 2023-01-18 18:07:07 +00:00
Devin Moore
6e04deaec9 Merge "Replace the HIDL cas service from default vendor images" 2023-01-18 17:36:03 +00:00
Ibrahim Kanouche
cf066f01f3 Merge "Add deps tracking for SBOMs" 2023-01-18 16:11:49 +00:00
Hsin-Yi Chen
bed1ff2372 Merge "Update check-vndk-list rules" 2023-01-18 13:42:53 +00:00
Akilesh Kailash
9210c0c377 Enable Batch writes for OTA installation.
By default set `ro.virtual_ab.compression.threads` it to false.
Enabling this will improve OTA install time at the cost
of one more CPU.

Bug: 254188450
Test: OTA on Pixel
Change-Id: Idf1fa950a5fc394f0d783d80c84045295185fb85
Signed-off-by: Akilesh Kailash <akailash@google.com>
2023-01-18 06:20:37 +00:00
Treehugger Robot
e473190d52 Merge "Resubmit: Initial add wvts to build" 2023-01-18 00:17:45 +00:00
Cole Faust
bd5eab8477 Remove usages of SOONG_MODULES_CFLAG_ARTIFACTS
No longer used.

Bug: 262629589
Test: m nothing
Change-Id: I3d9acf9fc3e205588161c9fb50fbe757f764d6bb
2023-01-17 15:38:33 -08:00
Kelvin Zhang
1143aaf772 Fix generic ramdisk build failures on dedicated recovery partitions
For targets with BoardUsesRecoveryAsBoot set to true, binaries in
generic_ramdisk are installed to $OUT/recovery/root/first_stage_ramdisk
This path is not on generic_ramdisk.mk 's allowlist, hence build fails.
To fix the failure, add $OUT/recovery/root/first_stage_ramdisk/system to
allow list.

Test: th, lunch eos-userdebug(a dedicated recovery partition target) and build.

Bug: 265477065
Change-Id: I89cf229adc028a7e5de632b9a3188ecb411de735
2023-01-17 17:11:55 +00:00
Ibrahim Kanouche
649b4d741c Add deps tracking for SBOMs
Test: m compliance_sbom

Bug: 242220547
Change-Id: Ife93e0e1cdc43490818798922d574ae1b1d441d1
2023-01-16 16:44:22 +00:00
Treehugger Robot
b80d9d6c33 Merge "Allow vendors to add custom vbmeta partitions" 2023-01-14 00:23:02 +00:00
Treehugger Robot
1ecedfc353 Merge "Allow otatools to deduce partial partition list from input" 2023-01-13 18:00:34 +00:00
Elliott Hughes
12d8a59513 Merge "zipalign/ziptime: use ftello()/fseeko()." 2023-01-13 14:52:05 +00:00
Kelvin Zhang
b81b4e3621 Allow vendors to add custom vbmeta partitions
Currently we only have vbmeta_system and vbmeta_vendor. Add
BOARD_AVB_VBMETA_CUSTOM_PARTITIONS , which allows OEMs to define
their own vbmeta_*.img partitions. example: aosp/2381823

Bug: 263568805
Change-Id: Id671e2c3aee9ada90256381cce432927df03169b
2023-01-12 17:34:42 -08:00
Elliott Hughes
04434739a2 zipalign/ziptime: use ftello()/fseeko().
Even if we were shipping 64-bit Windows host tools (which we still
aren't), this would still be a bug. Windows is LLP64 instead of LP64,
so the long that ftell()/fseek() uses isn't big enough for a 64-bit off_t.

Test: treehugger
Change-Id: I4e24afe811ff9b7d5696887cc5ee92e54e4a3b76
2023-01-13 00:41:38 +00:00
Treehugger Robot
3d3c7ee1d9 Merge "Add test for bazel server shutdown/restart" 2023-01-12 21:48:07 +00:00
Devin Moore
4f5534b0d3 Replace the HIDL cas service from default vendor images
This has been converted to AIDL.

Test: none
Bug: 227673974
Change-Id: I7eaef8da34d29c448358749d331758cbed7851df
2023-01-12 19:17:57 +00:00
Jooyung Han
8ee63e4ee8 Merge "vendor/etc/linker.config.pb from multiple input files" 2023-01-12 06:46:39 +00:00
Treehugger Robot
4556196c78 Merge "Ovewrite build props in all ramdisk fragments" 2023-01-11 10:40:34 +00:00
Kelvin Zhang
30669e6c29 Ovewrite build props in all ramdisk fragments
Under some build configuration, there could be build prop stored under
path VENDOR_BOOT/RAMDISK_FRAGMENTS/recovery/RAMDISK/default.prop .
When signing, we must overwrite all build props, or device would display
incorrect build fingerprint.

Bug: 264853953
Change-Id: Id3b176b4ce4efa348ecfb3c9848f72273c5ccca8
2023-01-10 21:09:14 -08:00
Robert Shih
1b73bfbd97 Resubmit: Initial add wvts to build
[ Merge of pa/2264578 ]

Test: make wvts

Bug: 209663123
Change-Id: If1382ed06a93bc34d327ee88bf46ff290e84f786
2023-01-11 00:55:50 +00:00
Kun Niu
33790fc855 Merge "Set UNBUNDLED_BUILD_SDKS_FROM_SOURCE to true by default in module_common.mk if the branch is not using slim manifests. This makes sure that mainline modules build locally are using the build from source sdk." 2023-01-11 00:03:59 +00:00
Dan Sinkiewicz
e61203da9c Merge "Revert "Initial add wvts to build"" 2023-01-10 18:56:57 +00:00
Robert Shih
57fe3f6041 Revert "Initial add wvts to build"
This reverts commit 588f2e62da.

Reason for revert: b/265032293

Change-Id: I6a9dd24cfef2256288170f5bf59d24604f05d4d2
2023-01-10 18:51:18 +00:00
Chih-hung Hsieh
380635abec Merge "Fix uninitialized value warnings." 2023-01-10 18:46:09 +00:00
Robert Shih
0f8236bb24 Merge "Initial add wvts to build" 2023-01-10 18:27:26 +00:00
Jeff Vander Stoep
f5f5146415 envsetup: add tomlgrep and jsongrep
This is useful for searching Rust config files in external.

Test: cd external/rust/crates; tomlgrep foo
Change-Id: I1ff5118a8eee1a95f1bc6fa44c922673a03ebd8b
2023-01-10 14:09:45 +01:00
Jooyung Han
da2d4a29bf vendor/etc/linker.config.pb from multiple input files
When we have dedicated .mk files for each modules (e.g. usb, drm, etc)
and those modules have their own linker configuration requirements, it
would make more sense to have "fragments" for linker configuration.

This change introduces a new list variable to store the list of linker
configuration fragments. When it's set, vendor/etc/linker.config.pb is
generated from the list of input fragments.

Bug: 264330513
Test: set PRODUCT_VENDOR_LINKER_CONFIG_FRAGMENTS
Test: m vendorimage (generates vendor/etc/linker.config.pb)
Change-Id: I9eed0f90add0191885b7195efdab94b5b1a4a62d
2023-01-10 11:57:23 +09:00
Chih-hung Hsieh
951f8c3130 Merge "Make DeprecatedOrUnsafeBufferHandling not high severity" 2023-01-10 02:15:35 +00:00
Chih-Hung Hsieh
fed64e390f Fix uninitialized value warnings.
Bug: 263274255
Test: presubmit; make tidy-build-make_subset
Change-Id: I33c8b0b006732e4351a15774b50036d10ffd26b5
2023-01-10 00:52:02 +00:00
Cole Faust
5065c690dd Merge "Remove duplicates from VendorVars maps" 2023-01-09 22:50:04 +00:00
Chih-Hung Hsieh
1a1f90e49a Make DeprecatedOrUnsafeBufferHandling not high severity
This tidy check has been disabled by default globally,
in build/soong/cc/config/tidy.go.
Local projects can enable it to find/fix such issues,
but if not fixed, it should not be treated as a
high severity one and not to alarm daily builds.

Bug: 227361697
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: Ifa65a788ddc6a67ed3250d5bed737c6e3b153617
2023-01-09 14:19:11 -08:00
Hsin-Yi Chen
ede358bde1 Update check-vndk-list rules
- Move LLNDK dumps from vndk directory to platform directory.
- Rename ndk and platform subdirectories from the codename to "current".

Bug: 238383845
Test: make check-vndk-list

Change-Id: Iafd9c970ebbdcc670c2ec406fda5ae861469a023
2023-01-09 14:12:12 +08:00