Oh also, if you come across a build error on libselinux, this should fix it:
https://github.com/PotatoProject-next/external_selinux/commit/b4177583030e8e6a16f8976c570562d319ce5a1b
Not sure if this is the right thing to do, but it at least gets things going.
https://github.com/PotatoProject-next/external_selinux/commit/b4177583030e8e6a16f8976c570562d319ce5a1b
Not sure if this is the right thing to do, but it at least gets things going.
GitHub
DNM: Fix libselinux inclusions ยท PotatoProject-next/external_selinux@b417758
Change-Id: Ic382c02cb0058e49b9f66118f6ad44c99cb2ae50
Signed-off-by: Kshitij Gupta <[email protected]>
Signed-off-by: Kshitij Gupta <[email protected]>
Most are probably aware, but yeah. Might as well add it here.
Set
add_lunch_combo is deprecated and lunch relies on a build var:Set
COMMON_LUNCH_CHOICES in your AndroidProducts.mk, instead.So, path_interposer will back up the current PATH data to a file in outdir. This is restored when soong is exiting. If you manage to kill soong during the build (or even hit Ctrl+c a bunch of times when it starts exiting from the initial interrupt), you'll be left with the PATH set for the build.
You may also be wondering as to why I'm using the prebuilt make while I'm running instructions against the original path. This is because
path.go will throw an error if I try to build specifying any path tools such as make.Oh also, I should mention, the soong kernel header generator also calls make. Fixed it up now, just need to clean-up and add my path override.
TARGET_OUT_INTERMEDIATE_LIBRARIES has now been removed.We are expected to use per-module intermediate dirs instead.
We'd need to move quite a few things from BoardConfig to product config makefiles
(And yes, I am aware the namespaces are incorrect for beryllium in the screenshot)
PRODUCT_SOONG_NAMESPACES=device/xiaomi/sdm845-common hardware/qcom/audio-caf/sdm845 hardware/qcom/display-caf/sdm845 hardware/qcom/media-caf/sdm845 hardware/qcom/camera vendor/qcom/opensource/data-ipa-cfg-mgr hardware/qcom/gps hardware/qcom/sensors vendor/qcom/opensource/location vendor/qcom/opensource/dataservices hardware/qcom/power hardware/qcom/wlan-caf hardware/qcom/bt-cafhahayes
