Skip to content

Commit

Permalink
flutter-engine: export HOME for dart
Browse files Browse the repository at this point in the history
Set the HOME variable to point to the WORKDIR to prevent any issues with
dart runtime configs and cache. Required because of:

dart-lang/sdk#41560

Signed-off-by: Randolph Sapp <rs@ti.com>
  • Loading branch information
StaticRocket committed Nov 25, 2024
1 parent 2d0198c commit 09393d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes-graphics/flutter-engine/flutter-engine_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ do_configure() {
do_configure[depends] += "depot-tools-native:do_populate_sysroot"

do_compile() {
# required for dart: https://github.com/dart-lang/sdk/issues/41560
export HOME=${WORKDIR}

FLUTTER_RUNTIME_MODES="${@bb.utils.filter('PACKAGECONFIG', 'debug profile release jit_release', d)}"
bbnote "FLUTTER_RUNTIME_MODES=${FLUTTER_RUNTIME_MODES}"
Expand Down

0 comments on commit 09393d8

Please sign in to comment.