Commit graph

33013 commits

Author SHA1 Message Date
Zhenhuang Wang
a82b2b5658 Merge "Enable -sha256 feature to device-tests.zip" am: 195b5fc64c am: c14d68cebe
Original change: https://android-review.googlesource.com/c/platform/build/+/2442621

Change-Id: I97d1c57c96a46bf973ea6e40f884b9cacaa7646d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-20 09:05:06 +00:00
Zhenhuang Wang
c14d68cebe Merge "Enable -sha256 feature to device-tests.zip" am: 195b5fc64c
Original change: https://android-review.googlesource.com/c/platform/build/+/2442621

Change-Id: Iea20ef137e33304479451116f8911cf3ec55735a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-20 08:03:32 +00:00
Zhenhuang Wang
d1dfcda616 Enable -sha256 feature to device-tests.zip
With `-sha256` flag, file header of generated zip files contains
SHA256 checksum for each file, which can then be used by downstream
systems.

Bug: 259513199
Test: m dist device-tests
Change-Id: Id5d2cba9096983da4f4843146a5eaa84393b4880
2023-02-17 17:48:24 +08:00
Treehugger Robot
d1b9531f3a Merge "Rename otatools dependency from futility to futility-host" am: 272d090d39 am: 287c48cda6
Original change: https://android-review.googlesource.com/c/platform/build/+/2264495

Change-Id: I4721c6f4283699012f5785d85305f7152b8cc0d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 08:53:33 +00:00
Treehugger Robot
287c48cda6 Merge "Rename otatools dependency from futility to futility-host" am: 272d090d39
Original change: https://android-review.googlesource.com/c/platform/build/+/2264495

Change-Id: I9f9a37e11c1c3c889ec1b295cabceb8de4102d9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 08:12:44 +00:00
Treehugger Robot
272d090d39 Merge "Rename otatools dependency from futility to futility-host" 2023-02-16 07:39:05 +00:00
Zhenhuang Wang
55ed878a74 Merge "Revert "Revert "Enable -sha256 feature to some Soong built zip files""" am: 371da61096 am: 963bc9676e
Original change: https://android-review.googlesource.com/c/platform/build/+/2434552

Change-Id: If0e839be1b406f6d8f253a9f87c8be0fad86eeff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 03:58:45 +00:00
Zhenhuang Wang
963bc9676e Merge "Revert "Revert "Enable -sha256 feature to some Soong built zip files""" am: 371da61096
Original change: https://android-review.googlesource.com/c/platform/build/+/2434552

Change-Id: I8c9201b19e39bfa3455c1fd231d21cdfa174f5a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 03:10:39 +00:00
Zhenhuang Wang
371da61096 Merge "Revert "Revert "Enable -sha256 feature to some Soong built zip files""" 2023-02-16 02:10:40 +00:00
Aaron Kling
e380321735 Rename otatools dependency from futility to futility-host
The futility target for host is futility-host. This is required for
ryu out of tree signing.

Change-Id: I6c06ec69f991abc23597e19dd4478774cc4d56c4
2023-02-15 21:12:23 +00:00
Xin Li
27b4d0c71f Merge "Merge TQ2A.230305.008" into stage-aosp-master 2023-02-15 19:45:53 +00:00
Spandan Das
48b2aa9d87 Merge "Dist api_fingerprint file for droidcore" am: d3e1b41c33 am: 3c48d0938d
Original change: https://android-review.googlesource.com/c/platform/build/+/2435767

Change-Id: I5b8cabb5459b2850482bf1709882d9f71c7adb31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 19:31:35 +00:00
Kelvin Zhang
1edd6337e8 Merge "Copy all files from BOARD_SYSTEM_DLKM_SRC" am: 8ffc90d4e9 am: f0a1afdd56
Original change: https://android-review.googlesource.com/c/platform/build/+/2435770

Change-Id: I46c4b5d95373e6d3b4cf6e3121d80c3643fb1e69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 19:29:36 +00:00
Spandan Das
3c48d0938d Merge "Dist api_fingerprint file for droidcore" am: d3e1b41c33
Original change: https://android-review.googlesource.com/c/platform/build/+/2435767

Change-Id: Iaa2c36fc11d69793ec0a7a455191a3846ec400e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 18:48:55 +00:00
Kelvin Zhang
f0a1afdd56 Merge "Copy all files from BOARD_SYSTEM_DLKM_SRC" am: 8ffc90d4e9
Original change: https://android-review.googlesource.com/c/platform/build/+/2435770

Change-Id: Ia538767800ec15b648b21ea84c215b28ccfa8ef3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 18:47:30 +00:00
Spandan Das
d3e1b41c33 Merge "Dist api_fingerprint file for droidcore" 2023-02-15 18:06:27 +00:00
Kelvin Zhang
8ffc90d4e9 Merge "Copy all files from BOARD_SYSTEM_DLKM_SRC" 2023-02-15 18:03:02 +00:00
Kelvin Zhang
19961b53c4 Copy all files from BOARD_SYSTEM_DLKM_SRC
BOARD_SYSTEM_DLKM_SRC might contain files such as modules.dep. These
files also need to be copied, so relax the globbing pattern to copy all
files under BOARD_SYSTEM_DLKM_SRC.

Test: th
Bug: 267014648
Change-Id: I1fef8f8d7fe01fd4bd99d62981c108d95ef47bfe
2023-02-14 18:23:28 -08:00
Yike Zhang
403f4cacd5 Merge "Export test config info to module-info while the module is uninstallable" am: 249865de52 am: af6394b6e7
Original change: https://android-review.googlesource.com/c/platform/build/+/2434932

Change-Id: I79408936735c753029043b45b5afb8617e21abf3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 00:30:15 +00:00
Xin Li
95bbef8402 Merge TQ2A.230305.008
Bug: 264720040
Merged-In: Ie75a94addbd7fec66397f89baf6e3c18487c72fb
Change-Id: I0cf59fc2635e8d951da0bbeced842f92c3d5b655
2023-02-14 16:13:00 -08:00
Yike Zhang
af6394b6e7 Merge "Export test config info to module-info while the module is uninstallable" am: 249865de52
Original change: https://android-review.googlesource.com/c/platform/build/+/2434932

Change-Id: I40a388305ce29b73c2fe8de71ba6d119554398ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 23:48:45 +00:00
Spandan Das
10cd857c3f Dist api_fingerprint file for droidcore
Currently it only gets disted for `sdk`

Bug: 266791853
Test: m dist droidcore, and checked out/dist/api_fingerprint.txt
Change-Id: I098c3890d7290a5f0094fea056cbc8bf1684df11
2023-02-14 21:26:55 +00:00
Yike
40f5c3a1fe Export test config info to module-info while the module is uninstallable
All Robolectric tests are set as uninstallable modules, which skips the
logic exporting `test_config` and `auto_test_config` to module-info.
But downstream infra needs this information to determine if a module is
a test module. So that this change moves the logic that sets
`test_config` and `auto_test_config` for Robolectric tests out of the
snippet specifically for installable module.

Test: m out/target/product/coral/module-info.json
Bug: 268670243
Change-Id: Icf4caf3d6833f3a39927fb69c6fb76762b8f6f14
2023-02-15 03:18:28 +08:00
Zhenhuang Wang
23d8c72472 Revert "Revert "Enable -sha256 feature to some Soong built zip files""
This reverts commit 7d8eeec0dd.

Reason for revert: re-submit the change https://r.android.com/2393272

Change-Id: I6c906a82823a4b69d0cd8a5ce364d802c646cb68
2023-02-14 00:29:30 +00:00
Android Build Coastguard Worker
5ca47f57b1 Version bump to TQ2A.230305.008 [core/build_id.mk]
Change-Id: I20a857714f506097c06cf8168b7ec368a3117612
2023-02-11 17:28:31 +00:00
Treehugger Robot
4b9bb421c8 Merge "Support BOARD_SYSTEM_DLKM_SRC build config" am: fa7113c696 am: 6dd3de71fc
Original change: https://android-review.googlesource.com/c/platform/build/+/2411433

Change-Id: I9a502e10075a81694878ed1a61fe63e449d83251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 10:58:14 +00:00
Treehugger Robot
6dd3de71fc Merge "Support BOARD_SYSTEM_DLKM_SRC build config" am: fa7113c696
Original change: https://android-review.googlesource.com/c/platform/build/+/2411433

Change-Id: I68642f18887195be07f4c66f53cf8bdeda39d051
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 10:11:57 +00:00
Treehugger Robot
fa7113c696 Merge "Support BOARD_SYSTEM_DLKM_SRC build config" 2023-02-11 09:25:04 +00:00
Kelvin Zhang
0dbfd70963 Support BOARD_SYSTEM_DLKM_SRC build config
In aosp/2323114 , BOARD_SYSTEM_DLKM_SRC is removed in favor of
BOARD_SYSTEM_KERNEL_MODULES . However, BOARD_SYSTEM_DLKM_SRC preserves
directory structure of input kernel modules, where as
BOARD_SYSTEM_KERNEL_MODULES flattens everything by copying all modules
into the same directory. This causes some issues as vendor_dlkm that
depend on system_dlkm modules now need to update their modules.dep file
due to changes in path. For backward compatibility, add support
for BOARD_SYSTEM_DLKM_SRC .

When both BOARD_SYSTEM_DLKM_SRC and BOARD_SYSTEM_KERNEL_MODULES are
set, BOARD_SYSTEM_KERNEL_MODULES will be preferred. The priority is arbitrary,
but we need a defined ordering to prevent double copying.

Test: th
Bug: 267014648
Change-Id: Ib2f5229af02ea2b7c0d96da70afed9118f484c97
2023-02-10 21:06:53 -08:00
Steve Berbary
ae682f595d Update Security String to 2023-04-05 am: c29c047fd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/21359524

Change-Id: I161a0714844fdf3739595e4fa7a3eceb5ff6fe7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 18:01:15 +00:00
Zhenhuang Wang
def1100a05 Merge "Revert "Enable -sha256 feature to some Soong built zip files"" am: 65ff0460c4 am: 97e73564c3
Original change: https://android-review.googlesource.com/c/platform/build/+/2430432

Change-Id: If36e0842638bd34c67b645bb0e4b4edd868df003
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 15:29:50 +00:00
Zhenhuang Wang
97e73564c3 Merge "Revert "Enable -sha256 feature to some Soong built zip files"" am: 65ff0460c4
Original change: https://android-review.googlesource.com/c/platform/build/+/2430432

Change-Id: I947c01778145669c5cb36d3645f1cd6d43988674
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 14:46:18 +00:00
Zhenhuang Wang
65ff0460c4 Merge "Revert "Enable -sha256 feature to some Soong built zip files"" 2023-02-10 14:11:49 +00:00
Zhenhuang Wang
7d8eeec0dd Revert "Enable -sha256 feature to some Soong built zip files"
This reverts commit fae06b15ce.

Reason for revert: Some labs are still not upgraded to the latest version, causing presubmit test flaky.

Bug: 268608699
Bug: 259513199
Change-Id: I05f0fef27afdbbd5350e77616074059b7bf1da42
2023-02-10 14:02:06 +00:00
Zhenhuang Wang
354552cfee Merge "Enable -sha256 feature to some Soong built zip files" am: 9544346d39 am: 5c8213b1bd
Original change: https://android-review.googlesource.com/c/platform/build/+/2393272

Change-Id: I10f6896ed8d003f143558deb840223155bc8e408
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 09:09:33 +00:00
Zhenhuang Wang
5c8213b1bd Merge "Enable -sha256 feature to some Soong built zip files" am: 9544346d39
Original change: https://android-review.googlesource.com/c/platform/build/+/2393272

Change-Id: I151922ca28ec3f876298898c9a1ab00b55666f6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 08:28:24 +00:00
Zhenhuang Wang
9544346d39 Merge "Enable -sha256 feature to some Soong built zip files" 2023-02-10 08:00:44 +00:00
Steve Berbary
c29c047fd1 Update Security String to 2023-04-05
Bug: 268558932
Change-Id: I5e3d5a90a927f9f4ddd6708c3bbadc89c8821075
2023-02-10 03:21:04 +00:00
Jiakai Zhang
48f6a8799c Merge "Revert "Don't disable dexpreopt for an unbundled build."" am: 9964bf51e5 am: ae60455886
Original change: https://android-review.googlesource.com/c/platform/build/+/2428694

Change-Id: I102e7a9acb39048656309a87daa70cce879516e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 15:21:55 +00:00
Jiakai Zhang
ae60455886 Merge "Revert "Don't disable dexpreopt for an unbundled build."" am: 9964bf51e5
Original change: https://android-review.googlesource.com/c/platform/build/+/2428694

Change-Id: If189521931a7dd959f260ef1408799550bb54c51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 14:42:57 +00:00
Jiakai Zhang
9964bf51e5 Merge "Revert "Don't disable dexpreopt for an unbundled build."" 2023-02-09 14:01:59 +00:00
Jiakai Zhang
60c08f24a7 Revert "Don't disable dexpreopt for an unbundled build."
This reverts commit d5d8904e52.

Reason for revert: Maybe broke the build on git_stage-aosp-master on mainline_modules_x86_64-userdebug

Change-Id: Ia33a642abda127b43aa6e265deb43dca7ee04f34
2023-02-09 12:56:59 +00:00
Treehugger Robot
a32e210dfd Merge "Migrate to the new clang lib dir" am: 99014b038c am: f8149c5688
Original change: https://android-review.googlesource.com/c/platform/build/+/2428752

Change-Id: I2f491d8022861a5c65b488d9d4bfff34c343e330
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 12:13:10 +00:00
Treehugger Robot
f8149c5688 Merge "Migrate to the new clang lib dir" am: 99014b038c
Original change: https://android-review.googlesource.com/c/platform/build/+/2428752

Change-Id: I87a3b04cad809bb5f8eb7d4fd6f08ef34d304530
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 11:32:01 +00:00
Yi Kong
e4b8f48a6d Migrate to the new clang lib dir
Test: presubmit
Change-Id: Ib409725d540d285dfd840bcd3de33020218f3bc0
2023-02-09 15:17:04 +09:00
Jiakai Zhang
cb3836fe52 Merge "Don't disable dexpreopt for an unbundled build." am: 0a3f6a2bb5 am: 8f1a701b8f
Original change: https://android-review.googlesource.com/c/platform/build/+/2425454

Change-Id: Idc4159e23bff8d1f3806aa293b26bd0334198bc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 18:47:05 +00:00
Jiakai Zhang
8f1a701b8f Merge "Don't disable dexpreopt for an unbundled build." am: 0a3f6a2bb5
Original change: https://android-review.googlesource.com/c/platform/build/+/2425454

Change-Id: Ib352612a51574c623334cd670d7762125469fe90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 18:16:35 +00:00
Jiakai Zhang
0a3f6a2bb5 Merge "Don't disable dexpreopt for an unbundled build." 2023-02-08 17:39:51 +00:00
Treehugger Robot
a154b87205 Merge "Merge TQ1A.230205.002" 2023-02-08 10:40:37 +00:00
Treehugger Robot
9ac428ed2e Merge "Use the init_boot partition name with avb for prebuilt" am: 5683ef1934 am: 288f5ca642
Original change: https://android-review.googlesource.com/c/platform/build/+/2422906

Change-Id: I9c98ac1ece002eb3b058756612b91245d39c354c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 02:47:11 +00:00