Commit graph

68374 commits

Author SHA1 Message Date
Isaac Chen
d180c32852 Merge "Update GF board variable for dynamic partition" am: a886df692e am: 471db4c7c5
Original change: https://android-review.googlesource.com/c/platform/build/+/1535670

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I449949afd95f01561d605a5651e8d183c3cdae1f
2020-12-30 03:16:44 +00:00
Isaac Chen
471db4c7c5 Merge "Update GF board variable for dynamic partition" am: a886df692e
Original change: https://android-review.googlesource.com/c/platform/build/+/1535670

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id7b86e605620d36bd3a8ae505cfadc659866b489
2020-12-30 02:58:45 +00:00
Isaac Chen
a886df692e Merge "Update GF board variable for dynamic partition" 2020-12-30 02:29:28 +00:00
Isaac Chen
c311ff6b68 Update GF board variable for dynamic partition
Goldfish specific board variable:

BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE

is used to create misc_info.txt, which is needed to mix GSI or CSI on
Goldfish vendor image, and need to reflect the size of the current
super.img, which is now set to 4G+8M (from 3G+8M previously).

Bug: 174442566
Test: $ lunch aosp_x86_arm-userdebug; m
      $ ls -l $OUT/super.img	# make sure it's 4 GB
      $ grep -i dynamic_partitions_group_size $OUT/misc_info.txt
      super_emulator_dynamic_partitions_group_size=4294967296
Change-Id: Idd0fb302b20780ac97959fabec231a632205d46d
2020-12-25 06:14:43 +00:00
Chong Zhang
1c2093a21b Merge "Move mediatranscoding from system to apex" 2020-12-23 03:28:03 +00:00
Kalesh Singh
6729228eff Merge "Reply: Add stable aidl memtrack hal to vndk list" am: 7af0218468 am: a091b6dadc am: f94cc1793e
Original change: https://android-review.googlesource.com/c/platform/build/+/1534550

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0f38177272c513625ebf5d6b79cf250e256344d8
2020-12-23 02:14:39 +00:00
Kalesh Singh
f94cc1793e Merge "Reply: Add stable aidl memtrack hal to vndk list" am: 7af0218468 am: a091b6dadc
Original change: https://android-review.googlesource.com/c/platform/build/+/1534550

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaa977c18d36a4e76e9aa1ccaad67eb4c721aec0a
2020-12-23 02:00:43 +00:00
Kalesh Singh
a091b6dadc Merge "Reply: Add stable aidl memtrack hal to vndk list" am: 7af0218468
Original change: https://android-review.googlesource.com/c/platform/build/+/1534550

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia8b89fc9914a9e7f26c3e7a4bddb0c622a47b230
2020-12-23 01:28:44 +00:00
Kalesh Singh
7af0218468 Merge "Reply: Add stable aidl memtrack hal to vndk list" 2020-12-23 01:20:51 +00:00
Treehugger Robot
395fa4eaf1 Merge "Swich TEST_MAPPING config to unit_tests:true" am: fdb2f2c5db am: 9d8f9146d0 am: 015d26aa68
Original change: https://android-review.googlesource.com/c/platform/build/+/1534243

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia0966dc8d868fc44717be7c7eb5784b46005c35a
2020-12-22 22:44:32 +00:00
Treehugger Robot
015d26aa68 Merge "Swich TEST_MAPPING config to unit_tests:true" am: fdb2f2c5db am: 9d8f9146d0
Original change: https://android-review.googlesource.com/c/platform/build/+/1534243

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5a89e0fe779f3e690c455b7980f090d903530948
2020-12-22 22:02:07 +00:00
Treehugger Robot
9d8f9146d0 Merge "Swich TEST_MAPPING config to unit_tests:true" am: fdb2f2c5db
Original change: https://android-review.googlesource.com/c/platform/build/+/1534243

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I331bcbfab5b592da14e9657b3197f559c0755cc6
2020-12-22 21:43:27 +00:00
Treehugger Robot
fdb2f2c5db Merge "Swich TEST_MAPPING config to unit_tests:true" 2020-12-22 21:32:31 +00:00
Kalesh Singh
0386daa353 Reply: Add stable aidl memtrack hal to vndk list
Bug: 175021432
Test: m; boot;
Change-Id: I68906dde64d70c5be63ddea050b20f320a3e78aa
2020-12-22 20:50:06 +00:00
Isaac Chen
da255b5cdc Merge "Increase the size of super.img for Goldfish" am: 3aa08cfa94 am: a675bc6d18 am: d1306c0df2
Original change: https://android-review.googlesource.com/c/platform/build/+/1534301

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I38006ba30aaf803b05105a3ccef7b91e32faa70c
2020-12-22 18:16:14 +00:00
Isaac Chen
d1306c0df2 Merge "Increase the size of super.img for Goldfish" am: 3aa08cfa94 am: a675bc6d18
Original change: https://android-review.googlesource.com/c/platform/build/+/1534301

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iafd088a292e4b70ff250f08814f7e4fac0a198ef
2020-12-22 17:39:14 +00:00
Isaac Chen
a675bc6d18 Merge "Increase the size of super.img for Goldfish" am: 3aa08cfa94
Original change: https://android-review.googlesource.com/c/platform/build/+/1534301

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iac2cbde2f38f4fd905288dd31591b5d09ca8b205
2020-12-22 17:26:09 +00:00
Isaac Chen
3aa08cfa94 Merge "Increase the size of super.img for Goldfish" 2020-12-22 16:56:49 +00:00
Anton Hansson
3ce9d68bd3 Merge "Add mainline_sdk device and product" am: 6d10bf974a am: 87e92d6e57 am: 96fb33a5d1
Original change: https://android-review.googlesource.com/c/platform/build/+/1512778

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2d11513357f5ea21e84668529f1d9534e83f78f8
2020-12-22 13:07:48 +00:00
Anton Hansson
96fb33a5d1 Merge "Add mainline_sdk device and product" am: 6d10bf974a am: 87e92d6e57
Original change: https://android-review.googlesource.com/c/platform/build/+/1512778

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I840beb16ef38d5395169b8252615ecae15d20c66
2020-12-22 12:35:00 +00:00
Anton Hansson
87e92d6e57 Merge "Add mainline_sdk device and product" am: 6d10bf974a
Original change: https://android-review.googlesource.com/c/platform/build/+/1512778

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie77a8fb62b2cf145387452e5449791fef8d9ac55
2020-12-22 12:13:27 +00:00
Anton Hansson
6d10bf974a Merge "Add mainline_sdk device and product" 2020-12-22 11:40:32 +00:00
Isaac Chen
91a641324c Increase the size of super.img for Goldfish
Current super image for GF is almost full in sdk_gphone_x86_arm
product, and not big enough to include CSI for mixed configuration,
which is a bit bigger than the system image of sdk_gphone_x86_arm.

Bug: 174442566
Test: $ lunch aosp_x86_arm-userdebug; m
      $ ls -l $OUT/super.img	# make sure it's 4 GB
Change-Id: Ia2473231c8490995a10700cbd6e0f82598a5e078
2020-12-22 03:43:26 +00:00
Julien Desprez
c1498965d9 Merge "Remove the zipalign_test mapping file" am: dc0663f66f am: 4ed6581fb7 am: 7198f826dc
Original change: https://android-review.googlesource.com/c/platform/build/+/1533785

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7d3901d849ff59e018f14d8cbadce05afda34974
2020-12-22 01:52:49 +00:00
Julien Desprez
7198f826dc Merge "Remove the zipalign_test mapping file" am: dc0663f66f am: 4ed6581fb7
Original change: https://android-review.googlesource.com/c/platform/build/+/1533785

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8c828cdbe8c7d207c6b548ffe250676c811dcd3a
2020-12-22 01:35:25 +00:00
Julien Desprez
4ed6581fb7 Merge "Remove the zipalign_test mapping file" am: dc0663f66f
Original change: https://android-review.googlesource.com/c/platform/build/+/1533785

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I796ba06a6d75a215b6107c89f922563fb15192f1
2020-12-22 01:09:05 +00:00
Julien Desprez
dc0663f66f Merge "Remove the zipalign_test mapping file" 2020-12-22 00:25:05 +00:00
David Anderson
da770507ab Include snapuserd in recovery for VABC builds.
Bug: N/A
Test: snapuserd available in recovery
Change-Id: Ide10a1da72becffad53f1daf2594d57813fc6636
2020-12-21 23:35:45 +00:00
Julien Desprez
6d9e78fd5d Swich TEST_MAPPING config to unit_tests:true
All unit_tests:true are run in presubmit which avoids
the explicit definition of TEST_MAPPING.

Test: presubmit runs all those tests
Bug: 175408655
Change-Id: Ibfad3fe2dd8d2fa1ebc6f6bcbd8ab34c2a0069dc
2020-12-21 13:56:05 -08:00
Julien Desprez
2bbc159e97 Remove the zipalign_test mapping file
Not needed as the host-unit-tests suite runs in
presbumit now and cover this

Test: None
Bug: 175408655
Change-Id: Iea3e3cd7f696f43b6c686ef9cbee1194f514e589
2020-12-21 09:58:17 -08:00
Jose Galmes
5cd2547df9 Support for recovery snapshot.
Bug: 171231437
Test: source build/envsetup.sh
Test: ALLOW_MISSING_DEPENDENCIES=true m -j nothing
Change-Id: I6dbcf21ee26c53cd3ac573d118a99d68161aa2c7
2020-12-21 08:32:44 -08:00
Yo Chiang
06c0631720 Merge "Add support for packing multiple vendor ramdisks in vendor_boot" am: 817e104290 am: 00784fff1b am: 1accf379a9
Original change: https://android-review.googlesource.com/c/platform/build/+/1521382

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I34246eb6d010ec55fe410fd004d03be336bfc863
2020-12-21 05:10:57 +00:00
Yo Chiang
1accf379a9 Merge "Add support for packing multiple vendor ramdisks in vendor_boot" am: 817e104290 am: 00784fff1b
Original change: https://android-review.googlesource.com/c/platform/build/+/1521382

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6a6e09092df12a7dbf34bc8a333c038fa5a0479a
2020-12-21 04:56:07 +00:00
Yo Chiang
00784fff1b Merge "Add support for packing multiple vendor ramdisks in vendor_boot" am: 817e104290
Original change: https://android-review.googlesource.com/c/platform/build/+/1521382

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I092410993c2180c0aa38978e8a133182a21b9d38
2020-12-21 04:20:45 +00:00
Yo Chiang
817e104290 Merge "Add support for packing multiple vendor ramdisks in vendor_boot" 2020-12-21 03:46:05 +00:00
Martin Stjernholm
06e9d12122 Merge "Temporarily set default to keep building with ART sources." am: e4e328a2ae am: b947548cfd am: 7241d59520
Original change: https://android-review.googlesource.com/c/platform/build/+/1529300

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8aae4c7dc9e7a21c2c5d5458f3e0d32d9bf05d22
2020-12-17 23:30:33 +00:00
Martin Stjernholm
7241d59520 Merge "Temporarily set default to keep building with ART sources." am: e4e328a2ae am: b947548cfd
Original change: https://android-review.googlesource.com/c/platform/build/+/1529300

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6eb2e3d0ffaebcb5f24fb8de1fa9766fe99132fc
2020-12-17 23:16:48 +00:00
Martin Stjernholm
b947548cfd Merge "Temporarily set default to keep building with ART sources." am: e4e328a2ae
Original change: https://android-review.googlesource.com/c/platform/build/+/1529300

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If8310284c7e132494c1196b931d03e160b3fab56
2020-12-17 22:40:51 +00:00
Martin Stjernholm
e4e328a2ae Merge "Temporarily set default to keep building with ART sources." 2020-12-17 22:31:04 +00:00
Andy Hung
ec5246ddb8 Merge "Remove libwebrtc_audio_processing" am: d51e4c473f am: 116ae0c6f8 am: de34bec94d
Original change: https://android-review.googlesource.com/c/platform/build/+/1530932

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If34f458321cf8b83ed1e11330913c636de877ffd
2020-12-17 17:41:20 +00:00
Andy Hung
de34bec94d Merge "Remove libwebrtc_audio_processing" am: d51e4c473f am: 116ae0c6f8
Original change: https://android-review.googlesource.com/c/platform/build/+/1530932

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I69ec0c3faf3a5325baefefae5ec0de1dfe10b67a
2020-12-17 17:22:24 +00:00
Andy Hung
116ae0c6f8 Merge "Remove libwebrtc_audio_processing" am: d51e4c473f
Original change: https://android-review.googlesource.com/c/platform/build/+/1530932

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia478edfd1e5cc8eb0a2c58414bfe3abdc2df9198
2020-12-17 16:45:32 +00:00
Andy Hung
d51e4c473f Merge "Remove libwebrtc_audio_processing" 2020-12-17 16:14:59 +00:00
Martin Stjernholm
d6e9ea97a6 Temporarily set default to keep building with ART sources.
Enables us to switch the default in .bp files, so ART prebuilt builds
can be tested with `m SOONG_CONFIG_art_module_source_build=false`.

Test: m
Test: m SOONG_CONFIG_art_module_source_build=false
Test: `m nothing` on some lunch targets that failed on internal
Bug: 172480615
Change-Id: I78725f77819dc29b47d2438dfe724532e4d2df47
2020-12-17 16:00:27 +00:00
Treehugger Robot
3dc4f952d5 [automerger skipped] Merge "Move ro.zygote to vendor" am: 0de3a8b99f am: b972aca960 -s ours am: bca21e1be7 -s ours
am skip reason: Change-Id I86919f993ae44f3502eb63e728d33acaa14f7088 with SHA-1 9faf469d27 is in history

Original change: https://android-review.googlesource.com/c/platform/build/+/1510909

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3ebc36566c01f5d199de496b10feaeb99696d0e3
2020-12-17 08:08:32 +00:00
Treehugger Robot
bca21e1be7 [automerger skipped] Merge "Move ro.zygote to vendor" am: 0de3a8b99f am: b972aca960 -s ours
am skip reason: Change-Id I86919f993ae44f3502eb63e728d33acaa14f7088 with SHA-1 9faf469d27 is in history

Original change: https://android-review.googlesource.com/c/platform/build/+/1510909

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia6996e3735c57ec3b5e1e36bb54205dec77df64c
2020-12-17 07:56:14 +00:00
Treehugger Robot
b972aca960 Merge "Move ro.zygote to vendor" am: 0de3a8b99f
Original change: https://android-review.googlesource.com/c/platform/build/+/1510909

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7fe372ac6754d03d12fc030bbb3a7e5c55017918
2020-12-17 07:20:59 +00:00
Treehugger Robot
0de3a8b99f Merge "Move ro.zygote to vendor" 2020-12-17 07:02:25 +00:00
Yo Chiang
d21e7dc833 Add support for packing multiple vendor ramdisks in vendor_boot
Add support for partitioning the vendor_boot kernel modules into
multiple vendor ramdisk fragments. The partition granularity is kernel
module directory. This mechanism builds upon the existing
BOARD_KERNEL_MODULE_DIRS mechanism. For example, say we have three
kernel module directories:

BOARD_KERNEL_MODULE_DIRS := foo bar baz

We can then define a vendor ramdisk fragment:

BOARD_MKBOOTIMG_ARGS += --header_version 4
BOARD_VENDOR_RAMDISK_FRAGMENTS := dlkm_foobar

And let said ramdisk to contain the DLKM directories "foo" and "bar":

BOARD_VENDOR_RAMDISK_FRAGMENT.dlkm_foobar.KERNEL_MODULE_DIRS := foo bar
BOARD_VENDOR_RAMDISK_FRAGMENT.dlkm_foobar.MKBOOTIMG_ARGS := <mkbootimg args>

The built vendor_boot image would contain two ramdisks.
The first one being the "default" ramdisk, which contains DLKM directory
"baz" and the rest of the files that get's installed to
$(TARGET_VENDOR_RAMDISK_OUT).
The second one is the "dlkm_foobar" ramdisk, which contains the two DLKM
directories.

Design doc: go/vendor-boot-v4

Bug: 162864255
Test: Modify BoardConfig.mk to have a product build v4 vendor_boot
Test: Use unpack_bootimg to verify the vendor_boot image
Test: Teach a bootloader how to handle v4 boot image, flash boot &
  vendor_boot and boot device
Change-Id: Ibb1bbd7ebe36430c55ec6c4818c1d3888a319089
2020-12-17 11:07:04 +08:00
Treehugger Robot
35f6614178 Merge "Move jacocoagent installation to base_system" am: 98b7ac4602 am: a88a997a7a am: a9bfe835c2
Original change: https://android-review.googlesource.com/c/platform/build/+/1532100

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idcdc828243382d7ae6dc244192abf6d441baafc1
2020-12-17 01:23:38 +00:00