Commit graph

8078 commits

Author SHA1 Message Date
Treehugger Robot
00b4775107 Merge "Allow to force ro.audio.silent=1 in build." 2022-08-29 23:38:07 +00:00
Florian Mayer
fd1187e821 Allow to force ro.audio.silent=1 in build.
Change-Id: I3e0775dc0befb09d47525284351dad099090b96b
2022-08-26 21:52:57 +00:00
Evgenii Stepanov
49fd191501 Add mtectrl to the base image.
This is a tiny utility (11Kb) that implements the bootloader switch
interface for MTE:
https://source.android.com/docs/security/memory-safety/bootloader-support

It is only useful on armv8.5+ devices, but there is no separate GSI
image for those.

Bug: 242244112
Test: ls /system/bin/mtectrl
Change-Id: I2696a76d5828007a2db486f41064bcfc0e89ec36
2022-08-25 16:20:34 -07:00
Yifan Hong
9d4741cefb Merge "Set default recovery USB vendor/product IDs." 2022-08-25 18:08:14 +00:00
Hung-ying Tyan
bdce249c63 GSI: add VNDK 33/remove VNDK 28
Bug: 243530456
Test: mix GSI on Android 13 Cuttlefish
Change-Id: I7af784ac6fda2015fa7e9da8cf552755fd74d2e7
2022-08-25 08:11:42 +08:00
Josh Gao
8d0b576af6 Set default recovery USB vendor/product IDs.
Add system properties to let vendors customize the recovery/fastbootd
USB IDs.

Test: `adb reboot fastboot && fastboot wait-for-device && lsusb -d 18d1:`
Change-Id: I70881f27d579dd54371f59a6a76f9b1f80ce9b47
2022-08-17 15:00:48 -07:00
Hung-Wei Chen
a7dfb456a1 Merge changes Ifbcde7da,Icee659ff,I267da2d5
* changes:
  Remove verity.mk, verity_key, PRODUCT_VERITY_SIGNING_KEY
  Remove PRODUCT_SUPPORTS_VERITY(_FEC) reference
  Remove BOOT_SIGNER and PRODUCT_SUPPORTS_BOOT_SIGNER
2022-08-17 03:09:20 +00:00
Rajeev Kumar
6e706d5ef8 Merge "Add per-file OWNERS for Android Go specific files." am: 7cf297a7ed
Original change: https://android-review.googlesource.com/c/platform/build/+/2182777

Change-Id: I21ea85a4d53ae19ca5cbff4f2ef524ba9a5db9d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 18:21:03 +00:00
hungweichen
e3ca398a1e Remove verity.mk, verity_key, PRODUCT_VERITY_SIGNING_KEY
verity.mk is used to set the related variable for VB 1.0 support, but
we already removed VB 1.0. This change removes the unused code. We also
remove and block PRODUCT_VERITY_SIGNING_KEY in this change.

Bug: 241044073
Test: atest under build/make
Change-Id: Ifbcde7da27a931ef3b9d746b1c5a279d88c0ec85
2022-08-11 08:12:58 +00:00
hungweichen
bf11e34897 Remove PRODUCT_SUPPORTS_VERITY(_FEC) reference
PRODUCT_SUPPORTS_VERITY and PRODUCT_SUPPORTS_VERITY_FEC are going to be
deprecated since we removed VB 1.0 support. This change removes the
related references.

Bug: 241044073
Test: atest under build/make
Change-Id: Icee659ff0606cda1ab44e92372d86a394ddf1466
2022-08-11 08:12:58 +00:00
hungweichen
b2dd683421 Remove BOOT_SIGNER and PRODUCT_SUPPORTS_BOOT_SIGNER
These varaibles are going to be deprecated since we removed VB 1.0
support. This change removes the related references. boot.img can be
verified by a AVB 2.0 hash descriptor now.

Bug: 241044073
Test: atest under build/make
Change-Id: I267da2d591525ffc0cabf92791cf66a36ef8ff62
2022-08-11 08:12:58 +00:00
Rajeev Kumar
f852dd7fba Add per-file OWNERS for Android Go specific files.
Bug: N/A
Test: N/A
Change-Id: Idff60019629226119c42906cc832344d6004b688
2022-08-10 20:15:04 -07:00
Yi-yo Chiang
5ea7a5fe86 Merge "Move 'remount' back into 'adbd_system_api'" am: db8b58b2bc
Original change: https://android-review.googlesource.com/c/platform/build/+/2175132

Change-Id: Ib6d66459b16b75285a6be1f08106419616e1a654
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 13:05:00 +00:00
Yi-yo Chiang
db8b58b2bc Merge "Move 'remount' back into 'adbd_system_api'" 2022-08-09 12:47:36 +00:00
Yi-Yo Chiang
0cb64f00f7 Move 'remount' back into 'adbd_system_api'
It was inlined in base_system.mk during the adbd apex bring up phase,
because adbd apex was thought to have broken "required:" dependency.
Now that we have 'adb_system_api' to track the dependencies of adbd, we
can move 'remount' into the phony module.

Bug: 241688845
Test: m adbd_system_api w/ user & userdebug build
Change-Id: I5d7c66c517d5e7022601cc4705a447d5a4ba1be4
2022-08-07 15:52:13 +00:00
Treehugger Robot
8b3e144aac Merge "Disable OMX for 64b_only devices." am: ffa1f0fff0
Original change: https://android-review.googlesource.com/c/platform/build/+/2174762

Change-Id: I342fbb265e234878b3b444fce135ac75ff1cf0e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 01:54:26 +00:00
Arun Johnson
628d5665b1 Disable OMX for 64b_only devices.
bug: 239224744
Change-Id: I14364de9ef7fa3fcd6ce035eb596ac507be3e641
2022-08-03 21:36:41 +00:00
Treehugger Robot
6cae23a562 Merge "Remove TARGET_ENABLE_MEDIADRM_64 from BoardConfigGsiCommon.mk" am: 2c3c189da7
Original change: https://android-review.googlesource.com/c/platform/build/+/2155273

Change-Id: If98201de255b5ec80ea66b7e92042a2d16033a42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-22 14:44:12 +00:00
SzuWei Lin
606904d0b8 Remove TARGET_ENABLE_MEDIADRM_64 from BoardConfigGsiCommon.mk
The setting doesn't affect system image.

Bug: 239141283
Change-Id: I210add4cd76797bd181923ad8ec439cb96d0ac7c
2022-07-15 07:56:48 +00:00
SzuWei Lin
dab11d367d Merge "Support dynamic 64-bit media service" am: aba99adea4
Original change: https://android-review.googlesource.com/c/platform/build/+/2144759

Change-Id: I9b5a60c8630a082e72eb1dc803f50b56ad03a2e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 00:38:17 +00:00
SzuWei Lin
aba99adea4 Merge "Support dynamic 64-bit media service" 2022-07-14 00:20:03 +00:00
Elliott Hughes
3192270f07 Merge "Add support for only starting 64 bit zygote." am: 449986300c
Original change: https://android-review.googlesource.com/c/platform/build/+/2060123

Change-Id: I91a3acd6a55ced408d6f27c3dc8538ae3d929e50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 20:19:00 +00:00
Elliott Hughes
449986300c Merge "Add support for only starting 64 bit zygote." 2022-07-13 19:57:47 +00:00
SzuWei Lin
951279493d Support dynamic 64-bit media service
64-bit GSI requires support both 64_32-bit and 64-bit devices at
the same time. Add a new variable TARGET_DYNAMIC_64_32_MEDIASERVER
to put mediaserver_dynamic.rc into GSI. Which starts 64-bit
mediaserver if ro.zygote is zygote64. Otherwise, it keeps the
original behavior to start 32-bit meidaserver.

Bug: 236664614
Test: make gsi_arm64-user; Check system/etc/init
Test: make gsi_arm-user; Check systen/etc/init
Test: cts-tradefed; run cts-on-gsi -m CtsViewTestCases
Change-Id: I74699ec5fafadcbe78a7fef6d10aaed752cd5afa
2022-07-06 12:06:46 +08:00
Xin Li
05442a9213 Merge tm-dev-plus-aosp-without-vendor@8763363
Bug: 236760014
Merged-In: I1dffeb055a68250f574630d4ef5fedc51bad4a2b
Change-Id: I4e4b6a02fc140a1e38ce533031d7eb0a739396df
2022-06-28 21:23:05 +00:00
William Escande
05a313812b Change Bluetooth apex mountpoint am: 9c2f61119c
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/19038222

Change-Id: I52df88824ab4f24a43c9233e8b81b213eb4bf008
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 10:33:36 +00:00
Almaz Mingaleev
f68794510f Merge "Remove tzdatacheck from system image." 2022-06-23 07:47:26 +00:00
William Escande
9c2f61119c Change Bluetooth apex mountpoint
Apex name has been changed to com.android.btservices
Changing mount point accordingly
Bug: 235892590
Test: Flash / boot bt / look logs & pair a device

Change-Id: I1e32f26c5e2b121391bc85c6b50b2ccdf57ff5de
2022-06-22 13:19:47 -07:00
Oriol Prieto Gascó
c169cbb5cf Merge "Use the btservices apex for bluetooth stack" into tm-dev am: ac0f3f2211
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18985505

Change-Id: Ic881268ffa579d3510c3fd58785d92dfbe415c7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 17:43:24 +00:00
Christopher Ferris
332ed0d5f3 Merge "Remove libbacktrace." am: 4876480992 am: 6507bb0510
Original change: https://android-review.googlesource.com/c/platform/build/+/2128481

Change-Id: Id3caa6c400728b58201335dd0ba3f60174fb75a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 17:43:07 +00:00
Christopher Ferris
4876480992 Merge "Remove libbacktrace." 2022-06-22 17:07:33 +00:00
Chris Wailes
e9c0ef1c39 Merge "Add USAP related system properties" am: 881e3a493f am: 4a1d724df2
Original change: https://android-review.googlesource.com/c/platform/build/+/2043301

Change-Id: I83de0bde75c08382a2af3c8e2857e4ed5d6bc625
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-21 23:08:54 +00:00
Chris Wailes
881e3a493f Merge "Add USAP related system properties" 2022-06-21 22:19:49 +00:00
Treehugger Robot
97b0c167b4 Merge "Delete OneTimeInitializer AOSP app from the makefile." am: 1b89a42778 am: ed0aaca506
Original change: https://android-review.googlesource.com/c/platform/build/+/2128482

Change-Id: I5572f515ae2ad42eaa73bb9d64bc1a5edb543a6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-21 18:09:13 +00:00
Treehugger Robot
1b89a42778 Merge "Delete OneTimeInitializer AOSP app from the makefile." 2022-06-21 17:25:23 +00:00
Oriol Prieto Gasco
bfd1aa30f5 Use the btservices apex for bluetooth stack
Test: TH

Bug: 236187653, 236192423

Change-Id: Id57f3e86f243948d3ea21c6e1a7150ab07c317b5
2022-06-19 23:04:56 +00:00
Raman Tenneti
97c0af9500 Delete OneTimeInitializer AOSP app from the makefile.
Bug: 227214526
Test: presubmit
Change-Id: Id01f3f27a4d97497f1977b2327ff0d8fc52bc359
2022-06-17 15:20:33 -07:00
Christopher Ferris
d496e2a966 Remove libbacktrace.
Bug: 120606663

Test: Builds.
Change-Id: I0ee340f14f05d936272339cf47140202f019ccfb
2022-06-17 14:28:47 -07:00
Chris Wailes
197429ccb0 Add USAP related system properties
Test: Build; flash; set property; check device state
Bug: 161725679
Change-Id: I68fd45de51e20ad696e4a0e3201fb89031e97e5e
2022-06-16 23:39:23 +00:00
Jooyung Han
cdce3c46cc Remove AIDL libs from VNDK libs
The remaining AIDL libs are still in use by other VNDK libs.

Bug: 234181591
Test: m
Merged-In: I234a55f10c01ca1786eb5e6715a75ed72705ca50
Change-Id: I234a55f10c01ca1786eb5e6715a75ed72705ca50
2022-06-14 16:42:19 +09:00
Jooyung Han
58a0f98fc3 Remove AIDL libs from VNDK libs
The remaining AIDL libs are still in use by other VNDK libs.

Bug: 234181591
Test: m
Merged-In: I234a55f10c01ca1786eb5e6715a75ed72705ca50
Change-Id: I234a55f10c01ca1786eb5e6715a75ed72705ca50
(cherry picked from commit be9d1e21f6)
2022-06-14 14:13:22 +09:00
Almaz Mingaleev
be8faafc1c Remove tzdatacheck from system image.
It is part of TZUvA feature, which was superseded by tzdata mainline
module(s).

Bug: 148144561
Test: see system/timezone
Change-Id: I5f67e34e9beb608d3cf3c4c072b268805865f6dd
Merged-In: I5f67e34e9beb608d3cf3c4c072b268805865f6dd
2022-06-13 11:43:56 +00:00
Jiakai Zhang
04ed50089e Merge "Set TARGET_USES_64_BIT_BINDER for mainline_sdk." am: d02946c4c3 am: 21d0333357
Original change: https://android-review.googlesource.com/c/platform/build/+/2121572

Change-Id: I2f895f8dd1ee68f10b0bf92f5af72e88f8be5100
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 10:12:19 +00:00
Jiakai Zhang
f5637f94fe Set TARGET_USES_64_BIT_BINDER for mainline_sdk.
Devices are all using 64 bit binder, and mainline_sdk should too.
According the comment here: https://cs.android.com/android/platform/superproject/+/master:build/make/target/board/BoardConfigMainlineCommon.mk;l=25;drc=6e7693f1597a0934833a72faf35e918dfbdb6ecd,
this flag is required even for non-64 bit devices.

`libbinder` doesn't compile on host with 32 bit binder.

Test: packages/modules/common/build/mainline_modules_sdks.sh \
        --build-platform-sdks-for-mainline --build-release=latest
Change-Id: I357ce42e88ad13ed259d573b9dd2bbfc27b82687
2022-06-10 14:35:53 +01:00
Treehugger Robot
ede72337f8 Merge "Remove fs utilities from init_boot module list" am: fb553d9d41 am: 0b31ec4294
Original change: https://android-review.googlesource.com/c/platform/build/+/2106846

Change-Id: Iffb9d3b831c9d3b2c7e536db45dbf597b56ad29b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 18:56:40 +00:00
Kelvin Zhang
ade034f4e9 Remove fs utilities from init_boot module list
These modules aren't actually marked with "ramdisk_avaible: true",
so including them in the generic ramdisk module list don't do anything.
In addition, the generic ramdisk won't have enough space to store
all these modules, because each static executable would be 1MB in size, and init_boot is only 8MB.

Test: th
Change-Id: I589a43ca07d25ffc03a7b72516b329404a92d694
2022-05-26 18:00:32 +00:00
Anton Hansson
e59bd2aa7c Merge changes from topic "sdk-refactor-tmd" into tm-dev
* changes:
  Slim down the sdk product
  Remove unused dependencies from sdk goals
  Remove notice file for sdk system image
2022-05-26 16:07:25 +00:00
Matt Casey
5ead21266e Remove IntentResolver from build am: 42d97799f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18576967

Change-Id: I7154ce15d7b42d1489289fb2298cfd63b31f2673
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 17:55:16 +00:00
Kelvin Zhang
eca4150271 Merge "Install new snapuserd_ramdisk stem" am: 4117e78575 am: c6abf66e4b
Original change: https://android-review.googlesource.com/c/platform/build/+/2095025

Change-Id: Ib7cb5b7d9083953477d4ac97e82eb364127abc98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 16:27:07 +00:00
Kelvin Zhang
4117e78575 Merge "Install new snapuserd_ramdisk stem" 2022-05-25 15:39:17 +00:00