Commit Graph

26184 Commits

Author SHA1 Message Date
android-build-team Robot
e513aac168 Make change and version bump to RQ2A.201228.001
Change-Id: I1b44eeedaf5a9b23d8bf846b1356e74c2fa376cb
2020-12-27 22:15:58 +00:00
android-build-team Robot
483920d796 Make change and version bump to RQ2A.201227.001
Change-Id: I0eca7064e14a03dbfc7d30cb505bd2c57076717e
2020-12-26 22:16:07 +00:00
android-build-team Robot
70b1c9fb5a Make change and version bump to RQ2A.201226.001
Change-Id: I028b207a943cc4cda4513f4f455f70f8393eaa36
2020-12-26 00:16:42 +00:00
android-build-team Robot
c0482c9029 Make change and version bump to RQ2A.201225.001
Change-Id: Idc6a759da121498a078333ccf25d447b9b2e4966
2020-12-25 00:17:34 +00:00
android-build-team Robot
4cfc94746f Make change and version bump to RQ2A.201224.001
Change-Id: I4f783b1b4f94b39159731feac9d12f0568891499
2020-12-24 00:16:56 +00:00
android-build-team Robot
9b712b16a8 Make change and version bump to RQ2A.201223.001
Change-Id: I9f8d700869ea04f407a29bd54acdc112c45ac2b0
2020-12-23 00:16:39 +00:00
android-build-team Robot
2bd4e155de Make change and version bump to RQ2A.201222.001
Change-Id: I9b53a5c083f225c25fc34bf677365e4979c2b931
2020-12-22 00:16:39 +00: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
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
817e104290 Merge "Add support for packing multiple vendor ramdisks in vendor_boot" 2020-12-21 03:46:05 +00:00
android-build-team Robot
cc4d4831ae Make change and version bump to RQ2A.201221.001
Change-Id: Icfdbcf061735ec0e61d939ec95a99e2f25b6dcbb
2020-12-20 22:16:26 +00:00
android-build-team Robot
2b38c1b615 Make change and version bump to RQ2A.201220.001
Change-Id: Ia36a780a5147b4ae02683e8c9793618277e45098
2020-12-19 22:16:33 +00:00
android-build-team Robot
b6ff21ebb2 Make change and version bump to RQ2A.201219.001
Change-Id: Ia465ac025f0a501d04d4e9394f89d8c049cc22dd
2020-12-19 00:25:52 +00:00
Martin Stjernholm
3839f03b7d Add check that a module doesn't try to override itself.
If that happens it will be left out entirely.

It would be nice to catch this on the Soong level, but there are
several separate code paths there so this ensures it isn't missed.

Test: `m nothing` with packages/modules/ArtPrebuilt/Android.bp that
  had this mistake
Bug: 172480615
Change-Id: I2d31679b2ca5b57bf14f35703c10093275209890
2020-12-18 17:38:06 +00:00
android-build-team Robot
dcb2664043 Make change and version bump to RQ2A.201218.001
Change-Id: I544bdde82c60eb503cd7dfac30cd450f5c663490
2020-12-18 00:17:09 +00:00
Oleksiy Avramchenko
d3d0f7d62e Skip generate-common-build-props for older devices without /product
Common ro.product properties are always generated for the
product partition, even if it is not present. This was introduced
for the R release with Ia88c8efecb18db9c27baa466e492bfd898b581d3
"Generate product build props always" commit.

It violates CDD requirements for the devices which were released
earlier. Add optional parameter to build-properties which allows to
skip the common properies generation and product partition specific
checks to make sure common properties are not generated for
the devices released before R and without product partition.

Test: manual, build product/etc/build.prop for shipping levels 28, 30
      and for the devices with and without product partitions
Bug: 174677451
Change-Id: Ia3275d7229d0a873e0a4f1d1ea7a25c758c85bb9
2020-12-18 00:53:20 +01: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
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
android-build-team Robot
75c7f9d4ba Version bump to RQ2A.201217.002 [core/build_id.mk]
Change-Id: I092116d89d30ffd339fc900d1fe0a582ae4bd3a0
2020-12-17 05:31:58 +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
android-build-team Robot
d347de1f67 Version bump to RQ1A.210205.004 [core/build_id.mk]
Change-Id: Id846cdee713be9c77b1f9aca62175b247ef85969
2020-12-17 01:19:16 +00:00
Treehugger Robot
a9bfe835c2 Merge "Move jacocoagent installation to base_system" am: 98b7ac4602 am: a88a997a7a
Original change: https://android-review.googlesource.com/c/platform/build/+/1532100

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3075df9537b0f27de59389f2e32a83009fb8d8c5
2020-12-17 00:49:27 +00:00
android-build-team Robot
00993370b8 Version bump to RQ1A.210205.003 [core/build_id.mk]
Change-Id: Ifc0e46818342eb396dc57a755593f6f43c47eceb
2020-12-17 00:32:01 +00:00
Treehugger Robot
98b7ac4602 Merge "Move jacocoagent installation to base_system" 2020-12-17 00:25:50 +00:00
android-build-team Robot
3fdea3cd0f Make change and version bump to RQ2A.201217.001
Change-Id: Id6d104af7d7320431f73af2019327759dd9d1329
2020-12-17 00:17:15 +00:00
Yifan Hong
42cae00cb0 Move jacocoagent installation to base_system
jacocoagent and its dependencies emits artifacts to system/,
hence it belongs to base_system.mk. It was rather incorrect
to add jacocoagent to EVERY product makefile because those
product makefiles may be enforcing artifact path requirements
(e.g. generic_ramdisk.mk).

Test: EMMA_INSTRUMENT=true m nothing
Bug: 175605139
Bug: 173742069
Change-Id: If9cb93ab8fd69d11e764ab830dc791bbe6106cf5
2020-12-16 09:50:42 -08:00
Anton Hansson
f84850f2a0 Merge "Make TARGET_ARCH optional in BoardConfig" am: ed3b56ebca am: 772c6de6ce
Original change: https://android-review.googlesource.com/c/platform/build/+/1512776

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8eed6030306e6f8bbed46dd6312e2b7b723791aa
2020-12-16 12:43:01 +00:00
Anton Hansson
fb7d793aad Merge "Add make support for Aml_abis and Ndk_abis options" am: e47d6e4a8c am: 3c22ddff3e
Original change: https://android-review.googlesource.com/c/platform/build/+/1512775

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idd7546252143f51b89d83df895472158dd732ae3
2020-12-16 12:42:50 +00:00
Anton Hansson
ed3b56ebca Merge "Make TARGET_ARCH optional in BoardConfig" 2020-12-16 11:48:04 +00:00
Anton Hansson
e47d6e4a8c Merge "Add make support for Aml_abis and Ndk_abis options" 2020-12-16 11:38:49 +00:00
Anton Hansson
a56f2ef077 Merge "Reformat _board_strip_readonly_list assigment" am: 3ab1add1f2 am: 7f8a07e671
Original change: https://android-review.googlesource.com/c/platform/build/+/1528169

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib6399fa8daf53a35180f50c3b60337b512ad7367
2020-12-16 11:27:34 +00:00
Anton Hansson
3ab1add1f2 Merge "Reformat _board_strip_readonly_list assigment" 2020-12-16 11:12:32 +00:00
android-build-team Robot
02157285ca Version bump to RQ1A.210205.002 [core/build_id.mk]
Change-Id: Ic89425a387bdbbb55064d9f0be992a45a5266d79
2020-12-16 00:19:42 +00:00
android-build-team Robot
6e3111bff5 Make change and version bump to RQ2A.201216.001
Change-Id: I3a85c7e1f1fe2ec134b0b30252bdaec5bc4361bd
2020-12-16 00:17:57 +00:00
android-build-team Robot
ceec59a147 Make change and version bump to RQ1A.210205.001
Change-Id: I79647a21f2799112a0c9f43395eb8d422df8ae41
2020-12-15 21:49:54 +00:00
Paul Scovanner
15a1226d7d Update Security String to 2021-02-05
Bug: 175313938
Change-Id: I6a1139d288c24a11289fc53c9022fd6d70acd8e6
(cherry picked from commit d4d46ab023)
2020-12-15 21:45:24 +00:00
Treehugger Robot
ba1f95499f Merge "Revert^2 "Always turn on compatible property"" am: dec924e081 am: 226df907f0
Original change: https://android-review.googlesource.com/c/platform/build/+/1505351

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I320cc0178767465a4d789eecc711b0fbd9d07c94
2020-12-15 16:15:03 +00:00
Anton Hansson
41f9cc2c6b Make TARGET_ARCH optional in BoardConfig
Not setting TARGET_ARCH is ok if TARGET_ARCH_SUITE is set instead. Skip
certain TARGET_ARCH-specific steps of the config:
- don't run the 'select' steps to figure out cpu flags
- don't generate dexopt config for TARGET_ARCH

Bug: 174315599
Test: lunch <product that sets TARGET_ARCH_SUITE but not TARGET_ARCH>
Change-Id: I74a9e71d0cc5c7f74d3b10b1c8bb89682c096d7c
2020-12-15 12:46:51 +00:00
Anton Hansson
5e05b8ef31 Add make support for Aml_abis and Ndk_abis options
Add a new TARGET_ARCH_SUITE which, when set to 'mainline_sdk' or 'ndk',
sets `Aml_abis: true` in soong.variables.

This is required to enable removing the custom soong.variables that
are being maintained for the ndk and mainline sdk builds.

Bug: 174315599
Test: TARGET_ARCH_SUITE=mainline-sdk m nothing; inspect soong.variables
      (ditto for ndk)
Change-Id: Ib651a637457310270840d721cdccf50bede3ee58
2020-12-15 12:46:46 +00:00
Anton Hansson
b7b3d8ead6 Reformat _board_strip_readonly_list assigment
Allows for adding comments between variable definitions. This matches
the style in product.mk

Test: m nothing
Change-Id: Icc1e3d635a885000c49371997a55001739c02587
2020-12-15 12:45:37 +00:00
Treehugger Robot
dec924e081 Merge "Revert^2 "Always turn on compatible property"" 2020-12-15 12:00:10 +00:00
Treehugger Robot
b73e57cc7b Merge "Allows GSI AVB keys on vendor boot even when not building vendor boot." am: a25382e565 am: bcbd8a7cf9
Original change: https://android-review.googlesource.com/c/platform/build/+/1528487

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If29ea9547c81cdc1cea86a39405976a69c9ca367
2020-12-15 03:35:49 +00:00
Treehugger Robot
a25382e565 Merge "Allows GSI AVB keys on vendor boot even when not building vendor boot." 2020-12-15 02:48:43 +00:00
JaeMan Park
3c3b051f5c Merge "Add java_sdk_library enforcement flag verification" am: c21cde1007 am: 24efe302d2
Original change: https://android-review.googlesource.com/c/platform/build/+/1519538

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5946026390b9dc1461de712ba793b04152d46d78
2020-12-15 00:52:59 +00:00
JaeMan Park
a639874a88 Merge "Add java_sdk_library enforcement flags to product.mk" am: d06fe704b3 am: 107ae739e0
Original change: https://android-review.googlesource.com/c/platform/build/+/1512951

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I626796f8f0344330d94563694a8849286629fe56
2020-12-15 00:52:44 +00:00
android-build-team Robot
04251ce972 Make change and version bump to RQ2A.201215.001
Change-Id: I3ed9b6f1ff34b17a9a7c0619a5f6f57f6e00933e
2020-12-15 00:17:49 +00:00
Diego Vela
5367bd3fa7 Merge "Revert "Make ab_ota_partitions read only"" am: 111e9cbf40 am: 5fa60fb418
Original change: https://android-review.googlesource.com/c/platform/build/+/1528745

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1f5a4626d6e42051252d7a0c23437aad623d72e2
2020-12-15 00:04:05 +00:00
JaeMan Park
c21cde1007 Merge "Add java_sdk_library enforcement flag verification" 2020-12-15 00:00:33 +00:00
JaeMan Park
d06fe704b3 Merge "Add java_sdk_library enforcement flags to product.mk" 2020-12-15 00:00:05 +00:00
Diego Vela
f03fa0c5f2 Revert "Make ab_ota_partitions read only"
This reverts commit 929f1ad1d6.

Reason for revert: Caused a build break
Bug: 175633875

Change-Id: I6cb518a574c865a2e2c4ecdc4203dfa03bbf05d9
2020-12-14 23:08:31 +00:00