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
Loading
Please register or sign in to comment