Commit graph

82927 commits

Author SHA1 Message Date
John Reck
bc14f0bedf Merge "IAllocator-V2" am: 2d0f81120c
Original change: https://android-review.googlesource.com/c/platform/build/+/2278630

Change-Id: Ic6d58503ade6ae65370a7e6ffe076320047713ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 00:23:36 +00:00
Treehugger Robot
f16593490f Merge "Define vendor-hwasan-snapshot target" 2022-12-02 00:20:03 +00:00
John Reck
2d0f81120c Merge "IAllocator-V2" 2022-12-01 23:48:40 +00:00
Seth Moore
4f4c9dbf02 Merge "Add rkpd system service mainline module to build" am: 922a22fb9e
Original change: https://android-review.googlesource.com/c/platform/build/+/2263923

Change-Id: I753cf53e4e8e723536d1737d4b35fa447c0d7e0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 22:02:45 +00:00
Seth Moore
922a22fb9e Merge "Add rkpd system service mainline module to build" 2022-12-01 21:45:38 +00:00
Ramji Jiyani
8910f3eb61 Merge "system_dlkm: Remove manual module copy" am: 40a1333138
Original change: https://android-review.googlesource.com/c/platform/build/+/2323114

Change-Id: Id18356e6dd0656fd2b505ba3def929f3b3d24f9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 20:23:44 +00:00
Ramji Jiyani
40a1333138 Merge "system_dlkm: Remove manual module copy" 2022-12-01 19:35:23 +00:00
John Reck
60860ac5c3 IAllocator-V2
Test: make
Change-Id: Ifa1ef1a91e7de94d5ad27c846d287d9bbacabd2a
Merged-In: Ifa1ef1a91e7de94d5ad27c846d287d9bbacabd2a
2022-12-01 17:38:53 +00:00
Kevin Dagostino
cc3e086830 Merge "Rename BUILD file to BUILD.bazel" am: 7db2deae22
Original change: https://android-review.googlesource.com/c/platform/build/+/2301318

Change-Id: I5a3bf1123808e19943f4f8634578493bc1cd664a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 08:04:03 +00:00
Kevin Dagostino
7db2deae22 Merge "Rename BUILD file to BUILD.bazel" 2022-12-01 07:32:59 +00:00
Kevin Dagostino
7a9b251205 Rename BUILD file to BUILD.bazel
Using standard naming to be consistent with the rest of the bp2build workspace.

Test: b build //build/core/...
Change-Id: If81a8fb82ccd3f63d0961f8a4a37ca8be7aa4430
2022-12-01 07:31:32 +00:00
Treehugger Robot
bcc2f1b387 Merge "The latest version of finalization scripts." am: 30aeecb648
Original change: https://android-review.googlesource.com/c/platform/build/+/2322855

Change-Id: Ia21439f7c1c91bcdf6c2c5d7537774da226823e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 02:01:27 +00:00
Kiyoung Kim
0c0795944c Append LLNDK libraries in the APEX to the system linker config
Some of the LLNDK libraries are in the APEX, and those should be marked
as required libs of system image, so system namespaces can link to the
APEX namespace properly. This change automates the process instead of
adding APEX LLNDKs to linker.config.json manually.

Bug: 251782700
Test: Cuttlefish build and boot succeeded
Change-Id: I538a619caa67e64e6432517e1de87f3007bccbde
2022-12-01 10:58:38 +09:00
Treehugger Robot
30aeecb648 Merge "The latest version of finalization scripts." 2022-12-01 01:19:28 +00:00
Ramji Jiyani
49b70b67ce system_dlkm: Remove manual module copy
Rather than copying GKI modules from source folder
pointed by BOARD_SYSTEM_DLKM_SRC; use core build
macro BOARD_SYSTEM_KERNEL_MODULES as list
of GKI modules to be copied on the system_dlkm partition.

This leverages core infrastructre already present for
the kernel modules for vendor_dlkm, odm_dlkm, etc.

Bug: 232430739
Test: TH
Change-Id: Ic53f450eb426dc4ec38fc80b7ceaa625c8ab206b
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
2022-12-01 00:55:10 +00:00
Jooyung Han
fab86e18ed Merge "Refactor: remove --apex-info-file arg to checkvintf" am: a4dc4a3ac7
Original change: https://android-review.googlesource.com/c/platform/build/+/2318149

Change-Id: Ia16e08454750a2824af66c163fce19b1188fe2e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 00:22:21 +00:00
Jooyung Han
a4dc4a3ac7 Merge "Refactor: remove --apex-info-file arg to checkvintf" 2022-12-01 00:05:16 +00:00
Steven Moreland
3e89e3ddfc Merge "note sepolicy split deprecation" am: a7733488f5
Original change: https://android-review.googlesource.com/c/platform/build/+/2321033

Change-Id: I98425812a16c24d24e00d469d20929d2cf71bcb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 22:42:36 +00:00
Treehugger Robot
86fe086bb7 Merge "Change condition to match go/thirdpartylicenses" am: e6b226284d
Original change: https://android-review.googlesource.com/c/platform/build/+/2313302

Change-Id: Iec30026aafdae627a3fee8c20e51413fb26e240d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 22:42:20 +00:00
Steven Moreland
a7733488f5 Merge "note sepolicy split deprecation" 2022-11-30 22:23:00 +00:00
Treehugger Robot
e6b226284d Merge "Change condition to match go/thirdpartylicenses" 2022-11-30 22:10:50 +00:00
Alex Buynytskyy
55de663547 The latest version of finalization scripts.
Bug: 243966946
Bug: 260755259
Test: run locally and in CI
Change-Id: I515c25cd4c8dbde332c1788da29c391b07de5d48
2022-11-30 21:44:29 +00:00
Bob Badour
cac8a3cf09 Change condition to match go/thirdpartylicenses
Policy uses restricted_if_statically_linked at
https://opensource.google/documentation/reference/thirdparty/licenses#RestrictedIfStaticallyLinked

Test: m droid
Change-Id: I9b18d3133ae72de1bede99f46b530298313bc2e6
2022-11-30 10:52:41 -08:00
Steven Moreland
747f49cb39 note sepolicy split deprecation
There is a lot of policy cruft left around to support this. We
would like to simplify the number of supported options, so doing
this as an advanced notice.

Bug: 257176017
Test: build
Change-Id: I1c4350fb3a075118be62d75cc1351eb20e584749
2022-11-30 00:46:39 +00:00
Xin Li
1726d56704 Merge TQ1A.221205.012
Bug: 255404110
Merged-In: Ic00bf503ad58f93db47025a1f6c2037968f07442
Change-Id: I16a7fadb74f0ec0fdbce9d1caf45d4bfc046c7b3
2022-11-29 15:20:17 -08:00
Seth Moore
52295677f3 Merge "Add rkpd mainline module" am: dd026fce63
Original change: https://android-review.googlesource.com/c/platform/build/+/2307905

Change-Id: I8fdbea303b9912d09e174794ecb6842ee8057b13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 22:38:33 +00:00
Seth Moore
dd026fce63 Merge "Add rkpd mainline module" 2022-11-28 22:02:35 +00:00
Jooyung Han
8af44a923f Refactor: remove --apex-info-file arg to checkvintf
Now, checkvintf finds input file from dirmaps. We don't need to pass
around --apex-info-file.

dump_apex_info also generates files under /apex without an explicit
--out_file argument.

This makes "make" know less about coupling between dump_apex_info
and checkvintf.

Bug: 260310732
Test: manually run check_target_files_vintf -v target-files
Change-Id: Ibfe31978e983e13df35c32521913d5cbc89dc1d1
2022-11-28 15:01:30 +09:00
Treehugger Robot
e2a672954a Merge "Export all jdk.compiler packages for host tests" am: f9ff341481
Original change: https://android-review.googlesource.com/c/platform/build/+/2317256

Change-Id: I63128767c123a915ca361614d3a088c6472dcd06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-25 15:17:20 +00:00
Treehugger Robot
f9ff341481 Merge "Export all jdk.compiler packages for host tests" 2022-11-25 14:48:53 +00:00
Sorin Basca
ab23a59c60 Export all jdk.compiler packages for host tests
Fixes: 260328928
Test: atest error_prone_android_framework_test:com.google.errorprone.bugpatterns.android.ContextUserIdCheckerTest#testDevicePolicyManager --host
Change-Id: I6ff2893b906c6b7584183a608b377ddd93132873
2022-11-25 11:17:57 +00:00
Sorin Basca
fc94c50721 Merge "Fix Java flags in TF template to work with JDK 17+" am: c87d15adb8
Original change: https://android-review.googlesource.com/c/platform/build/+/2313308

Change-Id: Ib78c80b1afd59cdea17fcb3a9b5d240e09a86104
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 10:12:49 +00:00
Sorin Basca
c87d15adb8 Merge "Fix Java flags in TF template to work with JDK 17+" 2022-11-24 09:28:37 +00:00
Android Build Coastguard Worker
24484aedf8 Version bump to TQ1A.230105.002 [core/build_id.mk]
Change-Id: I1a781776f9bda43ef63c87709d9d8891d1910722
2022-11-23 21:38:23 +00:00
Android Build Coastguard Worker
ccf16b5cdb [coastguard skipped] Merge sparse cherrypicks from sparse-9292460-L47800000957470317 into tm-qpr1-release.
Change-Id: Ifa03bf76286e6dd333e47e495f6e1eae1415a476
2022-11-23 21:16:32 +00:00
Android Build Coastguard Worker
6bec24b362 Version bump to TQ1A.230105.001.A2 [core/build_id.mk]
Change-Id: I672f7f7d558ad05bb3f077c1d35cb678558c5006
2022-11-23 21:12:02 +00:00
Treehugger Robot
bd703c3fa3 Merge "Fix the build system to pass "-Xgc:CMC" to dex2oat correctly." am: 8497cfd66e
Original change: https://android-review.googlesource.com/c/platform/build/+/2312212

Change-Id: I8337a911ef3a0710301ce072dd8e27e76abd3372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 15:28:27 +00:00
Treehugger Robot
8497cfd66e Merge "Fix the build system to pass "-Xgc:CMC" to dex2oat correctly." 2022-11-23 14:54:00 +00:00
Jiakai Zhang
4a30e138e2 Fix the build system to pass "-Xgc:CMC" to dex2oat correctly.
Bug: 242553398
Test: -
  1. lunch aosp_oriole-userdebug
  2. m
  3. Don't see "--runtime-arg -Xgc:CMC" in .invocation files.
Test: -
  1. lunch aosp_oriole-userdebug
  2. OVERRIDE_ENABLE_UFFD_GC=true m
  3. See "--runtime-arg -Xgc:CMC" in .invocation files.
Change-Id: If1c2c5feecc8148a0e2fa6a0e0b23641945f5b1d
2022-11-23 11:28:20 +00:00
Hadrien Zalek
6053ac1816 Fix Java flags in TF template to work with JDK 17+
Isolated TF tests are failing since the `--add-exports` option cannot be
parsed by JDK 17+ due to a missing '<target-module>' component. This
change resolves the issue by adjusting the options in the TF template to
export the source package to all unnamed modules.

See
https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-2F61F3A9-0979-46A4-8B49-325BA0EE8B66
for more information.

Test: atest --host HelloWorldHostTest
Change-Id: Iccb8a8dcd3707237e018d6feb6b6a0e8d2bc9a86
2022-11-22 15:40:26 -08:00
Treehugger Robot
77de388407 Merge "Script for CI build target on *-finalization-1 branches." am: 7e34ad149f
Original change: https://android-review.googlesource.com/c/platform/build/+/2312807

Change-Id: Id0db3e194a449209d51a9291852bb7186b3b52b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 20:09:56 +00:00
Treehugger Robot
7e34ad149f Merge "Script for CI build target on *-finalization-1 branches." 2022-11-22 19:32:23 +00:00
Alex Buynytskyy
e5aeeb9769 Script for CI build target on *-finalization-1 branches.
Revert the previous script changes, run the finalization, and then the
build.
Useful to cross check the broken branch - do we just need to re-run the
script, or is there a bigger problem.

Bug: 243966946
Test: run locally
Change-Id: I44d6a5f5f523001ae70e5b82315ffbad82a1233d
2022-11-22 16:43:00 +00:00
Treehugger Robot
90a4db9cf4 Merge "Determine whether to enable userfaultfd GC at build time." am: 092073607d
Original change: https://android-review.googlesource.com/c/platform/build/+/2304232

Change-Id: I309d6877894a3b37284d5f49b69c7b258614563e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 15:53:25 +00:00
Treehugger Robot
092073607d Merge "Determine whether to enable userfaultfd GC at build time." 2022-11-22 15:10:20 +00:00
Seth Moore
363cf8881f Add rkpd system service mainline module to build
Test: service-rkp-unittest
Change-Id: I74e0bff2965154a0091d6573b4bfb2c93027b0cb
2022-11-21 11:15:10 -08:00
Seth Moore
277a3f6f83 Add rkpd mainline module
Bug: 254112668
Test: It builds
Merged-In: Iacd7164d9fae68a622ad45467c2e4af2f0111468
Change-Id: Iacd7164d9fae68a622ad45467c2e4af2f0111468
2022-11-21 10:57:39 -08:00
Treehugger Robot
94f22d5c19 Merge "Export com.sun.tools.javac.api for IsolatedHostTest" am: 72d74e2abb
Original change: https://android-review.googlesource.com/c/platform/build/+/2304019

Change-Id: Iac9591800fc1eebed4aab2af732951b26ec37ffe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-21 15:40:39 +00:00
Treehugger Robot
72d74e2abb Merge "Export com.sun.tools.javac.api for IsolatedHostTest" 2022-11-21 15:05:53 +00:00
Treehugger Robot
8e24d06a40 Merge "envsetup: Add pygrep function to grep all python files" am: c5f135a5eb
Original change: https://android-review.googlesource.com/c/platform/build/+/1512271

Change-Id: I508ef7aabfdbacf2997f8483362d72a3acec0275
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-18 05:02:12 +00:00