Commit graph

84662 commits

Author SHA1 Message Date
Alex Buynytskyy
d878cdf692 Merge "Mark master as VIC development branch." 2023-04-26 23:39:11 +00:00
Daniel Zheng
fe2a0816b6 Merge "Add --max_threads to OTA generation" am: 15c296958b
Original change: https://android-review.googlesource.com/c/platform/build/+/2563130

Change-Id: Ibd5d90c7661ecf3367485cf43b887c2cefcde544
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 22:27:31 +00:00
Peiyong Lin
148276b55a Properly define angle.mk
Previously we used USE_ANGLE to determine whether the build should include
ANGLE drivers, this patch consolidates that into a separate Makefile.

Bug: b/270994705
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: I4d7ffb869ced219009446d907230178e4b940157
2023-04-26 22:05:20 +00:00
Daniel Zheng
15c296958b Merge "Add --max_threads to OTA generation" 2023-04-26 21:53:53 +00:00
Yuxin Hu
a039a3c302 Merge "Use ro.gfx.angle.supported to indicate if ANGLE is built in vendor" am: e872adfc97
Original change: https://android-review.googlesource.com/c/platform/build/+/2560175

Change-Id: I1e7925c2d5aa4e4891df0f7991dedb0ff11f89aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 20:45:35 +00:00
Steven Moreland
52fbc7df01 Remove config for 64-bit binder ABI
Also make it an error to specify the configuration
being removed.

Bug: 232423610
Test: build, boot
Change-Id: I1e4d993c7f4b9628eee6b270e47919aede4408b6
2023-04-26 20:45:15 +00:00
Yuxin Hu
e872adfc97 Merge "Use ro.gfx.angle.supported to indicate if ANGLE is built in vendor" 2023-04-26 20:03:58 +00:00
Alex Buynytskyy
0fc39526a1 Mark master as VIC development branch.
Test: ./build-step-1-and-m.sh
Bug: 279615150
Change-Id: Idb485846345ea146c04c5ecf6eb4ab6eea122f9b
Merged-In: Idb485846345ea146c04c5ecf6eb4ab6eea122f9b
2023-04-26 18:15:59 +00:00
Daniel Zheng
a30989bafa Add --max_threads to OTA generation
Adding an option to configure max number of threads used during
ota_from_target_files

Bug: 277794445
Test: tested ota_from_target_files
Change-Id: I9bae92ee43c21926434ab04563a2b4f0678b73eb
2023-04-26 10:52:12 -07:00
Steven Moreland
8eca4f898e Merge "remove 32-bit binder req" am: b6040d38fe
Original change: https://android-review.googlesource.com/c/platform/build/+/2565810

Change-Id: I1e2f58d013b3b18de045dbaf122b09a2f3b46c1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 17:48:07 +00:00
Steven Moreland
b6040d38fe Merge "remove 32-bit binder req" 2023-04-26 17:00:01 +00:00
Steven Moreland
03a11ff1c3 remove 32-bit binder req
Now that this value is no longer being read by
libbinder, I'm doing the following to remove
it from the build:
1. this CL (remove requirement)
2. removing the config from all devices
3. removing config from the build + kati obsolete

Bug: 232423610
Test: build, boot
Change-Id: I77fcd14c273b43bd10430a55e91e1d5accc9efd0
2023-04-26 16:48:52 +00:00
Julien Desprez
f268c6ddd1 Merge "Remove jars from suites that aren't used" am: 283e59bf2d
Original change: https://android-review.googlesource.com/c/platform/build/+/2563330

Change-Id: Ibb2cdbef8dfb72a22aec8f3efeabe0564c905cdf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 16:04:34 +00:00
Julien Desprez
283e59bf2d Merge "Remove jars from suites that aren't used" 2023-04-26 15:19:35 +00:00
Justin Yun
762614fd4a Generate enforce_uses_libraries.status to out/target/product
enforce_uses_libraries.status files require dexpreopt.config files
which are generated in out/target/product/<product>/obj because they
are specific to target products.
As common files cannot depend on product specific files, generate the
enforce_uses_libraries.status files to the product specific
intermediate directories instead of the common intermediates.

Bug: 279360253
Test: build
Change-Id: Idc468fdaf046cd37dd8f39a9212aad78283b4c61
2023-04-26 19:39:39 +09:00
Hsin-Yi Chen
139cc54d81 Let the finalization script create ABI dumps for all architectures
The command that creates ABI dumps was written for testing purpose.
It creates the ABI dumps for aosp_arm64-user. The complete finalization
process should create ABI dumps for all supported architectures. This
commit removes the command parameters so that it will create all ABI
dumps by default.

Test: out/host/linux-x86/bin/create_reference_dumps
Bug: 276503801
Change-Id: Id6fbbac512a13d085ea74fec6e8b137485639467
2023-04-26 17:11:20 +08:00
Treehugger Robot
c5200cc442 Merge "Create new target-files-dir target" am: 428f5d5961
Original change: https://android-review.googlesource.com/c/platform/build/+/2552714

Change-Id: Ie1bd32f66456ecbd276627d326fc970c4c97740c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 04:10:15 +00:00
Treehugger Robot
428f5d5961 Merge "Create new target-files-dir target" 2023-04-26 03:35:01 +00:00
Julien Desprez
e00048472f [automerger skipped] Merge "Remove tradefed-no-fwk from suites" am: aea93408dc -s ours
am skip reason: Merged-In I672533c475362f4438b5aefc108749be4cfc97df with SHA-1 ca46df5783 is already in history

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

Change-Id: Idda07c54bb2247f1e3615f12d729a2a67f39fbdb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 02:02:03 +00:00
Julien Desprez
f8111be53c [automerger skipped] Remove tradefed-no-fwk from suites am: 5fc7314a51 -s ours
am skip reason: Merged-In I672533c475362f4438b5aefc108749be4cfc97df with SHA-1 ca46df5783 is already in history

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

Change-Id: I29eff7c1d3ea0779cb0aa6ec74766cce939b560e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 02:01:59 +00:00
Julien Desprez
ebe62658ed Remove jars from suites that aren't used
Test: presubmit
Bug: 279638202
Change-Id: I01ea97bee5c9502eebda7e09eb617854e1aaf1a8
2023-04-26 01:29:13 +00:00
Julien Desprez
aea93408dc Merge "Remove tradefed-no-fwk from suites" 2023-04-26 01:28:22 +00:00
Colin Cross
e9f67b7fcc Merge "Update PLATFORM_VERSION to VP1A" am: 0697b9bb6e
Original change: https://android-review.googlesource.com/c/platform/build/+/2556030

Change-Id: Ia80957a81eeaea579a35ebf54c8b8ed5f374e9c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 00:45:59 +00:00
Colin Cross
0697b9bb6e Merge "Update PLATFORM_VERSION to VP1A" 2023-04-26 00:23:54 +00:00
Julien Desprez
5fc7314a51 Remove tradefed-no-fwk from suites
Test: presubmit
Bug: 262597958
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:917acd67c736894551537c52f8eebc4ab8f96b95)
Merged-In: I672533c475362f4438b5aefc108749be4cfc97df
Change-Id: I672533c475362f4438b5aefc108749be4cfc97df
2023-04-25 20:55:31 +00:00
Yuxin Hu
dbd7c0472d Use ro.gfx.angle.supported to indicate if ANGLE is built in vendor
Bug: b/270994705
Test: m -j45; flash and check Pixel 7 boots fine
atest CtsAngleIntegrationHostTestCases

Change-Id: I0fb881962ab77abd18f05d33393c4ee11694109c
2023-04-25 18:05:45 +00:00
Justin Yun
308d02fd62 Enforce product interface by default
We have both with/without product interface enforced targets.
Because of this, unbundled apps in the product partition must consider
bundled cases and has to add `jni_uses_platform_apis: true` to use jni
libraries.
As targets with PRODUCT_SHIPPING_API_LEVEL > 29 must enforce the
product interfaces, if PRODUCT_SHIPPING_API_LEVEL is not defined,
enforce the product stable interface by default.

Bug: 273386586
Test: TH
Change-Id: I5874bf0ae8477fab7b1097ad24c9cc0d95543eb1
2023-04-25 08:14:58 +00:00
Treehugger Robot
5939a80763 Merge "Support to merge PREBUILT_IMAGES" am: dd62b0da0f
Original change: https://android-review.googlesource.com/c/platform/build/+/2512522

Change-Id: I67339cb1a8108577522bd3446e868adbe3385439
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 05:17:11 +00:00
Treehugger Robot
dd62b0da0f Merge "Support to merge PREBUILT_IMAGES" 2023-04-25 04:24:20 +00:00
Isaac J. Manjarres
64fa9a35bd Add support for packaging modules.load.charger into vendor_[kernel_]boot
Add support for createing a modules.load.charger file in the vendor_boot
and vendor_kernel_boot images when
BOARD_VENDOR[_KERNEL_]_RAMDISK_CHARGER_MODULES_LOAD is specified.

Bug: 266752750
Change-Id: Ic8fc06566aafa5c01dff50daa6293c6cb6d0c263
Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
2023-04-24 16:01:59 -07:00
Steven Moreland
e204a5cbf6 Merge "envsetup: syswrite - wait after rooting" am: 60588af876
Original change: https://android-review.googlesource.com/c/platform/build/+/2540971

Change-Id: I99d1952212d517b7f462f0175dfa7ed84b0f9a93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-24 22:37:14 +00:00
Steven Moreland
60588af876 Merge "envsetup: syswrite - wait after rooting" 2023-04-24 21:53:22 +00:00
Joe Onorato
5f647df78d Merge "Save approx 18GB of RAM by not having a bazillion copies of the same modules names" am: 735320a9d7
Original change: https://android-review.googlesource.com/c/platform/build/+/2556850

Change-Id: Ie384802be1ad23f293901c1fc4e766eb448785ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-24 21:31:52 +00:00
Colin Cross
d69b64d33f Update PLATFORM_VERSION to VP1A
Update PLATFORM_VERSION to VP1A.  The codename is now VanillaIceCream.

Bug: 279492191
Test: m checkbuild
Change-Id: Ibc24c10cf040407d79662c1819beaf97da791efb
Merged-In: Ibc24c10cf040407d79662c1819beaf97da791efb
2023-04-24 14:28:13 -07:00
Joe Onorato
735320a9d7 Merge "Save approx 18GB of RAM by not having a bazillion copies of the same modules names" 2023-04-24 21:06:57 +00:00
Treehugger Robot
28ecb7a712 Merge "rearrange app-related artifact path in make" am: 73d29f11b8
Original change: https://android-review.googlesource.com/c/platform/build/+/2554553

Change-Id: I5f68611bc2ee8d0f3dfeb4a4faec03596c6695b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-24 18:50:30 +00:00
Treehugger Robot
73d29f11b8 Merge "rearrange app-related artifact path in make" 2023-04-24 18:24:36 +00:00
Treehugger Robot
34ff715849 Merge "Set BOARD_X_FILE_SYSTEM_TYPE in the common BoardConfig file" am: d88d79989d
Original change: https://android-review.googlesource.com/c/platform/build/+/2551676

Change-Id: Ic0850dc696ffac73aea5667dfc76a3e15f423cd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-24 16:47:25 +00:00
Treehugger Robot
d88d79989d Merge "Set BOARD_X_FILE_SYSTEM_TYPE in the common BoardConfig file" 2023-04-24 15:55:24 +00:00
Treehugger Robot
59d4bb4a86 Merge "Remove MODULE_BUILD_FROM_SOURCE for gsi_release.mk" am: 4a9b9b4d89
Original change: https://android-review.googlesource.com/c/platform/build/+/2546591

Change-Id: Iae5c9827880227c5fe2a128050d5410665241f52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-24 13:51:27 +00:00
Jeongik Cha
ba1b925e47 rearrange app-related artifact path in make
* move package-res.apk related files to "common" intermediate dir as
  aapt2.srcjar does because it is an app which is supposed to be arch
  neutral
* add device name in auto-gen RRO to avoid conflicits

Bug: 279358050
Bug: 279360102
Test: m
Change-Id: Ibcc5e5546bd43767ab0d4807933eeb57d58f99d6
2023-04-24 13:16:32 +00:00
Treehugger Robot
4a9b9b4d89 Merge "Remove MODULE_BUILD_FROM_SOURCE for gsi_release.mk" 2023-04-24 13:11:18 +00:00
Joe Onorato
9ba2f4d022 Save approx 18GB of RAM by not having a bazillion copies of the same modules names
Bug: 278864904
Test: treehugger, m, manual inspection
Change-Id: Ib564b3edf4a0523fc8231b8e57a5ba9c42a73294
2023-04-24 01:11:40 -07:00
Roman Kiryanov
d82931f9aa Remove emulator dependencies on non emulator targets (2)
Bug: 111538404
Test: presubmit
Change-Id: Idd55d7f10bc178cfe716d173dbe59d2bed5fd963
Signed-off-by: Roman Kiryanov <rkir@google.com>
2023-04-22 18:07:52 -07:00
Roman Kiryanov
2d9385fd32 Set BOARD_X_FILE_SYSTEM_TYPE in the common BoardConfig file
required if TARGET_COPY_OUT_X is set to
`product` or `system_ext`.

Bug: 111538404
Test: presubmit
Change-Id: Ibe7538885cd2f00b8f4340db83be7618a0beee4a
Signed-off-by: Roman Kiryanov <rkir@google.com>
2023-04-22 18:07:30 -07:00
Treehugger Robot
5970bf338b Merge "Fix incremental OTA generation failures" am: 5ca02ff114
Original change: https://android-review.googlesource.com/c/platform/build/+/2553374

Change-Id: I17880a243562b821a634715b242677de52ba6d12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-22 02:04:12 +00:00
Cole Faust
b3e7b06662 Merge "Create art_debug_opt_flag soong config variable" am: 7740915dbf
Original change: https://android-review.googlesource.com/c/platform/build/+/2549370

Change-Id: Ieedff309d9384c0a69a73833aa8ed042213bb54b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-22 02:03:24 +00:00
Treehugger Robot
5ca02ff114 Merge "Fix incremental OTA generation failures" 2023-04-22 01:26:28 +00:00
Cole Faust
7740915dbf Merge "Create art_debug_opt_flag soong config variable" 2023-04-22 01:18:06 +00:00
Treehugger Robot
dba8e6640f Merge "Don't skip vndk finalization." am: 315e8b52ef
Original change: https://android-review.googlesource.com/c/platform/build/+/2555112

Change-Id: I9e904fea56ee151042dd3f47b72da6e170f759f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 23:55:05 +00:00