summaryrefslogtreecommitdiffstats
path: root/templates/feature
diff options
context:
space:
mode:
Diffstat (limited to 'templates/feature')
-rw-r--r--templates/feature/agl-flutter/50_bblayers.conf.inc4
-rw-r--r--templates/feature/agl-flutter/50_local.conf.inc8
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/feature/agl-flutter/50_bblayers.conf.inc b/templates/feature/agl-flutter/50_bblayers.conf.inc
new file mode 100644
index 00000000..baafd005
--- /dev/null
+++ b/templates/feature/agl-flutter/50_bblayers.conf.inc
@@ -0,0 +1,4 @@
+BBLAYERS =+ " \
+ ${METADIR}/meta-agl-devel/meta-agl-flutter \
+ ${METADIR}/external/meta-flutter \
+"
diff --git a/templates/feature/agl-flutter/50_local.conf.inc b/templates/feature/agl-flutter/50_local.conf.inc
new file mode 100644
index 00000000..23bb0ebc
--- /dev/null
+++ b/templates/feature/agl-flutter/50_local.conf.inc
@@ -0,0 +1,8 @@
+# Set Flutter Channel
+FLUTTER_CHANNEL = "dev"
+
+# Build engine with runtime=release
+PACKAGECONFIG:pn-flutter-engine = "embedder-for-target disable-desktop-embeddings fontconfig mode-release"
+
+# Include Flutter SDK in SDK
+TOOLCHAIN_HOST_TASK:append = " nativesdk-flutter-sdk"