Commit graph

76269 commits

Author SHA1 Message Date
Jiakai Zhang
36c8b1d229 Merge "Remove PreoptExtractedApk." into main am: ba45ba5763
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2848255

Change-Id: I627974d669b4e978ff555553fa94fd5bfc63f7c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 10:50:42 +00:00
Rico Wind
77379a479f Merge "Reapply "Use R8 for resource shrinking"" into main am: 2f6b403ccd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2846953

Change-Id: I787623b4073f8c550f6d94ff0855fda873167d0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 10:50:13 +00:00
Jiakai Zhang
ba45ba5763 Merge "Remove PreoptExtractedApk." into main 2023-11-29 10:17:29 +00:00
Rico Wind
2f6b403ccd Merge "Reapply "Use R8 for resource shrinking"" into main 2023-11-29 10:16:36 +00:00
Yi Kong
39e267f956 Merge "Remove PGO build support" into main am: 33914a613f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2845655

Change-Id: I5ee81e0edf10806712cc45b8d7b02a5a3ff215e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 08:16:03 +00:00
Yi Kong
33914a613f Merge "Remove PGO build support" into main 2023-11-29 07:35:14 +00:00
Jeongik Cha
4bd956d69d Merge "Show estimated build end time during build" into main am: 98c0c8323f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2840455

Change-Id: Iaeca62d0f75bce85c211b7456dad22afa2c7dbb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 06:01:35 +00:00
Rico Wind
98e7fa8db1 Reapply "Use R8 for resource shrinking"
This reverts commit a9fd59a7f2.

We are moving the resource shinking pipeline into r8 (gennerally, not just for platform)

This disables the usage of the resource shrinker cli from cmd-line tools

There are no changes in this cl compared to the original land, the fix
was done in R8 (to use the same compression for res folder entries as
in the original)

Bug: 308710394
Bug: 309078004
Test: Existing, validated that resource table on SystemUI was byte<>byte equal, validated uncompression

Merged-In: Ib8a6fb128084e994325b975c46a036cb41494654

Change-Id: Id45b170dd50f75bc87e21ad03b2d0679efb7adc2
2023-11-29 05:07:50 +00:00
Jeongik Cha
98c0c8323f Merge "Show estimated build end time during build" into main 2023-11-29 04:51:23 +00:00
Treehugger Robot
68c87f7b73 Merge "rustc-1.73.0 Build 11110309" into main am: c0e9dbd109
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2834891

Change-Id: Icbee38ccb30cd8fc3cb27267915f42dc36d77373
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 04:20:23 +00:00
Treehugger Robot
c0e9dbd109 Merge "rustc-1.73.0 Build 11110309" into main 2023-11-29 03:21:57 +00:00
Jooyung Han
f9c573653c Merge "Add non_apex.exclude_shared_libs to cc" into main am: 2648a99386
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2849278

Change-Id: I88115bd157f5c8eb5135f2c53a394998d9e92799
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 02:14:34 +00:00
Jooyung Han
2648a99386 Merge "Add non_apex.exclude_shared_libs to cc" into main 2023-11-29 01:44:33 +00:00
Treehugger Robot
66dd52b74d Merge "Enable dex container (DEX v41) for the whole system" into main am: 7d813e0dba
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2238838

Change-Id: I166e8dfcb9e7ad9bfd4c4edfae56beb9215d8680
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 01:07:05 +00:00
Jeongik Cha
3622b3464b Show estimated build end time during build
Ninja delivers estimated total build time and critical path time from
previous ninja log.

Bug: 292304818
Test: check if ETA shows
Change-Id: I014caaa3e8222a53c8822616b2ae31b88a3b0310
2023-11-29 09:57:35 +09:00
Treehugger Robot
7d813e0dba Merge "Enable dex container (DEX v41) for the whole system" into main 2023-11-29 00:32:48 +00:00
Colin Cross
6d3474d64c Merge "Don't write license data to Android-${TARGET_PRODUCT}.mk" into main am: 74656ccf35
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2842061

Change-Id: I053985b4b5c3d53d06e61fde9d88ad57daaadb64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 23:07:28 +00:00
Treehugger Robot
8391d4ff5c Merge "Sandbox ScriptGroupTest-rscript" into main am: 5ca7b8ed22
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2847997

Change-Id: I5ff765ed7026904d8bc7dd1545775bf0900e4158
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 23:07:02 +00:00
Colin Cross
74656ccf35 Merge "Don't write license data to Android-${TARGET_PRODUCT}.mk" into main 2023-11-28 22:51:32 +00:00
Treehugger Robot
5ca7b8ed22 Merge "Sandbox ScriptGroupTest-rscript" into main 2023-11-28 22:19:57 +00:00
Cole Faust
0fcbe14ab4 Merge "Sandbox cronet genrules" into main am: 38969102dd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2842063

Change-Id: I461274b5169e7af47f8d1bc9d548f5b076bffa46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 19:02:26 +00:00
Cole Faust
2d7546c0cb Merge "Sandbox apexd test genrules" into main am: 122767d27c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2848754

Change-Id: I79938a0b6dd990bbf650df052b74c457348fa2b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 18:48:54 +00:00
Cole Faust
38969102dd Merge "Sandbox cronet genrules" into main 2023-11-28 18:30:40 +00:00
Cole Faust
122767d27c Merge "Sandbox apexd test genrules" into main 2023-11-28 17:58:28 +00:00
Jooyung Han
9ffbe83028 Add non_apex.exclude_shared_libs to cc
This can be used to add apex-specific shared_libs to a CC module. It
would be nice if we could have apex.shared_libs. But it would make code
much harder to follow because we need to record the shared_libs list as
"exclude list" for non-apex anyway.

Bug: 312510312
Test: m libhardware libhardware.vendor libhardware.vendor.com.google.cf.ir
  # check DTNEEDED for libapexsupport
  # only apex-variant should have the dependency
Change-Id: I56a3dc280127d8ba44337707444ea226a49ccf0f
2023-11-28 22:42:23 +09:00
Jiakai Zhang
db93553b02 Remove PreoptExtractedApk.
This was added by r.android.com/513843 to force dexpreopt some GMS core
modules even if dexpreopt is disabled, to avoid some memory usage
regression. We no longer need it because dexpreopt is never disabled on
production builds.

Bug: 313505540
Test: m
Change-Id: I605b7569c17ee715cd4df167768e25aaf51bcd37
2023-11-28 13:40:58 +00:00
Søren Gjesse
b82a2a278b Enable dex container (DEX v41) for the whole system
Bug: b/249922554
Test: device boots
Change-Id: Idc63034cc7d5f4bc4533d1f580eeffe1494b56a6
2023-11-28 13:24:21 +00:00
Treehugger Robot
f6a132e0a5 Merge "Add support for parsing 'LOCAL_TARGET_SDK_VERSION' in androidmk" into main am: 130079c893
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2849235

Change-Id: Iefe8dfbf1f372021abe10b26e9b5bdd448e8b046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 09:53:13 +00:00
Treehugger Robot
130079c893 Merge "Add support for parsing 'LOCAL_TARGET_SDK_VERSION' in androidmk" into main 2023-11-28 09:11:46 +00:00
Herbert Xue
caadada423 Add support for parsing 'LOCAL_TARGET_SDK_VERSION' in androidmk
Update androidmk to enable parsing of 'LOCAL_TARGET_SDK_VERSION' from
an Android.mk and translating it to target_sdk_version in an Android.bp.

Bug: 313336240
Test: m androidmk
Test: androidmk vendor/xts/gts-tests/tests/assist/Android.mk
Change-Id: I465aba3ea7d22a9978fc370a6718a2cfc43dce36
2023-11-28 17:01:00 +08:00
Treehugger Robot
caf25476a0 Merge "Sandbox checkIn-service-stub-lite" into main am: a4291d572a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2848757

Change-Id: I3ff90bac2a5d6246784ebf986d11e58d1568e87c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 02:38:48 +00:00
Treehugger Robot
a4291d572a Merge "Sandbox checkIn-service-stub-lite" into main 2023-11-28 02:21:56 +00:00
Treehugger Robot
034251de5e Merge "Add defaults modules for avb modules" into main am: 0edba2a37e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2842914

Change-Id: Ie9cd3c1d28bd34b38c865e00ff2c3dabd4e86d07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 02:15:24 +00:00
Treehugger Robot
0edba2a37e Merge "Add defaults modules for avb modules" into main 2023-11-28 01:36:35 +00:00
Cole Faust
9de49502af Sandbox checkIn-service-stub-lite
go/roboleaf-busy-beavers-sandboxing

Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py checkIn-service-stub-lite
Change-Id: If64ca165eed121b536f566a4fc36c9e6597784fd
2023-11-27 17:31:13 -08:00
Yi-Yo Chiang
04e00f621e Merge "Deprecate BOARD_BUILD_GKI_BOOT_IMAGE_WITHOUT_RAMDISK" into main am: 62093cf7fc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2845654

Change-Id: I99dc9f93d1e0005e928b6bddddc328bef15e87fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 01:03:00 +00:00
Cole Faust
585f54c6e4 Sandbox ue_unittest_erofs_imgs am: fc1e0cec4c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2848755

Change-Id: I01c0691c1acd689b4400923b9cd36d5ae874a436
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 01:02:19 +00:00
Yi-Yo Chiang
62093cf7fc Merge "Deprecate BOARD_BUILD_GKI_BOOT_IMAGE_WITHOUT_RAMDISK" into main 2023-11-28 00:38:44 +00:00
Cole Faust
44850e04ae Sandbox ScriptGroupTest-rscript
go/roboleaf-busy-beavers-sandboxing

Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py ScriptGroupTest-rscript
Change-Id: I335634c0a0a74d35967f540070112888758ae0ca
2023-11-27 15:15:44 -08:00
Cole Faust
fc1e0cec4c Sandbox ue_unittest_erofs_imgs
This already works with sandboxing, I'm not sure why it was added.

Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py ue_unittest_erofs_imgs
Change-Id: I8d2c151e3bc6ed87e1d147e0ae316397ad56c4c8
2023-11-27 14:55:06 -08:00
Charisee
67b2923cd0 rustc-1.73.0 Build 11110309
bug: http://b/303252546
Test: m rust
Change-Id: Ic8f99af411665b7eaef81d9ca15342e1ea396fc3
2023-11-27 22:30:13 +00:00
Treehugger Robot
19169c90b7 Merge "Remove google_clockwork list of soong plugins" into main am: 63e3ecbaa3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2847995

Change-Id: I9c524388e8f18199879e6236d5659828445a1bcd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 22:25:29 +00:00
Treehugger Robot
5c3d19f7eb Merge "Sandbox libc_musl_sysroot_bits" into main am: ae4cad3cda
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2847249

Change-Id: I05c16f35712544a2be6fe2a620de77829b486af2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 22:25:15 +00:00
Treehugger Robot
639a094825 Merge "Sandbox pvmfw_fdt_template_rs" into main am: 1f294415f5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2847250

Change-Id: I209b02d3d176b92717bff42d1800e9d197ac9ee3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 22:24:54 +00:00
Treehugger Robot
328f58ac89 Merge "rust: rust-project.json: Skip disabled modules" into main am: 359611c1df
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2847243

Change-Id: I1850b091bad11cc09a0164b5ace9d639d2effd8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 22:24:00 +00:00
Cole Faust
962ee8be34 Sandbox apexd test genrules
Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py gen_corrupt_rebootless_apex gen_key_mismatch_capex
Change-Id: I558f0b856f80bfebbb9b68b8c95c587d4e13ac84
2023-11-27 14:11:05 -08:00
Treehugger Robot
63e3ecbaa3 Merge "Remove google_clockwork list of soong plugins" into main 2023-11-27 21:49:39 +00:00
Treehugger Robot
ae4cad3cda Merge "Sandbox libc_musl_sysroot_bits" into main 2023-11-27 21:32:58 +00:00
Treehugger Robot
1f294415f5 Merge "Sandbox pvmfw_fdt_template_rs" into main 2023-11-27 21:32:57 +00:00
Treehugger Robot
359611c1df Merge "rust: rust-project.json: Skip disabled modules" into main 2023-11-27 21:12:11 +00:00