Commit graph

86247 commits

Author SHA1 Message Date
Wei Li
cbeaa85076 Merge "Revert "Revert "Copy SBOM to dist directory when running "m dist".""" am: 2e8993e882 am: e7937f2c3b am: 82bf15a96d
Original change: https://android-review.googlesource.com/c/platform/build/+/2525828

Change-Id: I3bbd10804b31aeccf1d1d386bb9c829d0b8cc27e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 07:33:47 +00:00
Wei Li
82bf15a96d Merge "Revert "Revert "Copy SBOM to dist directory when running "m dist".""" am: 2e8993e882 am: e7937f2c3b
Original change: https://android-review.googlesource.com/c/platform/build/+/2525828

Change-Id: I4628607b633cc2d485bdb6ac29c8396ed2dbf603
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 07:00:47 +00:00
Wei Li
e7937f2c3b Merge "Revert "Revert "Copy SBOM to dist directory when running "m dist".""" am: 2e8993e882
Original change: https://android-review.googlesource.com/c/platform/build/+/2525828

Change-Id: I03ef5e8432ad12cecc519dc4cba1dac57112fa45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 06:15:22 +00:00
Wei Li
2e8993e882 Merge "Revert "Revert "Copy SBOM to dist directory when running "m dist".""" 2023-04-12 05:42:17 +00:00
Steve Berbary
35aebbc8de [automerger skipped] Update Security String to 2023-06-01 am: 8c6ca0a1e6 am: 3099ea1bd4 am: 084f1fe02b -s ours am: ffbcb3f857 -s ours am: 279a5ea93c -s ours
am skip reason: Merged-In I4b2ea3956c34aa56cc6f54bab7148f116c34759e with SHA-1 908e3504d8 is already in history

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

Change-Id: I4687277ac78ea69038800aafb2cc78caaaf32912
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 04:29:54 +00:00
Steve Berbary
279a5ea93c [automerger skipped] Update Security String to 2023-06-01 am: 8c6ca0a1e6 am: 3099ea1bd4 am: 084f1fe02b -s ours am: ffbcb3f857 -s ours
am skip reason: Merged-In I4b2ea3956c34aa56cc6f54bab7148f116c34759e with SHA-1 908e3504d8 is already in history

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

Change-Id: I94acbaf75b5d246232320d8b646239eaeb64fde5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 04:00:01 +00:00
Treehugger Robot
3bb997b956 Merge "Invoke delta_generator directly" am: 84031f7b49 am: 651e2a94c5 am: 766eaa6d78
Original change: https://android-review.googlesource.com/c/platform/build/+/2529019

Change-Id: I2f18177a7de2ea2b4fba64dff15e717ba8846a2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 03:21:50 +00:00
Steve Berbary
ffbcb3f857 [automerger skipped] Update Security String to 2023-06-01 am: 8c6ca0a1e6 am: 3099ea1bd4 am: 084f1fe02b -s ours
am skip reason: Merged-In I4b2ea3956c34aa56cc6f54bab7148f116c34759e with SHA-1 908e3504d8 is already in history

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

Change-Id: I20d9887872d6403db654c1f857860baf88186880
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 03:17:52 +00:00
Steve Berbary
ddf02b911f [automerger skipped] Update Security String to 2023-06-01 am: 8c6ca0a1e6 am: 3099ea1bd4 am: 36adba75b8 -s ours
am skip reason: Merged-In I4b2ea3956c34aa56cc6f54bab7148f116c34759e with SHA-1 908e3504d8 is already in history

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

Change-Id: I2801f77a776b4977d3874f3b4ed8e10649fa8432
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 03:15:15 +00:00
Treehugger Robot
7778c6e0c4 Merge "Script updates." am: b2be62551c am: acd53a5601 am: af7728ebfe
Original change: https://android-review.googlesource.com/c/platform/build/+/2530965

Change-Id: Id486c502493f8bfe0658ac590e0998e0f9548f46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 03:15:03 +00:00
Treehugger Robot
766eaa6d78 Merge "Invoke delta_generator directly" am: 84031f7b49 am: 651e2a94c5
Original change: https://android-review.googlesource.com/c/platform/build/+/2529019

Change-Id: I7471c375cf5dc05680e71f64435325fb96159f2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:49:54 +00:00
Steve Berbary
084f1fe02b Update Security String to 2023-06-01 am: 8c6ca0a1e6 am: 3099ea1bd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/22555017

Change-Id: I1371b6d1dc2b545886600287cfb7501f9acdb7bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:46:47 +00:00
Treehugger Robot
af7728ebfe Merge "Script updates." am: b2be62551c am: acd53a5601
Original change: https://android-review.googlesource.com/c/platform/build/+/2530965

Change-Id: I5efe54f2055cda5ae02851ae374d7e99d64ed610
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:46:28 +00:00
Steve Berbary
36adba75b8 Update Security String to 2023-06-01 am: 8c6ca0a1e6 am: 3099ea1bd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/22555017

Change-Id: I433d0894b609ea156a9879503bd44149c469c7ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:45:42 +00:00
Treehugger Robot
651e2a94c5 Merge "Invoke delta_generator directly" am: 84031f7b49
Original change: https://android-review.googlesource.com/c/platform/build/+/2529019

Change-Id: I6f09d66acc340d408b07f273aff42af0b7971c92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:17:10 +00:00
Treehugger Robot
acd53a5601 Merge "Script updates." am: b2be62551c
Original change: https://android-review.googlesource.com/c/platform/build/+/2530965

Change-Id: I59d82445c2f7b474034b9fe710b429bfc17a0b42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:14:45 +00:00
Steve Berbary
3099ea1bd4 Update Security String to 2023-06-01 am: 8c6ca0a1e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/22555017

Change-Id: I2a8e89cfaa2d4d6228b6a2a20f4064504de022ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:11:16 +00:00
TreeHugger Robot
8612418c59 [automerger skipped] Merge "Add the system_dlkm partition to goldfish" into tm-qpr-dev am: 62c76ddc78 -s ours am: 81383bb2de -s ours
am skip reason: Merged-In I0ff1528cf4c79c9604db6302d9a3470e81aae7ee with SHA-1 8e7f862bce is already in history

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

Change-Id: Ic88f4f06a36ffcc6fdf7cc229d66dfb9e253608d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 01:04:28 +00:00
Roman Kiryanov
17672ef6c7 [automerger skipped] Add the system_dlkm partition to goldfish am: b01d27312a -s ours am: 74acc7dd1d -s ours
am skip reason: Merged-In I0ff1528cf4c79c9604db6302d9a3470e81aae7ee with SHA-1 8e7f862bce is already in history

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

Change-Id: I50c279b43951399ae2db9910d109d9a38cdcd7b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 01:04:23 +00:00
Treehugger Robot
84031f7b49 Merge "Invoke delta_generator directly" 2023-04-12 01:00:43 +00:00
TreeHugger Robot
81383bb2de [automerger skipped] Merge "Add the system_dlkm partition to goldfish" into tm-qpr-dev am: 62c76ddc78 -s ours
am skip reason: Merged-In I0ff1528cf4c79c9604db6302d9a3470e81aae7ee with SHA-1 8e7f862bce is already in history

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

Change-Id: I79314614e1652cc1f19232a7bfe4ff2ab7e26a46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 00:18:06 +00:00
Roman Kiryanov
74acc7dd1d [automerger skipped] Add the system_dlkm partition to goldfish am: b01d27312a -s ours
am skip reason: Merged-In I0ff1528cf4c79c9604db6302d9a3470e81aae7ee with SHA-1 8e7f862bce is already in history

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

Change-Id: I2b54087013130a0ddc43ade8a717a7f96d8d9a98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 00:18:02 +00:00
Wei Li
ff8e18cf3e Revert "Revert "Copy SBOM to dist directory when running "m dist".""
This reverts commit fd358ae340.

Reason for revert: fixed the issues in aosp/2529028 and aosp/2524438.

Change-Id: Ieb4e6189a9357dafe81f15c72d5603166d9caa4d
2023-04-11 23:43:54 +00:00
Treehugger Robot
b2be62551c Merge "Script updates." 2023-04-11 21:52:43 +00:00
Treehugger Robot
f85af51468 Merge changes from topic "presubmit-am-e7bd37b8d4a54cc5a85736dbe59d11b1" into tm-qpr-dev-plus-aosp am: cbcde78d22
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/22561221

Change-Id: If47f10b8d733055b04e0c9a81f525011de706765
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 20:59:31 +00:00
Kelvin Zhang
fcd731e3d6 Invoke delta_generator directly
Currently, ota_from_target_files(a python script) calls
brillo_update_payload(a bash script), which then calls delta_generator(a
C++ binary) to do the actual diffing. Having brillo_update_payload in
the middle does not offer any additional flexibility, but it makes
maintaince more difficult. Bash code is less readable and harder to
debug. Further more, everytime we want to add a new flag to
delta_generator, we have to add the flag in three places:
ota_from_target_files, brillo_update_payload, delta_generator.

Historically, brillo_update_payload was there because we inherited from
ChromeOS side. This bash scripts extracts target_files.zip and invoke
delta_generator to generate the actual OTA. Any customizations we want
on OTA must be implemented by modifying the input target_files.zip ,
Manipuating big zip files is slow and inefficient.

To make thing simpler/faster, remove the intermdiary call to
brill_update_payload. ota_from_target_files will now extract target
files and call delta_generator directly.

Test: th
Bug: 227848550
Change-Id: I44b296e43bf7921bcf48ef6a1e4021a12669739c
2023-04-11 13:53:05 -07:00
TreeHugger Robot
62c76ddc78 Merge "Add the system_dlkm partition to goldfish" into tm-qpr-dev 2023-04-11 20:19:45 +00:00
Treehugger Robot
cbcde78d22 Merge changes from topic "presubmit-am-e7bd37b8d4a54cc5a85736dbe59d11b1" into tm-qpr-dev-plus-aosp
* changes:
  [automerge] Update Security String to 2023-06-05 2p: 908e3504d8
  Update Security String to 2023-06-05
2023-04-11 19:47:04 +00:00
Alex Buynytskyy
d98c43c8dd Script updates.
- add a mode to disable finalization steps if they were already merged,
- add the extension version into commit message.

Bug: 243966946
Test: local run
Change-Id: I51505e5d5715b56f3b385d714e1aabaae06f58ed
2023-04-11 16:51:03 +00:00
Dennis Song
066b7a7062 Merge "Support merging target files from directory" am: a0ffed1fa1 am: 609dd3b00f am: 7ffe8ab317
Original change: https://android-review.googlesource.com/c/platform/build/+/2525591

Change-Id: Ie9c358e544d5b82a6a2529570bf969c4f8c0ee82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 07:21:21 +00:00
Dennis Song
7ffe8ab317 Merge "Support merging target files from directory" am: a0ffed1fa1 am: 609dd3b00f
Original change: https://android-review.googlesource.com/c/platform/build/+/2525591

Change-Id: I4fe623e0f07875ca112b593e83c00c048ceb436d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 06:51:03 +00:00
Dennis Song
609dd3b00f Merge "Support merging target files from directory" am: a0ffed1fa1
Original change: https://android-review.googlesource.com/c/platform/build/+/2525591

Change-Id: I48d18bac60b3c9dc3aa2636437cd421a0efcfe11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 06:06:55 +00:00
Dennis Song
a0ffed1fa1 Merge "Support merging target files from directory" 2023-04-11 05:40:05 +00:00
Steve Berbary
8c6ca0a1e6 Update Security String to 2023-06-01
Bug: 277078610

Change-Id: I4b2ea3956c34aa56cc6f54bab7148f116c34759e
Merged-In: I4b2ea3956c34aa56cc6f54bab7148f116c34759e
2023-04-11 01:58:24 +00:00
Steve Berbary
83110082f8 [automerge] Update Security String to 2023-06-05 2p: 908e3504d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/22561221

Bug: 277078610
Change-Id: I5046a63eda6de8307fbc94d86746c2906d444688
2023-04-11 01:55:59 +00:00
Steve Berbary
908e3504d8 Update Security String to 2023-06-05
Bug: 277078610
Change-Id: I4b2ea3956c34aa56cc6f54bab7148f116c34759e
2023-04-11 01:54:58 +00:00
Treehugger Robot
21e87330e6 Merge "Allow setting future api level before REL" am: 52fdcf5457 am: 9358c91d08 am: fab0963700
Original change: https://android-review.googlesource.com/c/platform/build/+/2527081

Change-Id: I38131fc6b2933bd408caf0e31cdb9df39bcbedd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 01:52:55 +00:00
Treehugger Robot
fab0963700 Merge "Allow setting future api level before REL" am: 52fdcf5457 am: 9358c91d08
Original change: https://android-review.googlesource.com/c/platform/build/+/2527081

Change-Id: I9d22b49d076d6bf57b409c2871b01da79294ab70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 01:20:50 +00:00
Alex Buynytskyy
e7a6a78032 Merge "UpsideDownCake is now 34" into udc-dev 2023-04-11 01:17:31 +00:00
Treehugger Robot
9358c91d08 Merge "Allow setting future api level before REL" am: 52fdcf5457
Original change: https://android-review.googlesource.com/c/platform/build/+/2527081

Change-Id: I71f5e276257d16b1df32d762599d13a9f97f24aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 00:50:10 +00:00
Treehugger Robot
52fdcf5457 Merge "Allow setting future api level before REL" 2023-04-11 00:09:23 +00:00
Roman Kiryanov
b01d27312a Add the system_dlkm partition to goldfish
required by GKI

Bug: 277230251
Test: atest -c vts_dlkm_partition_test
Change-Id: I0ff1528cf4c79c9604db6302d9a3470e81aae7ee
Merged-In: I0ff1528cf4c79c9604db6302d9a3470e81aae7ee
Signed-off-by: Roman Kiryanov <rkir@google.com>
2023-04-10 16:30:32 -07:00
Roman Kiryanov
d855a7116a [automerger skipped] Remove conditions around PRODUCT_USE_DYNAMIC_PARTITIONS am: d7637446be -s ours am: 3d0eaa9fa1 -s ours
am skip reason: Merged-In Ie0234187fd4689211f0d4530f9b96027567273ad with SHA-1 6a4773340a is already in history

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

Change-Id: I78cc4d38051f6bc6bfc749adf454420a4eab60a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 21:20:24 +00:00
Roman Kiryanov
766fccbc1f [automerger skipped] Retire QEMU_USE_SYSTEM_EXT_PARTITIONS am: b790c9f1db -s ours am: 721bee4bbf -s ours
am skip reason: Merged-In Iace22e384976663a8b6e4d1c474c1e2d0f90ec74 with SHA-1 6715e76360 is already in history

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

Change-Id: Ic5db64874e91efcfd11b58b1e0c98b5ce8f2462a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 21:20:16 +00:00
Roman Kiryanov
931ead1ee5 [automerger skipped] Match the generic_64bitonly_x86_64/BoardConfig.mk to generic_x86_64 am: 9e8e6a7329 -s ours am: b97a105522 -s ours
am skip reason: Merged-In I31fed64619e26a1c690a6cf086c644757e45a878 with SHA-1 fd5e673f9f is already in history

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

Change-Id: I12fd615b6b6210223a2885e4337f8d7b15228683
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 21:20:07 +00:00
Roman Kiryanov
3d0eaa9fa1 [automerger skipped] Remove conditions around PRODUCT_USE_DYNAMIC_PARTITIONS am: d7637446be -s ours
am skip reason: Merged-In Ie0234187fd4689211f0d4530f9b96027567273ad with SHA-1 6a4773340a is already in history

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

Change-Id: Ide139364799bc23085f57bae55d4bdc75f97e428
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 20:51:42 +00:00
Roman Kiryanov
721bee4bbf [automerger skipped] Retire QEMU_USE_SYSTEM_EXT_PARTITIONS am: b790c9f1db -s ours
am skip reason: Merged-In Iace22e384976663a8b6e4d1c474c1e2d0f90ec74 with SHA-1 6715e76360 is already in history

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

Change-Id: I51f7b4dbec42a890dc3e5e6b582be614cb78134e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 20:51:30 +00:00
Roman Kiryanov
b97a105522 [automerger skipped] Match the generic_64bitonly_x86_64/BoardConfig.mk to generic_x86_64 am: 9e8e6a7329 -s ours
am skip reason: Merged-In I31fed64619e26a1c690a6cf086c644757e45a878 with SHA-1 fd5e673f9f is already in history

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

Change-Id: I063caa8ad7234cff47e1c02a4aaa19496c9cb64f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 20:51:11 +00:00
Treehugger Robot
d3384fd665 Merge "Check if an installed file exists and report error if not." am: 0bbde41728 am: 9d38ce9784 am: 7c93b50eca
Original change: https://android-review.googlesource.com/c/platform/build/+/2529028

Change-Id: I76befd44c7d9b0f9894019c7b08abc6edc06f0f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 19:49:29 +00:00
Treehugger Robot
7c93b50eca Merge "Check if an installed file exists and report error if not." am: 0bbde41728 am: 9d38ce9784
Original change: https://android-review.googlesource.com/c/platform/build/+/2529028

Change-Id: If6ae7c5d886b560a9e6bc67690e30e8c18b2459b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 19:17:50 +00:00