Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6b3bed84 authored by William Escande's avatar William Escande
Browse files

Modify apex_available to Bluetooth apex

Bluetooth apex name has changed from com.android.btservices to
com.android.bt. We now need to update the reference in the code.


for i in `fd Android.bp`
do
  perl -i -0pe "s/(apex_available: \[[^\]]*\")com.android.btservices(\"[^\]]*])/\1com.android.bt\2/g" $i # to replace btservices by bt
  perl -i -0pe "s/apex_available: \[\n *\"com.android.bt\",\n *\],/apex_available: [\"com.android.bt\"],/g" $i # to reduce the 3 lines into 1 when bt is the only apex available
done

Bug: 383863941
Flag: Exempt build infra
Test: m .
Change-Id: Ib9a8e1f5d4b31edbfd66273b09e45329a0122508
parent f7903793
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment