Commit graph

8028 commits

Author SHA1 Message Date
Rajeev Kumar
c89772f104 Merge "Add per-file OWNERS for Android Go specific files." into tm-qpr-dev 2022-08-11 23:58:47 +00:00
Rajeev Kumar
646c0e2a46 Add per-file OWNERS for Android Go specific files.
Bug: N/A
Test: N/A
Change-Id: Idff60019629226119c42906cc832344d6004b688
Merged-In: f852dd7fba
2022-08-11 18:04:04 +00:00
Rajeev Kumar
591d2e93fb Get rid of inprocess network stack product packages from Go defaults.
Moved this to gms_base.mk

Bug: 241180471
Fixes: 241180471
Test: atest android.net.EthernetTetheringTest
Change-Id: I4e1b4b99a008a36230a125953a20248208c5c623
2022-08-09 09:07:59 +00:00
Matt Casey
3431ff8bf3 Merge "Revert "Remove IntentResolver from build"" into tm-qpr-dev 2022-08-04 16:35:23 +00:00
Matt Casey
09970c7ee8 Revert "Remove IntentResolver from build"
This reverts commit 42d97799f3.

Reason for revert: Resuming unbundled sharesheet development

Bug: 241104067
Change-Id: I4f62185350d71621291f71d70fa63793d31a4706
2022-08-02 15:51:59 +00:00
Hsiu-Chang Chen
0f03267c95 wlan: Update the path of wpa_supplicant_8_lib for qcom
Modify the path because we create another wifi_hal and
change the file structure.

Bug: 213413875
Bug: 239783932
Change-Id: I4c58c756820ee2d5e7918427a4a64b96db7c46be
Test: Regression Test
2022-07-22 03:05:26 +00:00
Christopher Ferris
33f695bd3c Add support for only starting 64 bit zygote. am: 5a564d837c
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/19272311

Change-Id: Idbe2fd2b5f32bc4d5f66c900b9085951e5fa1416
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 00:55:06 +00:00
Christopher Ferris
5a564d837c Add support for only starting 64 bit zygote.
Added code to support a single system image that can start the
64 bit zygote only, or both the 64 bit and 32 bit zygote. By
default, the system will default to 64 bit only.

For this image, all abilist properties are only present in the
vendor partition. All other copies of these properties are deleted.

Bug: 227482437

Test: Verified that secondary doesn't start with same disk image
Test: with ro.zygote set to zygote64 and abilists set appropriately.
Test: Verified that secondary does not start when restarting netd.
Test: with ro.zygote set to zygote64_32 and abilists set appropriately.
Test: Verified that secondary does start when restarting netd.
Test: Verified that a 64 bit device only starts the primary.
Test: Verified that a 32 bit device only starts the primary.
Change-Id: Ifc6413cecc4df8ba041699f7d0b10786d1926d64
Merged-In: Ifc6413cecc4df8ba041699f7d0b10786d1926d64
2022-07-13 20:01:23 +00:00
William Escande
0f9241cd5c Change Bluetooth apex mountpoint am: 9c2f61119c am: 1f82bb50c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/19038222

Change-Id: I95d1175218bc14c6203a37f6a7a878a6b4ff4bae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 10:51:31 +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ó
003fdb547b Merge "Use the btservices apex for bluetooth stack" into tm-dev am: ac0f3f2211 am: e0d52fdf27
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18985505

Change-Id: I7bc170b208a489bc67bc3faab4865e23884c81af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 18:12:30 +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
Anton Hansson
ee23802f2d Merge changes from topic "sdk-refactor-tmd" into tm-dev am: e59bd2aa7c am: 8664fe16af
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18598732

Change-Id: I3b9ff3cd04bac5adba291b4d75cfd20522a04323
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 17:15:34 +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
f7405dfbb7 Remove IntentResolver from build am: 42d97799f3 am: 4f3af35d5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18576967

Change-Id: I2e47870909ef14768aff0654dd081ea38c8e3681
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 18:24:53 +00:00
Anton Hansson
28f089d9b0 Slim down the sdk product
The sdk_phone_armv7 product is designed to build system images, which
adds unnecessary dependencies and enables unnecessary checks (such as
verifying dexpreopt artifacts).

Bug: 205008975
Test: m sdk sdk_repo dist && diff android-sdk.zip (only build.prop diffs)
Merged-In: I940655c39a3ae58839521416abafaf461df44921
Change-Id: I940655c39a3ae58839521416abafaf461df44921
2022-05-25 13:16:15 +00:00
Matt Casey
42d97799f3 Remove IntentResolver from build
Not currently in use, need some allowlisting before we can launch with
in the build.

Bug: 233468811
Bug: 215295976
Test: Run sharesheet, presubmits.
Change-Id: I1bafa1d4f6c10b88f7b758983f8f8f457463901a
2022-05-24 16:24:34 +00:00
Remi NGUYEN VAN
8d0d110ad1 Merge "Use non-next NetworkStack" into tm-dev am: 7c87090ec4 am: d03d150174
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18331684

Change-Id: I9d2b21745f05c3f6fd3bd9f05fea4d7c0c86ef4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-17 05:23:37 +00:00
Remi NGUYEN VAN
7c87090ec4 Merge "Use non-next NetworkStack" into tm-dev 2022-05-17 04:23:45 +00:00
Omer Osman
f5c99419e0 Merge "Update VNDK core to link to BT Audio HAL V2 library" into tm-dev am: 2551027046 am: d69b8824ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18112478

Change-Id: Ieef2443289592afa52a70d1406af00839ab4e3b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 17:54:35 +00:00
Omer Osman
2551027046 Merge "Update VNDK core to link to BT Audio HAL V2 library" into tm-dev 2022-05-13 16:54:28 +00:00
Ken Chen
73c1e623d8 Merge "Delete com.android.cronet from base_system" into tm-dev am: 4303e12b3e am: 33343af937
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18180369

Change-Id: I94e8a9f397d1b40dfec6a70a83d4dc2459196ba3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 03:33:05 +00:00
Ken Chen
85998a4a61 Delete com.android.cronet from base_system
No concrete plan to ship Cronet for now

Merged-In ID is from an unrelated change in this project that happens to be merged into branches downstream of tm-dev.

Bug: 230548501
Test: TH
Merged-In: Ifc6051cd9422b3f5c52322833d9a7f5e8263f857
Change-Id: I0ee3418a0def50a61251af665fbded869e0329e7
2022-05-12 13:53:26 +00:00
Remi NGUYEN VAN
8f559e099d Use non-next NetworkStack
NetworkStack now builds against stable T APIs, so T can use
the stable binaries instead of the "next" versions.

Since it has just been bumped, NetworkStack is equivalent to
NetworkStackNext at this point, so this is a no-op.

This change should not go into development branches using unstable SDKs
(including aosp/master downstreams), as per the merged-in.

Bug: 216396304
Test: m
Merged-In: I12348bd913f724c4675177ce6cdf582948d9d03c
Change-Id: I8788c5af37c862e9a74cc140d1dc917fb15ec5a9
2022-05-12 13:20:51 +09:00
Omer Osman
d047f6968a Update VNDK core to link to BT Audio HAL V2 library
Bug: 226441860
Test: A2DP sink device using bds-dev
Change-Id: Ib6dee1dbe7ef74762ca3a2b8d3382a76e6f5f005
2022-05-08 06:46:01 +00:00
Yurii Zubrytskyi
ff791c12ce platform/build/make - T is now 33 #2 am: a84dc6cb63 am: b2795d9a5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/18083390

Change-Id: I3ce1fd2760e346c2d7d0641526daeb41a1f320fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-02 18:45:06 +00:00
Jiyong Park
168e41f422 Updated vndk list am: 0b2eb8f45e am: e2be159d72
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/17983683

Change-Id: Iacd68a50650a2fe578987b83f3e5581a25321fbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 18:52:12 +00:00
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
4be2f5add7 Merge "Enable CFI for SYNA wpa_supplicant_8" into tm-qpr-dev 2022-04-25 04:19:38 +00: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
normanwhl
b321737c6c Enable CFI for SYNA wpa_supplicant_8
Since the wpa_supplicant_8 has enabled cfi, the
static lib that it uses should enable cfi, otherwise
there will be runtime crashes.

Bug: 225784334
Test:
lunch tangor-userdebug
m -j
run the image on the tangotron and wpa_supplicant should
not crash with cfi failures.

Change-Id: I17384a47c66cf9385cbb41ad0c0786907ce2f28c
2022-04-20 03:33:16 +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