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
