Skip to content

Commit

Permalink
BUILDING: No need to cherry-pick Pie audio patch anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
JamiKettunen committed Dec 15, 2019
1 parent 11ee4b8 commit 4690dac
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,6 @@ If this is your first time building, execute the following line to finalize the
HA_BUILD $ hybris-patches/apply-patches.sh --mb && . build/envsetup.sh && breakfast $DEVICE && export USE_CCACHE=1
```

Next up apply the following `libhybris` patch to get working audio on the port:
```
HA_BUILD $
cd external/libhybris/libhybris/
git remote add krnlyng https://github.com/krnlyng/libhybris
git fetch krnlyng
git cherry-pick a4fce79659ed18dd685f89cd55cf30206115b0da; cd -
```

**NOTE:** It's possible and **required before syncing again** to use `repo sync -l` to reset your cloned repos to their pre-patch states, however at the cost of losing **any and all** local-only changes!

## Building HAL parts
Expand All @@ -65,8 +55,7 @@ HA_BUILD $ mka hybris-hal
```
echo "MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE := 1" > external/droidmedia/env.mk
sed "s/Werror/Werror -Wno-unused-parameter/" -i frameworks/av/services/camera/libcameraservice/Android.mk
mka droidmedia
mka audioflingerglue
mka droidmedia audioflingerglue
```

During the `hybris-hal` build process `hybris-*.img` boot images in `out/target/product/$DEVICE/` will be generated. When kernel and other Android side changes are done afterwards the image can be regenerated using:
Expand Down

0 comments on commit 4690dac

Please sign in to comment.