Commit Graph

70667 Commits

Author SHA1 Message Date
android-build-team Robot 571b1d3eec Make change and version bump to SD2A.210529.001
Change-Id: I98881b86a14e5b1ceb17540b7de7d2d2561ef709
2021-05-29 01:20:21 +00:00
android-build-team Robot 638666c5d5 Make change and version bump to SD2A.210528.001
Change-Id: Ife2dc304e170e1efdf687ace663e28b326a11e19
2021-05-28 01:19:31 +00:00
Bowgo Tsai dc702087b0 Merge "Support AVB signing for BOARD_PREBUILT_BOOTIMAGE" into sc-dev am: 22fb8a4709
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14716393

Change-Id: Ib0e41a6eedddd07c523019a8bb5d251f5c7bef63
2021-05-28 01:05:35 +00:00
Bowgo Tsai 22fb8a4709 Merge "Support AVB signing for BOARD_PREBUILT_BOOTIMAGE" into sc-dev 2021-05-28 00:35:40 +00:00
Paul Scovanner 498d98b846 [automerger skipped] Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae am: da50045033 am: 81fc2eda95 -s ours am: 6972360246 -s ours am: 8a7f8d8d41 -s ours am: f867606e12 -s ours
am skip reason: Merged-In Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708 with SHA-1 64b00db8f4 is already in history

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

Change-Id: Id331a3ca6faa5082af32c3b5e87c6380b65b81e8
2021-05-27 19:56:43 +00:00
Paul Scovanner efa39be0b6 [automerger skipped] Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae am: da50045033 am: 81fc2eda95 -s ours am: 6972360246 -s ours am: ba62cd8b65 -s ours am: ab97d07c9e -s ours
am skip reason: Merged-In Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708 with SHA-1 64b00db8f4 is already in history

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

Change-Id: I91678f0abcb517a3ab9d3bc7b209fa55bf387d35
2021-05-27 19:56:19 +00:00
Paul Scovanner f867606e12 [automerger skipped] Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae am: da50045033 am: 81fc2eda95 -s ours am: 6972360246 -s ours am: 8a7f8d8d41 -s ours
am skip reason: Merged-In Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708 with SHA-1 64b00db8f4 is already in history

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

Change-Id: I1fcaac2e1ccef2b7d1676581ffe08fc55eea5d2f
2021-05-27 19:41:27 +00:00
Paul Scovanner ab97d07c9e [automerger skipped] Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae am: da50045033 am: 81fc2eda95 -s ours am: 6972360246 -s ours am: ba62cd8b65 -s ours
am skip reason: Merged-In Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708 with SHA-1 64b00db8f4 is already in history

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

Change-Id: Icfac32f812c1e6ba0c81e84d396bc34cb3a39880
2021-05-27 19:24:35 +00:00
Paul Scovanner 8a7f8d8d41 [automerger skipped] Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae am: da50045033 am: 81fc2eda95 -s ours am: 6972360246 -s ours
am skip reason: Merged-In Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708 with SHA-1 64b00db8f4 is already in history

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

Change-Id: Id10a547beac8f5617aedb7e49940dbd02326bb6a
2021-05-27 19:01:25 +00:00
Paul Scovanner ba62cd8b65 [automerger skipped] Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae am: da50045033 am: 81fc2eda95 -s ours am: 6972360246 -s ours
am skip reason: Merged-In Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708 with SHA-1 64b00db8f4 is already in history

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

Change-Id: I662ee93c4422095b0258b9fb9b36c4daad720ec3
2021-05-27 18:58:26 +00:00
Paul Scovanner 6972360246 [automerger skipped] Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae am: da50045033 am: 81fc2eda95 -s ours
am skip reason: Merged-In Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708 with SHA-1 64b00db8f4 is already in history

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

Change-Id: I4e539beb31b6713c28ded0589f03c23e549718d7
2021-05-27 18:32:35 +00:00
Paul Scovanner 81fc2eda95 Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae am: da50045033
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14694771

Change-Id: Ibbfcc175ace801307108d325035fcbcac2e81763
2021-05-27 18:06:25 +00:00
Paul Scovanner da50045033 Update Security String to 2021-07-01 am: 5edc0cec47 am: d8033580ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14694771

Change-Id: Ic69e33d14bfd68cd1bde31c774dacb92da50771f
2021-05-27 17:42:46 +00:00
Paul Scovanner d8033580ae Update Security String to 2021-07-01 am: 5edc0cec47
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14694771

Change-Id: I1c3b7578852bee9c0d7a989d97ff6668a57ea2ee
2021-05-27 17:12:55 +00:00
android-build-team Robot 1dea90c0af Make change and version bump to SD2A.210527.002
Change-Id: Ibb566f70ca72d9f69ab47c4a692aedeadde4d77a
2021-05-27 11:39:20 +00:00
android-build-team Robot f91d9c12c5 Make change and version bump to SD2A.210527.001
Change-Id: Icf04f4b923932aa4f94037ed74da855c9826a59c
2021-05-27 01:18:55 +00:00
android-build-team Robot 90e8c41d28 Version bump to SD2A.210526.003 [core/build_id.mk]
Change-Id: I4ea804c22d05fba9bdee2aeb8459d22973bd8614
2021-05-27 00:27:27 +00:00
android-build-team Robot 0f6679bb81 Version bump to SD2A.210526.002 [core/build_id.mk]
Change-Id: I0a4da25168acd4b043b1f7b369d1a4da8155277d
2021-05-26 23:19:40 +00:00
Paul Scovanner 5edc0cec47 Update Security String to 2021-07-01
Bug: 188458861
Change-Id: I37f910ad48858038c97b86e2b04f9f3b9761c868
Merged-In: Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708
2021-05-26 22:24:05 +00:00
Tianjie 16bcac122f Check super size for factory OTA at build time
For VAB launched device, factory OTA will write system_other
partition to the super image. So we want to check that
sum(dynamic partitions) + system_other + overhead <= super at
build time.

Since we don't know the overhead at build time, we might instead
check sum(all partitions) < super.

Bug: 185809374
Test: m check-all-partition-sizes, unittests
Change-Id: Ia7ba5999d23924a1927e9a9463856a4d0ea90c20
Merged-In: Ia7ba5999d23924a1927e9a9463856a4d0ea90c20
(cherry-picked from commit 294ec7d9e5298d91768e0f2e9abe4cc7de180fe1)

Change-Id: I479d1b399a1639b595ae5d7f1481c771a3439e51
2021-05-26 14:43:35 -07:00
Jaegeuk Kim 028f6719f3 Enable --readonly for system compression
This option is to reduce system partition size.

Bug: 171942852
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Idc849cfce33ac0badb2b9b7953bb821c46a24472
2021-05-26 13:11:28 -07:00
Jaegeuk Kim 91869cafe6 Enable f2fs compression for other partitions
Bug: 171942852
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I231f7a2b808cc792fd582cd444825e4a47722984
2021-05-26 13:11:28 -07:00
TreeHugger Robot 03ca700cd9 Merge "[memtag] Disable memtag for AndroidMk host modules." into sc-dev am: e9e08e9e91
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14720436

Change-Id: I8acd4de2efa8f7e32620c475d1c50dcdce779e6d
2021-05-26 17:51:46 +00:00
TreeHugger Robot e9e08e9e91 Merge "[memtag] Disable memtag for AndroidMk host modules." into sc-dev 2021-05-26 17:27:49 +00:00
Mohammad Islam 4a1240de8a Revert "Revert "Re-land "Enable apex compression on all devices with updatable apex""
This reverts commit b695e761f1.

Reason for revert: b/185708645 has been fixed

Bug: 169780183
Bug: 185708645
Change-Id: If0ea1168c710eeb4c90d7a9768a278a07adc48fa
Merged-In: If0ea1168c710eeb4c90d7a9768a278a07adc48fa
Test: Manually updated APEX with same version via OTA/adb-remount and observed it was decompressed.
2021-05-26 18:21:36 +01:00
Mitch Phillips fe35441af5 [memtag] Disable memtag for AndroidMk host modules.
BUILD_HOST_EXECUTABLE modules are substantially deprecated, but some
partners are still using them for their bits with the workaround
provided in the product definition. This fixes a build error where
the host module doesn't have a linkable ELF note archive.

MTE is not intended for host modules, and it's fine for us to say
"host module using AndroidMk - no MTE for you" if this changes.

Bug: 189330992
Test: Manually tested using a BUILD_HOST_EXECUTABLE module.
Change-Id: Ifedff39f2f03c08bfb644221d2ab1b88e635c8a3
Merged-In: Ifedff39f2f03c08bfb644221d2ab1b88e635c8a3
2021-05-26 17:07:27 +00:00
Chris Wailes 6d5366b58e RESTRICT AUTOMERGE: Revert "Add the service-art JAR to the System Server classpath."
This reverts commit efe5ca180c.

Test: m
Bug: 184281926
Change-Id: Ibbea99fe93010c52f7cdf601b1e361ce2076b83c
Merged-In: Ibbea99fe93010c52f7cdf601b1e361ce2076b83c
2021-05-26 16:19:26 +01:00
android-build-team Robot 76fd9eb0b1 Make change and version bump to SD2A.210526.001
Change-Id: I8d0070bb7f14910806709554bca760a4afcb3bf1
2021-05-26 01:18:45 +00:00
Bowgo Tsai b23656df31 Support AVB signing for BOARD_PREBUILT_BOOTIMAGE
Devices using GKI architecture will use a prebuilt boot.img.
However, we should still sign this prebuilt boot.img with
device-specific AVB keys.

Steps to test the CL.
1. In a device BoardConfig.mk:

   # Uses a prebuilt boot.img
   TARGET_NO_KERNEL := true
   BOARD_PREBUILT_BOOTIMAGE := device/google/redbull/boot.img

   # Enable chained vbmeta for the boot image.
   # The following can be absent, where the hash descriptor of the
   # 'boot' partition will be stored then signed in vbmeta.img instead.
   BOARD_AVB_BOOT_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
   BOARD_AVB_BOOT_ALGORITHM := SHA256_RSA4096
   BOARD_AVB_BOOT_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
   BOARD_AVB_BOOT_ROLLBACK_INDEX_LOCATION := 2

2. `make bootimage`, then `avbtool info_image --image $OUT/boot.img`,
    checks the image is re-signed with a device-specific key

3. `make dist` to generate out/dist/TF.zip

4. `unzip out/dist/TF.zip IMAGES/boot.img`

5. `avbtool info_image --image out/dist/IMAGES/boot.img`,
    checks the image is re-signed with a device-specific key

6. `sign_target_files_apks \
      --avb_boot_key=external/avb/test/data/testkey_rsa8192.pem \
      --avb_boot_algorithm=SHA256_RSA8192 \
      --avb_boot_extra_args="--prop test:sign" \
      ./out/dist/*-target_files-eng.*.zip signed.zip`, resign the TF.zip

7. `unzip signed.zip IMAGES/boot.img`, then use `avbtool info_image` to
   check the boot.img is re-signed with the --avb_boot_key in step 6.

Bug: 188485657
Test: above steps
Change-Id: I7ee8b3ffe6a86aaca34bbb7a8898a97b3f8bd801
Merged-In: I7ee8b3ffe6a86aaca34bbb7a8898a97b3f8bd801
(cherry picked from commit cf9ead8972dd2b7c90772b6a1fd26bd4311a7c74)
2021-05-26 09:11:00 +08:00
Jiyong Park 2d97421205 Merge "Updated vndk library list after aidl-freeze-api" into sc-dev am: 33e79ba41e
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14673216

Change-Id: Ifac820d75d0575bb1c46aaf3f8635146adfc625a
2021-05-25 23:02:34 +00:00
Jiyong Park 33e79ba41e Merge "Updated vndk library list after aidl-freeze-api" into sc-dev 2021-05-25 22:43:41 +00:00
android-build-team Robot d684d9b85e Make change and version bump to SD2A.210525.001
Change-Id: Ia6612fd3e099bb6fc08899bea24ed8296b700057
2021-05-25 01:18:48 +00:00
Christian Wailes 51277f5d41 [automerger skipped] Merge "RESTRICT AUTOMERGE: Revert "Add the service-art JAR to the System Server classpath."" into sc-dev am: dee08a8473 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib231c7394bdbcd9b79d2a73a234e60c3a01ae052
2021-05-24 22:59:34 +00:00
Christian Wailes dee08a8473 Merge "RESTRICT AUTOMERGE: Revert "Add the service-art JAR to the System Server classpath."" into sc-dev 2021-05-24 22:39:02 +00:00
Calin Juravle d2640ad15a Merge "Add pm.dexopt.cmdline mapping in product config" into sc-dev am: c55bf19bd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14703636

Change-Id: I7b15a4ab248db0873f986939e9209ed6d3d1fa5a
2021-05-24 21:56:50 +00:00
Calin Juravle c55bf19bd6 Merge "Add pm.dexopt.cmdline mapping in product config" into sc-dev 2021-05-24 21:34:29 +00:00
Chris Wailes 58a82ce77f RESTRICT AUTOMERGE: Revert "Add the service-art JAR to the System Server classpath."
This reverts commit efe5ca180c.

Test: m
Bug: 184281926
Change-Id: Ibbea99fe93010c52f7cdf601b1e361ce2076b83c
Merged-In: Ibbea99fe93010c52f7cdf601b1e361ce2076b83c
2021-05-24 20:29:15 +00:00
TreeHugger Robot 7c80d801e9 Merge "Add GKI to generic x86_64 board" into sc-dev am: 63383e9d75
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14636314

Change-Id: I69dbce3554e9606f195d32a991fc42708920413e
2021-05-24 17:52:49 +00:00
TreeHugger Robot 318b378fe1 Merge "Move GKI common settings to BoardConfigGkiCommon.mk" into sc-dev am: 54cb463cce
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14636313

Change-Id: Iff0cc18f9a276056693ad32f88e72afdad686ae2
2021-05-24 17:52:30 +00:00
TreeHugger Robot ba98e644ae Merge "Disable <uses-library> checks for more tests (to fix MTS builds)." into sc-dev am: 8397a81680
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14702669

Change-Id: Ib34d698349a34d5ebae7712405b7747185610608
2021-05-24 17:52:13 +00:00
TreeHugger Robot 63383e9d75 Merge "Add GKI to generic x86_64 board" into sc-dev 2021-05-24 17:49:03 +00:00
TreeHugger Robot 54cb463cce Merge "Move GKI common settings to BoardConfigGkiCommon.mk" into sc-dev 2021-05-24 17:48:59 +00:00
TreeHugger Robot 8397a81680 Merge "Disable <uses-library> checks for more tests (to fix MTS builds)." into sc-dev 2021-05-24 17:28:30 +00:00
Calin Juravle 2a3110cd73 Add pm.dexopt.cmdline mapping in product config
Test: boot
Bug: 188655918
Merged-In: I527a71d0acec0ba6593b2da1fd13818cba3b4832
(cherry picked from commit ccb4cdc7f6c0b2037250f1ec488a4f86c54bd9e1)
Change-Id: Iaf4d76c44e7bd46f78fd507cd5d6af26d691a7f1
2021-05-24 09:53:07 -07:00
Ulya Trafimovich da5c795604 Disable <uses-library> checks for more tests (to fix MTS builds).
Bug: 132357300
Bug: 188648210
Fixes: 188907662
Test: lunch aosp_cf_x86_64_phone-userdebug && m mts && m gts
Change-Id: Iae0ecac076b351b2da929bb455f00f03ece130bd
(cherry picked from commit d5e6a7c6200c0bafad3ea5d1f6c62f37420b86db)
2021-05-24 06:23:47 -07:00
Jiyong Park c6fcc77237 Updated vndk library list after aidl-freeze-api
Bug: 188713899
Test: m
Change-Id: Idf4293211069cfaa668eccb7cf382fec64353f0b
2021-05-24 08:56:47 +09:00
android-build-team Robot 76af51130a Make change and version bump to SD2A.210524.001
Change-Id: I3ba98408a5f64af2dfa41851c8c08d0f3c3fe437
2021-05-23 23:18:22 +00:00
android-build-team Robot 25195538e1 Make change and version bump to SD2A.210523.001
Change-Id: I10962fd278a5f45c836e928ef61abe75d7a42323
2021-05-22 23:18:01 +00:00
android-build-team Robot 80b5ca15ac Make change and version bump to SD2A.210522.001
Change-Id: I555e50f7bdd810a1aee54f55a03d055d1397fcd5
2021-05-22 01:17:26 +00:00
android-build-team Robot f24561952b Version bump to SD2A.210521.002 [core/build_id.mk]
Change-Id: I86e8367792ffdd5ef407ac0eef7b0f01f33b29c8
2021-05-21 21:20:37 +00:00