Commit graph

7999 commits

Author SHA1 Message Date
Yurii Zubrytskyi
a84dc6cb63 platform/build/make - T is now 33 #2
update the api surface after some late fixes

Bug: 225745567
Test: Build
Change-Id: I5f14776ddb1d042c77ec4ea0fab0e25b4a89a4a1
2022-04-28 15:18:03 -07:00
Jiyong Park
0b2eb8f45e Updated vndk list
The recent freeze of android.hardware.[light|power] is reflected.

Bug: 17983786
Test: m nothing
Change-Id: I72ad4891b6afc30ccfc7ac87a1e86fb77827bedb
2022-04-28 10:38:39 +09:00
Treehugger Robot
df0327b8ad Merge "Add boot AVB key setting to GSI" am: f9fcd028df am: d02479f849 am: 7ab456ee2a
Original change: https://android-review.googlesource.com/c/platform/build/+/2068887

Change-Id: Ic62f5c94f4159e5442204ccc11d9aa1865d2d132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 20:18:43 +00:00
SzuWei Lin
97064c53ff Add boot AVB key setting to GSI
Signing tool assumes GSI targets has boot.img and get error without
these settings.

Bug: 229814765
Change-Id: I1e8e7f6375e396e1c2feb858b97e7d27dc5a2dec
2022-04-20 07:20:45 +00:00
satayev
ae590a3b02 Remove sepolicy module from system image.
Attempt #2. Previous attempt didn't remove precompiled sepolicy from
system image, which lead to 1s boot time regression. This is not being removed in the topic.

Include merged-in tag, to skip git_master revert.

Bug: 199914227
Test: presubmit and manual verification
Merged-In: Iafe242c8c7122174788215a02e03c8903316a223
Change-Id: Idea61f53411c541b06d74883711d633b822316d6
2022-04-14 12:26:01 +00:00
Yurii Zubrytskyi
97191b2095 platform/build/make - T is now 33
Bug: 225745567
Test: Build
Change-Id: If115998c2ef9ef58329faa937e11d673f5585aab
2022-04-12 12:47:25 -07:00
Treehugger Robot
fdfbd833eb Merge "Non-module targets." am: ff15a27bd7 am: 7c30a61bc6 am: 6687e127b0
Original change: https://android-review.googlesource.com/c/platform/build/+/2055031

Change-Id: I5a6aa6499b4c39a8933ffee3d622023f2e8e0bf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 20:43:09 +00:00
Treehugger Robot
ff15a27bd7 Merge "Non-module targets." 2022-04-11 19:42:29 +00:00
SzuWei Lin
c9d8f2dde1 Merge "Support building EROFS for GSI targets" am: 36fc586e07 am: f1d3b2638b am: f68f5fd173
Original change: https://android-review.googlesource.com/c/platform/build/+/2052705

Change-Id: If425b06759d9c0a3f179ad34cf59818945c9569c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 09:49:02 +00:00
Bob Badour
3a0f0c157e Non-module targets.
Bug: 151177513
Bug: 213388645
Bug: 210912771

Test: m droid dist reportmissinglicenses

Change-Id: Ia7cddef9748f6c036a2fc7539dad717ebc131f7c
2022-04-07 22:03:29 -07:00
SzuWei Lin
0c791bedb4 Support building EROFS for GSI targets
The EROFS is planned to replace the ext4 as the file system format
of readonly partitions. This patch is enabling the ability to
build GSI with EROFS. The usage is

  $ GSI_FILE_SYSTEM_TYPE=erofs make -j

Bug: 227552340
Test: lunch gsi_arm64-user; GSI_FILE_SYSTEM_TYPE=erofs make -j
Test: Verify the file system format of system.img
Change-Id: Ie815002c677d099c4db0ab7ca22db16ac6123659
2022-04-07 07:11:24 +00:00
Zach Johnson
ecc1a4b3e8 Merge "Copy com_google_android_bluetooth_services certs for sepolicy" into tm-dev 2022-04-07 00:45:19 +00:00
Jiyong Park
7d31be765b Update VNDK libraries list after the API freeze for TM
Bug: 225941299
Test: m
Change-Id: I13c91e2fbaef79c5016f32d4cdc7cce8f262894e
2022-03-31 11:08:39 +09:00
Treehugger Robot
6d9c577359 Merge "Build modules from source for module products." am: 06f7176fc6 am: cbe2b0a7a9 am: f1d08ac906
Original change: https://android-review.googlesource.com/c/platform/build/+/2020203

Change-Id: Ic402f43b7ab810dc7a7039dcdd816e211c4ffee4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 21:44:01 +00:00
Roopa Sattiraju
a2411e4b68 Copy com_google_android_bluetooth_services certs for sepolicy
BUG: 226403247
Test: TH
Change-Id: I6cf4e9fa1f2e5a2e628f10b1e734b2a8c8df61fc
2022-03-30 12:53:40 -07:00
Martin Stjernholm
47dcbeaefb Build modules from source for module products.
This overrides the branch default
(BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE) if it is set to use
prebuilts.

Test: build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE
  returns false with BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE:=false
  in internal
Test: env TARGET_PRODUCT=module_arm64 \
      build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE
  returns true with BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE:=false
  in internal
Test: env TARGET_PRODUCT=mainline_modules_x86 \
      build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE
  returns true with BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE:=false
  in internal
Test: env TARGET_PRODUCT=redfin \
      build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE
  returns false with BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE:=false
  in internal
Bug: 222723757
Change-Id: I0faea006b0e95eff40bbfbe00cc74ba5985beeba
2022-03-30 18:16:51 +01:00
Treehugger Robot
d95ab2b792 Merge "Remove snapuserd from vendor ramdisk" am: 4f3937ac74 am: a0041bba5e am: 6f829843e1
Original change: https://android-review.googlesource.com/c/platform/build/+/2042523

Change-Id: Iae6550ed9f1ecb0dda4c8b390e184004ebf7812a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 02:47:10 +00:00
Etienne Ruffieux
0d0b1d8a8c Merge "Removing audio defaults from platform" into tm-dev 2022-03-25 00:27:37 +00:00
Kelvin Zhang
8a7277df41 Remove snapuserd from vendor ramdisk
When BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT is set,
snapuserd.recovery will be installed to vendor ramdisk, which we don't
want. To remove snapuserd from vendor ramdisk, remove
snapuserd.recovery. And only include it if dedicated recovery partition
is enabled. For non-dedicated recovery case, boot partition contains
snapuserd.

Test: th
Test: acloud create --local-image --local-instance, install OTA, reboot
Change-Id: Ib8173f68a1f43b736fe609977a36ad4851e0c367
2022-03-24 10:43:37 -07:00
Etienne Ruffieux
5be591a6f6 Removing audio defaults from platform
Audio defaults have a lot of dependencies, and to reduce
the number of libs exposed in platform we need to remove
these audio defaults.

Bug: 220306859
Test: atest
Tag: #feature
Change-Id: Iee2e347e6dceec4232e408145e97024476744455
2022-03-22 10:41:09 +00:00
Treehugger Robot
00ba4d5ea0 Merge "Remove iorapd from base product packages" 2022-03-22 04:09:42 +00:00
Treehugger Robot
b132c85eed Merge "Re-land "Enable CFI for Bluetooth in new home"" am: f16854d5f8 am: 670f673ec1 am: 7022c5a63e
Original change: https://android-review.googlesource.com/c/platform/build/+/2030703

Change-Id: I57e265aaf5f47ceb6891d9481822e9750d4d7613
2022-03-21 15:51:13 +00:00
Treehugger Robot
f16854d5f8 Merge "Re-land "Enable CFI for Bluetooth in new home"" 2022-03-21 15:02:11 +00:00
Treehugger Robot
ed21d0f56a Merge "Roll-forward the VNDK snapshot list of GSI to 32" 2022-03-18 09:09:35 +00:00
Yi-yo Chiang
1d7c7f674e Roll-forward the VNDK snapshot list of GSI to 32
Bug: 216414337
Test: Presubmit
Merged-In: Ic6cec82357cec8f4ad7bee62a4eaf2f7685b730f
Change-Id: I76026d6f518c51966bc652eeb617b61967af77a7
2022-03-18 04:50:48 +00:00
Myles Watson
d0a9ac08b9 Re-land "Enable CFI for Bluetooth in new home"
This reverts commit 2b0dd3bcbd.

Reason for revert: Fix landed at CL # 2029417
Bug: 221893030
Test: cert/run
Tag: #gd-refactor

Change-Id: I22799c8f898233851a5f2ae54add8e4f71541c94
2022-03-17 16:44:06 +00:00
TreeHugger Robot
7f18d8899b Merge "Revert "Remove sepolicy module from system image."" into tm-dev 2022-03-17 16:22:25 +00:00
Bram Bonné
ce8629fdbf Merge "Cherry pick sdk_sandbox dev keys." 2022-03-17 12:31:30 +00:00
Jeffrey Vander Stoep
9351a0be47 Revert "Remove sepolicy module from system image."
This reverts commit 4a829c5407.

Reason for revert: b/224844224

Change-Id: I6e9a74dffd5832807e498251899c580599f31b95
2022-03-17 10:34:23 +00:00
Yi-yo Chiang
278cdbc75e Roll-forward the VNDK snapshot list of GSI to 32
Bug: 216414337
Test: Presubmit
Change-Id: Ic6cec82357cec8f4ad7bee62a4eaf2f7685b730f
2022-03-17 05:34:43 +00:00
Beth Thibodeau
df463b64d0 Merge "Revert "Enable CFI for Bluetooth in new home"" am: cdd28862c3 am: 64cfe91ace am: 51cbf7ea12
Original change: https://android-review.googlesource.com/c/platform/build/+/2028833

Change-Id: Ib6ee2ed6b66e58a75dbd091b1f259276e00bd811
2022-03-17 02:48:21 +00:00
Beth Thibodeau
cdd28862c3 Merge "Revert "Enable CFI for Bluetooth in new home"" 2022-03-17 00:49:07 +00:00
Beth Thibodeau
2b0dd3bcbd Revert "Enable CFI for Bluetooth in new home"
This reverts commit 6c7cce123c.

Reason for revert: DroidMonitor: Potential culprit for b/225059300 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted

Change-Id: I0f790404ba95ec2ba343c31faa58f4eb7c198758
2022-03-17 00:21:02 +00:00
Treehugger Robot
8fd1b87afe Merge "Enable CFI for Bluetooth in new home" am: 21b35496ee am: 1eb525078b am: 5b70644ea6
Original change: https://android-review.googlesource.com/c/platform/build/+/2028706

Change-Id: Ib2181e86994b6103f6d16715992365fc401cc37a
2022-03-16 21:17:25 +00:00
Treehugger Robot
21b35496ee Merge "Enable CFI for Bluetooth in new home" 2022-03-16 20:34:04 +00:00
Myles Watson
6c7cce123c Enable CFI for Bluetooth in new home
Bug: 221893030
Test: cert/run
Tag: #gd-refactor
Change-Id: I34d8749d200de04b68f7ad9bd5b49b06dddc7841
2022-03-16 10:03:23 -07:00
Patrick Rohr
33b6aaff5e Merge "Remove ethernet-service jar dependency." 2022-03-16 16:03:30 +00:00
Bram Bonne
029dffaf72 Cherry pick sdk_sandbox dev keys.
Test: make, boot

Bug: 224796470
Bug: 203670791
Bug: 220320098

Merged-In: Ib0cdf7786c7f74cf294c54187649114e8ec6d315
Merged-In: I3f757c7e3e81c2ac31cd623eae68f7778bf3bafa
Change-Id: I70d6a745b8b2fc9ba68791caae2e83f8eb74c645
2022-03-16 15:39:41 +01:00
Treehugger Robot
7003c45166 Merge "Remove GKI from gsi_$arch" am: 9fee6befad am: 9b0c214673 am: 197e0be8ef
Original change: https://android-review.googlesource.com/c/platform/build/+/1936198

Change-Id: Id62f2a0f140183f1b2c767f1d097a0d434bad114
2022-03-16 08:41:49 +00:00
Treehugger Robot
9fee6befad Merge "Remove GKI from gsi_$arch" 2022-03-16 07:07:46 +00:00
Xiao Ma
2d498b0277 Merge "Remove ethernet-service jar dependency." into tm-dev 2022-03-16 03:47:23 +00:00
Xiao Ma
cb1e69c3bf Remove ethernet-service jar dependency.
ethernet service source code is going to be moved into Connectivity
mainline module, and start the ethernet service from the module. The
old ethernet-service lib will be deprecated, remove it from soong
build rule.

Bug: 210586283
Test: m
Change-Id: Iae154ca3462e76b7e0af7172d424f36dece63531
Merged-In: I19d517cac28c18c70b8dad979ecbfe3fb6d26902
2022-03-16 00:54:09 +00:00
Colin Cross
7ee2eaaf79 Use single module for clang runtime libraries
The clang prebuilts now provide a single module with per-architecture
variants instead of a module per architecture.

Bug: 220019988
Test: m checkbuild
Change-Id: Ie01cbca9cee73bf39ed54eca306d45f0bd4f3867
Merged-In: Ie01cbca9cee73bf39ed54eca306d45f0bd4f3867
2022-03-15 13:14:53 -07:00
satayev
4a829c5407 Remove sepolicy module from system image.
Bug: 199914227
Test: presubmit
Merged-In: If091dcea78358d024892533b734882274c2ea9a3
Change-Id: I02272bffa3abf2b7514eac1c917cda1f04b7e7da
2022-03-15 14:47:03 +00:00
Xiao Ma
3621c8ced8 Remove ethernet-service jar dependency.
ethernet service source code is going to be moved into Connectivity
mainline module, and start the ethernet service from the module. The
old ethernet-service lib will be deprecated, remove it from soong
build rule.

Bug: 210586283
Test: m
Change-Id: I19d517cac28c18c70b8dad979ecbfe3fb6d26902
2022-03-15 22:52:53 +09:00
Treehugger Robot
b3e4a2613b Merge "Split VABC into two .mk files" am: 344245b278 am: a7393ae928 am: 7151415278
Original change: https://android-review.googlesource.com/c/platform/build/+/2015629

Change-Id: I7d91b4168ae651b462f341eec98db76d858fbd0f
2022-03-14 21:10:44 +00:00
Treehugger Robot
7151415278 Merge "Split VABC into two .mk files" am: 344245b278 am: a7393ae928
Original change: https://android-review.googlesource.com/c/platform/build/+/2015629

Change-Id: I3853cfa64f062ee48b1f4c7169c2a5672fa7645a
2022-03-14 20:42:23 +00:00
Eric Jeong
5c55d72c6b Remove iorapd from base product packages
- iorapd is being removed.
- So, it cannot be installed.

Bug: 211461392
Test: build okay
Change-Id: I17491f42ca7a0b73de0b3a3c588a90c8e3e3f3e9
Merged-In: I17491f42ca7a0b73de0b3a3c588a90c8e3e3f3e9
(cherry picked from commit 4c0ac42c06)
2022-03-14 10:29:07 -07:00
Kelvin Zhang
ecdfb79033 Split VABC into two .mk files
1. android_t_baseline.mk enables baseline features, such as io_uring,
   userspace merge, etc. But sets compression method to none. T
   launching devices should include this. It also moves snapuserd from
   vendor_ramdisk to init_boot
2. To add compression, set PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD to
   gz/brotli

Test: th
Bug: 219841787

Change-Id: I6ae4d951b0a64f142acd4c152ce96375d47ecf74
2022-03-14 09:31:47 -07:00
Treehugger Robot
b06f01b9ed Merge "Add snapuserd/e2fsprogs/f2fs-tools to init_boot partition" am: f99d7e96e3 am: e104a7024b am: 0e9776beab
Original change: https://android-review.googlesource.com/c/platform/build/+/2018336

Change-Id: I56cc6486531b5992d51374d4ee571682674314fd
2022-03-10 12:32:16 +00:00