Commit graph

83669 commits

Author SHA1 Message Date
Treehugger Robot
e26da42cf0 Merge "Can declare 1p without cycles." am: 04d5903f12
Original change: https://android-review.googlesource.com/c/platform/build/+/2464668

Change-Id: I29ff0ebc7918705924020ef196830709b685e7c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 04:31:31 +00:00
Treehugger Robot
be165422c0 Merge "Update GetTargetFilesZipForCustomImagesUpdates zip2zip call" am: d1f79d4e63
Original change: https://android-review.googlesource.com/c/platform/build/+/2462953

Change-Id: I1a9b3ce69949b6787bd01bc4e4edcb885144c211
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 04:30:50 +00:00
Treehugger Robot
04d5903f12 Merge "Can declare 1p without cycles." 2023-03-02 04:18:13 +00:00
Treehugger Robot
d1f79d4e63 Merge "Update GetTargetFilesZipForCustomImagesUpdates zip2zip call" 2023-03-02 03:55:31 +00:00
Treehugger Robot
6e6fb8291f Merge changes I7266c0cc,I3caba054 am: c986b3ada3
Original change: https://android-review.googlesource.com/c/platform/build/+/2464633

Change-Id: I741ebdb2cb8f1f77e99e50d1026dbe507b0ff7a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 23:53:52 +00:00
Treehugger Robot
b7ee2672ec Merge "BUILT_KERNEL_CONFIGS_FILE built by linux tools" am: 37600f4573
Original change: https://android-review.googlesource.com/c/platform/build/+/2464631

Change-Id: If539a9525ce219b9df192e6dba149db18bbbd67e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 23:53:19 +00:00
Bob Badour
7aee59482b Can declare 1p without cycles.
Test: m droid dist
Change-Id: I044f1832db36d685628faed569f87491a6789591
2023-03-01 15:51:24 -08:00
Treehugger Robot
c986b3ada3 Merge changes I7266c0cc,I3caba054
* changes:
  Assert copyright on log contents.
  Assert copyright on comments in file.
2023-03-01 23:23:30 +00:00
Treehugger Robot
37600f4573 Merge "BUILT_KERNEL_CONFIGS_FILE built by linux tools" 2023-03-01 23:05:30 +00:00
Bob Badour
df0f55e526 Assert copyright on log contents.
Test: m droid dist
Change-Id: I7266c0cc7c1517482e3aa66f8c7df3a6fbe484fe
2023-03-01 10:34:34 -08:00
Bob Badour
1d31e2d776 Assert copyright on comments in file.
Test: m droid dist
Change-Id: I3caba054f44e1dcc9896fd4121c3d6a1a5139158
2023-03-01 10:31:25 -08:00
Bob Badour
7cc4e334ca BUILT_KERNEL_CONFIGS_FILE built by linux tools
Doesn't qualify as 0p. Use kernel license text.

Test: m droid dist
Change-Id: Ideb88128b3c0f250d4c978291a028b2952b73ba9
2023-03-01 10:16:04 -08:00
Gregory Montoir
10e0dec463 Update GetTargetFilesZipForCustomImagesUpdates zip2zip call
This changes the generation of the target files with oem images to
operate in two passes. 1/ zip2zip is called without any filespec.
2/ oem images are replaced.

This allows to generate the target-files faster (as entries do not
need to be iterated one by one) and removes the need to escape
special file names.

Bug: 269397842
Change-Id: Ic1cf398b90344e01b2f1658079903d45bcc00b46
2023-03-01 14:44:56 +08:00
Joe Onorato
a29a46050a Merge "Remove OWNERS access for non-build team people to core build system" am: 10bdfb5f23
Original change: https://android-review.googlesource.com/c/platform/build/+/2460830

Change-Id: I5e369235fae2ca61361873f95712dcb9d2d83570
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28 22:02:37 +00:00
Joe Onorato
10bdfb5f23 Merge "Remove OWNERS access for non-build team people to core build system" 2023-02-28 21:27:22 +00:00
Treehugger Robot
397d52d12c Merge "Add libclang_rt.ubsan_standalone to all debug builds" am: 021e31623d
Original change: https://android-review.googlesource.com/c/platform/build/+/2458948

Change-Id: I5ded6c02863415ccf553ddcf4f64cdfebf392d7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28 21:04:32 +00:00
Treehugger Robot
021e31623d Merge "Add libclang_rt.ubsan_standalone to all debug builds" 2023-02-28 20:27:48 +00:00
Treehugger Robot
38f0c1d22e Merge "have sgrep search rust and go files too" am: a373e8e92c
Original change: https://android-review.googlesource.com/c/platform/build/+/2458957

Change-Id: Ia782a2eb1c3b96343663360d3efc7c10f6eb70ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28 19:41:52 +00:00
Joe Onorato
682f36220b Remove OWNERS access for non-build team people to core build system
Test: treehugger
Change-Id: I578a2902b6d0853fffe4c3513322da4c15300513
2023-02-28 10:52:10 -08:00
Treehugger Robot
a373e8e92c Merge "have sgrep search rust and go files too" 2023-02-28 11:00:21 +00:00
Joe Onorato
956707830e have sgrep search rust and go files too
Test: sgrep Singleton
Change-Id: I00ac124cbea59512b094ddc50523a5491ac9a1b7
2023-02-27 15:58:15 -08:00
Erick Alvarez
e6ff3ed647 Merge "Revert "Disable dexpreopt for aosp_riscv64"" am: 37d0273275
Original change: https://android-review.googlesource.com/c/platform/build/+/2458952

Change-Id: I3f8601eab485d89375640e65afc1e0674feb9bfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-27 23:19:27 +00:00
Florian Mayer
45f02948a0 Merge "driveby: Fix typo" am: 2e39131d80
Original change: https://android-review.googlesource.com/c/platform/build/+/2449823

Change-Id: If2b3e5038bd72fc81bc77e278b17290b12e8ab18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-27 23:19:08 +00:00
Erick Alvarez
37d0273275 Merge "Revert "Disable dexpreopt for aosp_riscv64"" 2023-02-27 21:20:34 +00:00
Erick Alvarez
2b8cf0e409 Revert "Disable dexpreopt for aosp_riscv64"
This reverts commit e325f61525.

Reason for revert: DroidMonitor-triggered revert due to breakage in some branches.

Bug: 270958097
Change-Id: I2c3bb568c7f3b0dc7a364ea74b91574966102ff3
2023-02-27 20:39:14 +00:00
Florian Mayer
2e39131d80 Merge "driveby: Fix typo" 2023-02-27 19:36:39 +00:00
Florian Mayer
f9d1c1b714 Add libclang_rt.ubsan_standalone to all debug builds
This is needed to run tests that use `sanitize: { undefined: true }`.

(this is a cherry-pick of fc6f2a43af)

Test: run test that needs ubsan on cf_x86_64_phone
      without this change: fails to link
      with this change: works
Bug: 255414852
Merged-In: Id5d3be9bafcc4dbaaf59ca55728ffc40b5cc4af5
Change-Id: Id5d3be9bafcc4dbaaf59ca55728ffc40b5cc4af5
2023-02-27 10:41:53 -08:00
Ulya Trofimovich
18a94331ca Merge "Disable dexpreopt for aosp_riscv64" am: ee254eca0f
Original change: https://android-review.googlesource.com/c/platform/build/+/2450642

Change-Id: I8e96a2f0098577f1bcddadb413ed2f4fc2f33bf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-27 12:15:00 +00:00
Ulya Trofimovich
ee254eca0f Merge "Disable dexpreopt for aosp_riscv64" 2023-02-27 11:28:25 +00:00
Treehugger Robot
923d0cc1b8 Merge "Reject SPL downgrade OTAs on release-keys devices" am: b9dd9dd417
Original change: https://android-review.googlesource.com/c/platform/build/+/2457448

Change-Id: I9a9f45d33f6a2b49bcf70cb5cf910fde7fbe3c0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-25 02:07:05 +00:00
Treehugger Robot
b9dd9dd417 Merge "Reject SPL downgrade OTAs on release-keys devices" 2023-02-24 22:17:01 +00:00
Florian Mayer
5e3f57c2d5 driveby: Fix typo
Change-Id: I3aa8a0bdd15d16975b8b630b03590457b8ac9326
2023-02-24 19:34:25 +00:00
Kelvin Zhang
3d05f68f3a Reject SPL downgrade OTAs on release-keys devices
Test: th
Bug: 270459308
Change-Id: I013324b5b97336366d8e8cbe05e6ade91778b747
2023-02-24 10:50:53 -08:00
Ulya Trafimovich
e325f61525 Disable dexpreopt for aosp_riscv64
dex2oat isn't supported for riscv64 yet, disable dexpreopt.  For
aosp_riscv64-user and -userdebug builds it is also necessary to
relax the requirement that dexpreopt is enabled.

Test: trehugger
Change-Id: Ib84f1b40675783d286f4ff89d3c1daa9c7be710a
2023-02-24 14:09:10 +00:00
Dennis Song
df1cdb8f53 Merge "Allow rebuild sepolicy even though the image does not exist." am: 1d35f905fd
Original change: https://android-review.googlesource.com/c/platform/build/+/2452627

Change-Id: I305cd0fa62c0295f1222ea75b6d7922fd82977b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 03:07:47 +00:00
Dennis Song
1d35f905fd Merge "Allow rebuild sepolicy even though the image does not exist." 2023-02-24 02:10:00 +00:00
Ulya Trofimovich
10f6bf0169 Merge "Add ART and some other modules to dist target on riscv64." am: b9828d64b4
Original change: https://android-review.googlesource.com/c/platform/build/+/2450643

Change-Id: I7a93db28dcd6bcc64df2a6e616531e8c343ff68d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 19:14:31 +00:00
Alex Buynytskyy
9cb3477141 Merge "Finalize SDK in CI using local_mode." am: dc7e98b9a1
Original change: https://android-review.googlesource.com/c/platform/build/+/2448664

Change-Id: Ifbfceaab5e8136622b78603ce64d3f7b0748af17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 19:13:00 +00:00
Ulya Trofimovich
b9828d64b4 Merge "Add ART and some other modules to dist target on riscv64." 2023-02-23 16:55:48 +00:00
Alex Buynytskyy
dc7e98b9a1 Merge "Finalize SDK in CI using local_mode." 2023-02-23 16:44:14 +00:00
Dennis Song
16d6fe099d Allow rebuild sepolicy even though the image does not exist.
The `--rebuild-sepolicy` option should work when the target
files folder `ODM/` or `VENDOR/` exists. We should not
assume that there is always an image to remove.

Bug: 270529723
Test: m otatools; Create merged builds with rebuild_sepolicy.
Change-Id: I93aeea2cd084fdc7f8179732d77a78bb1d144616
2023-02-23 23:37:42 +08:00
Alex Buynytskyy
775ad5fe2a Finalize SDK in CI using local_mode.
Bug: 260755259
Test: run locally
Change-Id: I72aabbd69865e4648ba01230dd2354431ec2e650
2023-02-23 01:42:48 +00:00
Treehugger Robot
742b6371c4 Merge "Remove scripts no longer in use." am: 40be8db02c
Original change: https://android-review.googlesource.com/c/platform/build/+/2449272

Change-Id: I7f630428c3c0bfef9de3f112f23f33b461bacc8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 00:55:06 +00:00
Treehugger Robot
40be8db02c Merge "Remove scripts no longer in use." 2023-02-22 22:43:43 +00:00
Treehugger Robot
36b1360655 Merge "Add zip2zip to dependency of relevant binary targets" am: fddcbb03a1
Original change: https://android-review.googlesource.com/c/platform/build/+/2447682

Change-Id: Ia9fe8644d335faf13e40036166708ae58c89b337
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 20:54:39 +00:00
Treehugger Robot
fddcbb03a1 Merge "Add zip2zip to dependency of relevant binary targets" 2023-02-22 19:46:32 +00:00
Alex Buynytskyy
25ae24706c Remove scripts no longer in use.
Refactored and moved under build/make/tools/finalization.

Bug: 264308911
Fixes: 264308911
Test: local and on build machines
Change-Id: Ib6ef58fd4e5cd1d7989d7d8fa7ef09532cbe84ec
2023-02-22 11:26:25 -08:00
Ulya Trafimovich
0da6e01bab Add ART and some other modules to dist target on riscv64.
Test: lunch aosp_riscv64-userdebug && m dist
Change-Id: Ib294f30dabeef6cf585ec0e2ad4f51fdfb7f73c4
2023-02-22 13:36:57 +00:00
Treehugger Robot
fbe980bf0c Merge "Refresh the latest script versions + preparation for local mode." am: c28c48b439
Original change: https://android-review.googlesource.com/c/platform/build/+/2445702

Change-Id: Id8b3c4d6e86270d36d4c090918d04180e283348e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-21 21:45:30 +00:00
Kelvin Zhang
6d366d36e4 Add zip2zip to dependency of relevant binary targets
Bug: 269735619
Change-Id: I7eb3de066ec17cfcb072b4072997e3bafa83fbcd
2023-02-21 12:49:20 -08:00