1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

[FL-3629] fbt: SD card resource handling speedup (#3178)

* fbt: reduced size of resources dependency graphs, resulting in faster build task evaluation
* lib: flipper_app: fixed error message & error handling for plugins
This commit is contained in:
hedger
2023-10-31 15:27:58 +04:00
committed by GitHub
parent 9af81ce8d0
commit bbe68d6ffc
4 changed files with 74 additions and 56 deletions

View File

@@ -148,15 +148,11 @@ if env["IS_BASE_FIRMWARE"]:
)
fw_artifacts.append(fw_extapps.sdk_tree)
# Resources for SD card
resources = fwenv.ResourcesDist(
_EXTRA_DIST=[fwenv["DOLPHIN_EXTERNAL_OUT_DIR"]],
)
# Resources & manifest for SD card
manifest = fwenv.ManifestBuilder(
"${RESOURCES_ROOT}/Manifest",
source=resources,
GIT_UNIX_TIMESTAMP=get_git_commit_unix_timestamp(),
_EXTRA_DIST=[fwenv["DOLPHIN_EXTERNAL_OUT_DIR"]],
)
fwenv.Replace(FW_RESOURCES_MANIFEST=manifest)
fwenv.Alias("resources", manifest)